Getting List of Scripts from FastScripts
  • Does FastScripts have an AppleScript way of getting the names of all the files in its menu into a script for further processing or should I just attack the /Library/Scripts Folder itself in the Finder? (Not clear from Dictionary)
  • FastScripts doesn't currently expose its script hierarchies through AppleScript. I think it's a great suggestion and I'll work on it for an upcoming release.
  • That would be great. What I have in mind is a search tool for my scripts (AppleScript, of course) and first, I have to get the names of them all.

    Using Jon's Commands, this works:

     set TextOfScript to (load script myFile) as text

    -- Jon's Commands does the coercion from script to text; load script is in Standard Additions.
Start a New Discussion

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!