• 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
Open for Access, Alias, Items in use
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Open for Access, Alias, Items in use


  • Subject: Open for Access, Alias, Items in use
  • From: email@hidden
  • Date: Wed, 30 Jan 2002 13:51:27 -0600

I have a script posted below. When I try to run it in OS 9.2.2, I get the
error message:
"The command could not be completed, because it contains items that are in
use."

It runs fine in OS 9.1.

Any ideas what broke it, or what I can do to get around this problem?

set theText to "blah, blah, blah."
set TheFile to open for access file {{path to desktop, "testfile"} as string}
with write permission
write theText to TheFile
close access TheFile

tell application "Finder"
select file "testfile"
make new alias file to selection at desktop
end tell

Thanks

Jim Scharosch
Mac System Administrator
Gazette Communications
319-368-8669
email@hidden


  • Prev by Date: Re: End of column in Excel
  • Next by Date: Test
  • Previous by thread: Newbie - Using a Function key to take a picture
  • Next by thread: Re: Open for Access, Alias, Items in use
  • Index(es):
    • Date
    • Thread