<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#330000">
<span id="IDstID">Positive. I just want to type script in a friendly
environment like TextMate, where keywords are highlighted while
typing, not as in AppleScript Editor with highlights after run.
But unfortunately Command-Option-B didn't help neither. "syntax
error: expected end of line but found identifier" occurred. <br>
But thanks though.<br>
<br>
On Mon, 14 Feb 2011 09:13:13 -0800, Dru Kepple wrote:</span>
<blockquote
cite="mid:590E5723-20DC-4541-A03C-0F0C81DE69CB@summitprojects.com"
type="cite">
<pre wrap=""><blockquote type="cite"><pre wrap="">On Feb 14, 2011, at 2:12 AM, Kaster Might wrote:
I'm trying to create simplest applescript with dialogbox but textmate shows the error message
Execution Error: No user interaction allowed.
although everything is ok when launching by applescript editor.
</pre>
</blockquote>Are you creating an AppleScript file, then hitting Command-R to run it? That will basically run your file through osascript, which is the command-line script executor. And it doesn't permit user interaction, like with display dialog. You might try Command-Option-B, which compiles the script in Script Editor, which will probably take the allure of editing in TextMate away, but it might give you what you're after.
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Kaster Might</pre>
</body>
</html>