• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Vexing POSIX file issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Vexing POSIX file issue
      • From: "Mark J. Reed" <email@hidden>
    • Re: Vexing POSIX file issue
      • From: Christopher Nebel <email@hidden>
    • Re: Vexing POSIX file issue
      • From: KOENIG Yvan <email@hidden>
  • Prev by Date: Re: Accessing lasts characters of a string
  • Next by Date: Re: Vexing POSIX file issue
  • Previous by thread: Prevent the appearance of the "Choose Application" dialog during compilation/execution
  • Next by thread: Re: Vexing POSIX file issue
  • Index(es):
    • Date
    • Thread