Re: AS Application
Re: AS Application
- Subject: Re: AS Application
- From: Yvan KOENIG <email@hidden>
- Date: Mon, 28 Sep 2009 16:31:32 +0200
Le 28 sept. 2009 à 15:45, Steffan A. Cline a écrit : (choose file with prompt "Select a .js or .css file to be minimzed." of type allowedFileTypes with multiple selections allowed)
It this piece of code behaving flawlessly on Swedish system ?
property allowedFileTypes : {}
set mycss to (path to scripts folder as text) & "localeSpecific.css" tell application "System Events" to set cssID to get type identifier of disk item mycss
set my allowedFileTypes to {cssID, "com.netscape._javascript_-source"}
choose file with prompt "Select a .js or .css file to be minimized." of type allowedFileTypes with multiple selections allowed without invisibles
As the UTI for css files is built on the fly, I stored a smal css file in my Scripts folder and so I may grab the UTI thru a simple instruction.
Yvan KOENIG (VALLAURIS, France) lundi 28 septembre 2009 16:31:03
|
_______________________________________________
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