Re: Script-dictionary
Re: Script-dictionary
- Subject: Re: Script-dictionary
- From: Emmanuel <email@hidden>
- Date: Sat, 31 Aug 2002 17:02:48 +0200
At 1:06 PM +0200 31/8/02, John Delacour wrote:
>
>
At 11:47 am +0200 31/8/02, Manfred M. Strasser wrote:
>
>Is it possible to open the Script-dictionary of an app using AS?
>
>
Yes. For example this script will open the dictionary of TextEdit
>
>
tell application "Finder"
>
open application file id "ttxt" using application file id "ToyS"
>
end tell
Now, if you want to manipulate the dictionary, you need a scriptable script
editor, such as Smile:
-------------- not tested
tell application "Smile" to get text of opendictionary(TheAppPath)
--------------
--> returns the app's dictionary as a styled text string
Emmanuel
_______________________________________________
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.