• 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
Re: POSIX paths query
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: POSIX paths query


  • Subject: Re: POSIX paths query
  • From: Patrick Mast <email@hidden>
  • Date: Wed, 8 Oct 2003 18:08:40 +0200

hallo:

set temp to "Server:Master Database:to be Databased:AUGUST IMAGE
UPLOADS - No17:layouts:161999-Image.eps"
set test to quoted form of POSIX path of (temp)

So it exists in HFS format but not in POSIX format. Can anyone explain
to me why that is and how to stop it? I need to check if the file

<POSIX path of> will already check if the file exists. thats why you will get an error message if you want to make the HFS formated path of a file that does not exist to an POSIX formated path.

this might be test for an existing file:

on checkforfile(theFilePath)
try
return POSIX path of theFilePath
on error
set theFilePath to choose file
end try
end checkforfile


i hope this helps!

regards

patrick
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >POSIX paths query (From: Steve Thompson <email@hidden>)

  • Prev by Date: POSIX paths query explained better
  • Next by Date: Re: iCal 1.5.1 scripting
  • Previous by thread: Re: POSIX paths query explained better
  • Next by thread: Re: POSIX paths query
  • Index(es):
    • Date
    • Thread