• 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
Re: open Applications' Dictionaries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: open Applications' Dictionaries (From: Riccardo Perotti <email@hidden>)

  • Prev by Date: Re: open Applications' Dictionaries
  • Next by Date: Scripting MS Word without VBA?
  • Previous by thread: Re: open Applications' Dictionaries
  • Next by thread: RE:open Applications' Dictionaries
  • Index(es):
    • Date
    • Thread