applescript "do script"
JimAultWins at yahoo.com
Fri Sep 19 14:08:04 CDT 2008
Try this version and see what you get in Script Editor
put "Hello" into msg
return "got it in Rev"
My 'answer Hello' script worked fine repeatedly in 2.9 on OSX 10.5.4.
On 9/19/08 8:43 AM, "Thomas McGrath III" <3mcgrath at comcast.net> wrote:
> Thanks for getting back so quick. Forgetting the standalone for now, I
> opened 3.0 then created a news stack, opened the stack script and
> entered the script you did, then opened AS and entered the script you
> had there. RR comes to the front but no script executes. i.e. no
> answer dialog pops up...
> But if I change the do script to
> do script "beep"
> it does beep
> On Sep 19, 2008, at 11:25 AM, Ken Ray wrote:
>> Thomas, I'm checking 3.0, and it seems to be OK for me in the IDE...
>> what I did:
>> In Script Editor:
>> tell application "Revolution"
>> do script "testIt"
>> end tell
>> In Revolution, in a brand new stack, I set the stack script to:
>> on testIt
>> answer "Hello"
>> end testIt
>> I switched to Script Editor and ran the script, and it activated Rev
>> answered "Hello".
>> One thing I *did* notice, though, was that if there was a Script
>> window open in the Rev IDE, even if it wasn't the frontmost window,
>> would only activate and wouldn't execute the appleScript. I'm
>> assuming this
>> is due to some frontscript that the Rev IDE is implementing when the
>> editor is open.
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
More information about the use-livecode