Jason Coco wrote:
I did a test with this... it seems that the code to resolve the
alias in AppleScript doesn't like
non-latin encoded pathnames.
I think you're right - from dim and distant memory I seem to recall
that AppleScript's ' as alias' coercion often doesn't work with
non-ASCII
On Aug 26, 2008, at 16:54 , Gerriet M. Denkmann wrote:
On 27 Aug 2008, at 02:09, has wrote:
Gerriet M. Denkmann wrote:
When I try in Script Editor:
set macpath to POSIX file "/Volumes/เม่น/Users" as Unicode
text
and do "Compile", then this gets transformed into:
set macpath to file "
On 27 Aug 2008, at 02:09, has wrote:
Gerriet M. Denkmann wrote:
When I try in Script Editor:
set macpath to POSIX file "/Volumes/เม่น/Users" as Unicode
text
and do "Compile", then this gets transformed into:
set macpath to file " ‘ßÀÏ:Volumes:‡¡Ëπ:Users" as Unicode
text
Sounds like
Gerriet M. Denkmann wrote:
When I try in Script Editor:
set macpath to POSIX file "/Volumes/เม่น/Users" as Unicode
text
and do "Compile", then this gets transformed into:
set macpath to file " ‘ßÀÏ:Volumes:‡¡Ëπ:Users" as Unicode
text
Sounds like you're on 10.4 or earlier. AppleScript o
On Aug 26, 2008, at 11:34 AM, Gerriet M. Denkmann wrote:
Could you tell me the exact appscript code?
When I try in Script Editor:
tell application "Finder"
set macpath to POSIX file "/Volumes/เม่น/Users" as Unicode
text
open information window of macpath
activate
end tell
On 26 Aug 2008, at 20:58, Jason Coco wrote:
On Aug 26, 2008, at 04:19 , Gerriet M. Denkmann wrote:
On 26 Aug 2008, at 15:04, Andrew Farmer wrote:
On 26 Aug 08, at 00:39, Gerriet M. Denkmann wrote:
I want to open some file:
source =
"tell application "SomeApp"...
You're making things h
On Aug 26, 2008, at 04:19 , Gerriet M. Denkmann wrote:
On 26 Aug 2008, at 15:04, Andrew Farmer wrote:
On 26 Aug 08, at 00:39, Gerriet M. Denkmann wrote:
I want to open some file:
source =
"tell application "SomeApp"...
You're making things harder than they need to be.
[[NSWorkspace shar
On 26 Aug 2008, at 15:04, Andrew Farmer wrote:
On 26 Aug 08, at 00:39, Gerriet M. Denkmann wrote:
I want to open some file:
source =
"tell application "SomeApp"...
You're making things harder than they need to be.
[[NSWorkspace sharedWorkspace] openFile:@"/path/to/file"
withApplication:@
On 26 Aug 08, at 00:39, Gerriet M. Denkmann wrote:
I want to open some file:
source =
"tell application "SomeApp"...
You're making things harder than they need to be.
[[NSWorkspace sharedWorkspace] openFile:@"/path/to/file"
withApplication:@"SomeApp"];
As to AppleScript's Unicode support,