Re: Alias Files
Re: Alias Files
- Subject: Re: Alias Files
- From: KOENIG Yvan <email@hidden>
- Date: Fri, 1 Aug 2008 20:24:09 +0200
Maybe this kind of code may help:
set thePath to "Macintosh HD:Users:yvan_koenig:Desktop:ƒ banque:"
tell application "Finder" if class of item thePath is alias file then set originalPath to original item of item thePath as Unicode text else set originalPath to thePath end if end tell
Yvan KOENIG (from FRANCE vendredi 1 août 2008 20:17:39)
It's foolish. My signature is built by an AppleScript with these lines:
set laDate to (date string of (current date)) & (do shell script "date " & quote & "+ %H:%M:%S" & quote) set leMessage to "Yvan KOENIG (from FRANCE " & laDate & ")" set the clipboard to leMessage set theApp to "Mail" tell application theApp to activate tell application "System Events" to tell process theApp to keystroke "v" using {command down}
It seems correct but the "û" of Août is replaced by a "q". I don't understand why.
Am'I the wrongdoer ? |
_______________________________________________
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