Retrieve function array from Script Object
Retrieve function array from Script Object
- Subject: Retrieve function array from Script Object
- From: 55 Ewan McDougall <email@hidden>
- Date: Tue, 13 Jun 2006 13:22:48 +0100
Hello,
Is there a standard way to retrieve a list of functions from a script object. Or do you have to do something like this
script MyScript
--properties property functions : {"takeYourHatOff","spinAround","takeATurn"}
--functions
to takeYourHatOff() --do something end takeYourHatOff
to spinAround() --do something end spinAround
to takeATurn() --do something end takeATurn
end script
//new script
set ss to load script alias <script alias> set functionList to (get functions of MyScript of ss)
cheers,
ewan |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden