• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Retrieve function array from Script Object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Retrieve function array from Script Object
      • From: Emmanuel <email@hidden>
  • Prev by Date: Resetting the keyboard/input devices
  • Next by Date: Re: Retrieve function array from Script Object
  • Previous by thread: Resetting the keyboard/input devices
  • Next by thread: Re: Retrieve function array from Script Object
  • Index(es):
    • Date
    • Thread