• 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: Choose file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Choose file


  • Subject: Re: Choose file
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 3 May 2005 12:57:33 -0700

On May 3, 2005, at 12:46 PM, Christopher Nebel wrote:

set theImage to choose file of type {"png"} does not work.

Anyone got any suggestions?

Yes -- use the right identifier. To get the type identifier for any particular file, use "info for" and look at the "type identifier" field. In your case, you want "public.png".

Where can I find type identifiers documented? Or do I have to execute an "info for" each time I need to script the type identifier? Why couldn't the type identifier for a png file be simply "png"?


-- Michelle

--
If you're not going somewhere, you're not getting anywhere.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Choose file
      • From: Bill Cheeseman <email@hidden>
    • Re: Choose file
      • From: Christopher Nebel <email@hidden>
    • Re: Choose file
      • From: Paul Berkowitz <email@hidden>
References: 
 >Choose file (From: Michelle Steiner <email@hidden>)
 >Re: Choose file (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Using AS to logout
  • Next by Date: Re: Application creator code
  • Previous by thread: Re: Choose file
  • Next by thread: Re: Choose file
  • Index(es):
    • Date
    • Thread