Re: Help with foreign language issue
Re: Help with foreign language issue
- Subject: Re: Help with foreign language issue
- From: Yvan KOENIG <email@hidden>
- Date: Mon, 22 Aug 2005 21:26:11 +0200
Le 22 août 2005 , à 16:37, Emmett Gray a écrit :
Hi,
I have a script with the following:
tell application "Finder"
set theInfo to info for alias foo
set theKind to kind of theInfo
if theKind is "Folder" then ...etc
This is failing on a French language machine because it's not
"Folder", it's "Dossier". What to do?
TIA
-
Hello
I hope that this piece of code may help.
CAUTION, don't include it in a tell Finder … end tell !!
set foo to "Macintosh HD:Users:yvankoenig:Desktop:tempo:"
--tell application "Finder"
set theInfo to a reference to info for alias foo
set folder_ to get (folder of theInfo)
set package_ to get (package folder of theInfo)
if (folder_ is true) and (package_ is false) then display dialog "this
is a folder"
--end tell
Yvan KOENIG
_______________________________________________
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