> In each instance either Revolution or the Standalone App come to the > front but the script is not run. > Am I missing the obvious here? > Is do script working? I tried this in 2.9 and 3.0
Thomas, I'm checking 3.0, and it seems to be OK for me in the IDE... here's what I did: In Script Editor: tell application "Revolution" activate 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 and answered "Hello". One thing I *did* notice, though, was that if there was a Script Editor window open in the Rev IDE, even if it wasn't the frontmost window, Rev 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 script editor is open. As to your standalone, you should verify that after you build your standalone that there is a file called <yourAppName>.rsrc inside the application bundle in Contents/Resources. So If your app was named "MyApp", the path from the bundle should be: MyApp.app/Contents/Resources/MyApp.rsrc Also, the Info.plist in the bundle, at: MyApp.app/Contents/Info.plist should have this in it: <key>NSAppleScriptEnabled</key> <string>YES</string> If both of these things check out, we'll have to "go deep"... :-) If it's not there, or it's not named the same as your application, it won't > > > > Thanks Tom McGrath > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
