• 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
weird path to me error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

weird path to me error


  • Subject: weird path to me error
  • From: Robert Poland <email@hidden>
  • Date: Wed, 19 Jan 2005 15:18:01 -0700

When I run this snippet as part of an old script it works fine.
But when run as a new script (saved in the correct folder) I get the indicated error.


I find it odd that the file name and the script name are run together. Is that a clue? I have tried adding in a colon but that didn't help.

The old script was created in January of 2004. Has something changed?

set myPath to path to me
set myPrefs to "AwakeTimes"
read file ((myPath as string) & myPrefs)
set myData to result
myData
--> "File iMac HD:Library:Scripts:Universal Scripts:TimeTestAwakeTimes wasn't found."


Tia,
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: weird path to me error
      • From: daniel <email@hidden>
    • Re: weird path to me error
      • From: Andrew Oliver <email@hidden>
  • Prev by Date: Re: Text, Unicode Text, and String coercion ...
  • Next by Date: filemaker pro 7 record ID issues
  • Previous by thread: how do I pick which version of AppleScript runs a script?
  • Next by thread: Re: weird path to me error
  • Index(es):
    • Date
    • Thread