• 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
Script Menu script to open dictionaries by name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script Menu script to open dictionaries by name


  • Subject: Script Menu script to open dictionaries by name
  • From: "Neal A. Crocker" <email@hidden>
  • Date: Sun, 1 Sep 2002 15:07:45 -0700

Hi.

Many people on this list who are primarily using Script Editor have expressed some frustration with the effort involved in opening dictionaries. Since I am similary frustrated, I wrote a vanilla applescript that may be installed in the Script Menu to open application dictionaries by application name when invoked. I have posted it to http://homepage.mac.com/nealackercrocker/FileSharing.html. It also opens scripting additions by name and offers a list of recently opened dictionaries of which you may choose one or more to open. To open application disctionaries using only the app name, it takes advantage of the way Applescript will resolve 'path to application "foobar"' to an alias to the application file of foobar, which then may be opened by telling Script Editor to open the alias or telling Finder to open the alias using Script Editor. To open scripting addition dictionaries, it gets the paths to the system, local, network and user domain scripting addition folders and tries to find an item of the specified name with and without an added ".osax" extension. This script was tested under OS 10.2. If anybody actually tries it under other systems, please let the list know how it performs. Also, anybody should feel free to modify it or use any or all of it for other projects. I would certainly welcome a discussion of possible refinements as well, although any such refinements are likeliest to be implemented if the suggestor does the implementing. Finally, if anybody does make significant improvements, I'd be willing to post the improved version in the same location I've posted my intial version.

Neal.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Coordinates of text on a page in Quark
  • Next by Date: Re: Scripting Jag's Address Book
  • Previous by thread: Re: Coordinates of text on a page in Quark
  • Next by thread: substitution of variables
  • Index(es):
    • Date
    • Thread