Selecting files of type zip
Selecting files of type zip
- Subject: Selecting files of type zip
- From: "Sutapalli Satyanarayana" <email@hidden>
- Date: Thu, 16 Apr 2009 05:20:30 -0600
I am using the following statement to display a file choose dialog, where user is permitted to select only zip files. But "ZIP" is not a valid file type. Can some one tell me what is the valid type for ZIP files.
set theItems to POSIX path of (choose file with prompt "Select an zip file:" of type {"ZIP"} default location (path to desktop))
Or we can do another thing. Let user select any file. Once user selects from the apple script, can we check whether file is of type zip or not and throw error message accordingly.
Thanks & Regards,
Satyam.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden