Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Choose file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Choose file



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


References: 
 >Choose file (From: Michelle Steiner <email@hidden>)
 >Re: Choose file (From: Christopher Nebel <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.