Re: open Applications' Dictionaries
Re: open Applications' Dictionaries
- Subject: Re: open Applications' Dictionaries
- From: Kai <email@hidden>
- Date: Wed, 26 Feb 2003 19:01:05 +0000
on 26/2/03 5:03 pm, Riccardo Perotti at email@hidden wrote:
>
On 02/25/2003 08:23 PM, "Kai" <email@hidden> wrote:
>
>
> If you want to use an applet, 'tell me' won't work. However, you could try
>
> using the Finder instead (which should also work from SE):
>
>
>
> ============================================
>
>
>
> tell application "Finder" to open [NO-BREAK]
>
> application file id "BOBO" using application file id "ToyS"
>
>
>
> --> open AppleWorks dictionary (change "BOBO" to other app id as required)
>
>
>
Great! This is what I was looking for ... and works from the Script Menu
>
too!
>
>
Now ... how do I get all the apps' file id?
>
>
I tried
>
>
tell application "Finder" to set the FileType to the application [NO-BREAK]
>
file id of (choose file of type {"APPL", "APPC", "appe", "osax"})
>
>
... but I get an error ("Couldn't get id")
You shouldn't really need the Finder for this one, Riccardo. Try this:
=========================================================
set FileType to (info for (choose file of type [NO-BREAK]
{"APPL", "APPC", "appe", "osax"}))'s file creator
=========================================================
--
Kai
_______________________________________________
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.