[TxMt] Re: Creating AppleScript
Dru Kepple
dru at summitprojects.com
Mon Feb 14 17:13:13 UTC 2011
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.
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.
More information about the textmate
mailing list