• 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: This worked yesterday: File path question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: This worked yesterday: File path question


  • Subject: Re: This worked yesterday: File path question
  • From: Nigel Garvey <email@hidden>
  • Date: Sat, 16 Dec 2000 11:56:15 +0000

Preston Smith wrote on Thu, 14 Dec 2000 14:56:28 -0600:

>File path issues confound me.
>
>A longish script containing the line;
> open file "G4 HD:MSO Show Log database:CD log project copy 1"
>stopped working, giving me a -120 error. This is a script I use several
>times a week.
>
>Changing to "open file alias..." got it to start working again.
>
>I don't think that I moved the location of the file I'm pointing to, so I'm
>confused. BTW, another file referred to in the same folder wouldn't work
>properly till I changed it to an alias reference.
>
>Is it best to always use the alias reference, even if you think the file
>isn't going to move?

Error -120 is actually a folder error. The message displayed by a test
script in my Script Editor is "Could not open the document because of a
disk error.", but according to the AppleScript Language Guide, it means
"Folder <name> wasn't found." It looks as though your folder's being
moved or renamed at some point between the compilation of the script and
the execution of that line.

NG


  • Prev by Date: Re: Ilustrator
  • Next by Date: Delete duplicate records in FileMaker Pro 5
  • Previous by thread: Re: This worked yesterday: File path question
  • Next by thread: RE: Newbie Progress Bar
  • Index(es):
    • Date
    • Thread