• 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: Open For Access Broken in 9? [SOLVED!]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open For Access Broken in 9? [SOLVED!]


  • Subject: Re: Open For Access Broken in 9? [SOLVED!]
  • From: email@hidden
  • Date: Mon, 12 Aug 2002 11:19:43 -0700

This wasn't an issue with 9, as I found out thru further testing today.

Rather, it was an issue with the fact that I was trying to write to a file
at a path that included folders that didn't exist. So
/Volumes/folder that is there/folder that isn't there/file to
write.txt

give me an error that the file can't be found. No mention of folders. Ugh.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Seth A. Roby
Scriptwriter Intern
"Life is like an exploded clown. It's really funny until you figure out
what just happened."



email@hidden
Sent by: To: email@hidden
applescript-users-admin@list cc:
s.apple.com Subject: Open For Access Broken in 9?


08/09/2002 10:49 AM






I'm trying to open a file for access with write permission.

In 10, it's happy.

In 9, it complains that the file does not exist. I've checked it and it's
complaining about the line
set writeFile to open for access alias thePath with write permission

In the documentation it says that if the file does not exist, it will
create one for me. Is this not the case under 9? I've looked all over and I
can't find any reference to support that. But maybe everything's just
reporting the latest documentation, which is for X.

So if it is broken (or designed that way), how do I create the file?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


Seth A. Roby
Scriptwriter Intern
"Life is like an exploded clown. It's really funny until you figure out
what just happened."
_______________________________________________
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.
_______________________________________________
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.

  • Prev by Date: Re: do shell script bug
  • Next by Date: Re: Display dialog Return - Bug or Feature?
  • Previous by thread: Re: Ragtime
  • Next by thread: Traversing Directories/Searching
  • Index(es):
    • Date
    • Thread