Apple scriptable standalones

Frank D. Engel, Jr. fde101 at fjrhome.net
Thu Dec 2 17:55:55 EST 2004


Making a little progress here, but can anyone tell me how to return a 
boolean value to AppleScript using Rev's "reply" command?  I can't seem 
to get this to work.

I tried things like "reply false" and "reply 0" but this did not work.

Or is there a different command for replying with boolean values?

On Nov 21, 2004, at 6:39 PM, Sarah Reichelt wrote:

> I haven't tried this but I think that when you send an AppleScript 
> command to your application, it creates an AppleEvent message with 
> class = "misc" and ID = "dosc". If you have an AppleEvent handler in 
> your heirarchy, it can check for "dosc" events, use "request 
> appleEvent" to find out what data is being sent, and then "do" the 
> script. As Klaus suggested, the command sent should be the name of a 
> handler in your message hierarchy, preferably in the mainStack's stack 
> script.
>
> However this doesn't help with an AppleScript dictionary. Looking in 
> the application bundle for Apple's Mail, I see several files that look 
> promising. They have extensions of "scriptSuite" and 
> "scriptTerminology" and are pList files i.e. XML. You would have to 
> examine the structure to work out how to construct your own dictionary 
> for your app.
>
> Cheers,
> Sarah
>
> On 20 Nov 2004, at 6:04 pm, william griffin wrote:
>
>> Out of curiosity I decided to build a standalone and see
>> what effects Applescript could have on it.
>>
>> Script edit gave me an error as soon as I compiled this:
>> tell application "iGame3d"
>> do script "quit"
>> end tell
>>
>> So I went looking for the dictionary and there was none.
>>
>> How does one provide a dictionary for a rev standalone?
>>
>> I went digging through it in the revolution application folder
>> and package but no clue can be found.
>>
>> Mr Bill
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list