• 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: Creating a log file.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a log file.


  • Subject: Re: Creating a log file.
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 20 Oct 2004 17:38:23 -0700


On Oct 20, 2004, at 2:51 PM, Michael McGonagle wrote:

Hum, I tried to run this, and each subsequent time that I ran this, keeping the same name for the log file (ie replacing it), AppleScript would not do it. Even when I would manually delete that file from the Documents folder, AppleScript still asked about replacing the file. I even went so far as to run it again after having put the file in the trash and emptying the trash, but AppleScript still asked if I wanted to replace the file. Each time, I got an error message "File file ...Documents:log.txt is already open.".

It always asks about replacing the file, if the file is already there--just like any other save dialog. I couldn't duplicate your problem with the old file moved to the trash.


It seems to me that you have another copy of a file with that name in that folder, maybe from an earlier attempt with a script.

-- Michelle

--
I've noticed lately that the paranoid fear of computers becoming intelligent and taking over the world has almost entirely disappeared from the common culture. Near as I can tell, this coincides with the release of MS-DOS.
-- Larry DeLuca


_______________________________________________
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


References: 
 >Creating a log file. (From: Vic Piercy <email@hidden>)
 >Re: Creating a log file. (From: Michelle Steiner <email@hidden>)
 >Re: Creating a log file. (From: Michael McGonagle <email@hidden>)

  • Prev by Date: Re: secure text fields
  • Next by Date: Re: Creating a log file.
  • Previous by thread: Re: Creating a log file.
  • Next by thread: Re: Creating a log file.
  • Index(es):
    • Date
    • Thread