Vexing POSIX file issue
Vexing POSIX file issue
- Subject: Vexing POSIX file issue
- From: Loren Ryter <email@hidden>
- Date: Thu, 13 Mar 2008 11:39:42 -0400
- Thread-topic: Vexing POSIX file issue
I'm getting a bug report from a user running 10.5.2 that I can't reproduce
on my end involving setting POSIX File on a file on his mounted network home
folder.
Getting the POSIX File of:
/Volumes/David/Documents/Devonthink Dbase/David's DEVONthink Database.dtBase
Returns:
Macintosh HD:Volumes:David:Documents:Devonthink Dbase:David's DEVONthink
Database.dtBase
Instead of the expected:
David:Documents:Devonthink Dbase:David's DEVONthink Database.dtBase
Therefore, coercing that HFS path in an alias fails with an error.
My work around involves string substitution. But why should POSIX file get
that result in the first place? And why is it happening on his machine and
not on mine? And why wouldn't coercing the erroneous return into an alias
work?
Thanks!
Here's the event log:
tell application "DEVONthink Pro" of machine "eppc://seventeen.local:3031"
get path of current database
"/Users/David/Documents/Devonthink Dbase/David's DEVONthink
Database.dtBase"
(*remotedbpath*)
(*/Users/David/Documents/Devonthink Dbase/David's DEVONthink
Database.dtBase*)
(*remotedbpath*)
(*/Volumes/David/Documents/Devonthink Dbase/David's DEVONthink
Database.dtBase*)
(*remotedbhfs*)
(*Macintosh HD:Volumes:David:Documents:Devonthink Dbase:David's
DEVONthink Database.dtBase*)
(*error*)
(*CanĀ¹t make file "Macintosh HD:Volumes:David:Documents:Devonthink
Dbase:David's DEVONthink Database.dtBase" into type alias.*)
end tell
_______________________________________________
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