Run AppleScripts via system services

Jan 21, '03 09:42:54AM

Contributed by: DougAdams

Apple's Script Editor 2.0 for OS 10.2.3 has support for Application Services. Basically, you can hilight some valid AppleScript text in any supporting application (like Safari, for instance) and

  1. execute the script [or]
  2. get the result of the script [or]
  3. put the text into Script Editor.
My website posts valid examples of AppleScripts, and using the Script Editor Service, visitors can see the code in action immediately. Of course, like any great innovation (fire, atomic fission, et al), this technique must be used with Great Care. If you don't know what you are doing you could easily fire off a script that deletes your hard drive!

Comments (1)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030121064254140