• 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: Busy Status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Busy Status


  • Subject: Re: Busy Status
  • From: Rob Jorgensen <email@hidden>
  • Date: Sat, 2 Nov 2002 23:33:31 -0500

At 7:55 PM -0800 11/2/02, Jon Pugh wrote:

At 6:26 PM -0500 11/2/02, Rob Jorgensen wrote:
I guess Jon's 'fileIsBusy' hasn't made it to X but I mention just in case.

Yep, it's in the OS X version (thanks for the nudge) but it doesn't work either (not the way I want it to anyway). ;-) According to the description, it tells whether or not a file is open. Based on my tests with Jon's Commands, Standard Additions and the Finder, a file that is in the process of being downloaded presents a challenge when trying to determine its busy status. <shrug>

OSX changes the way files are shared. No longer does have having a file open for write access prevent another process from opening it for write access, which prevents this command from working. I'm looking into what it would take to fix this, but I haven't found anything worth implementing yet, and if I don't, I'll probably just remove the command.

Thanks for confirming this seemingly hazardous situation. Just today I noticed that a script could write to a file that was already open in TextEdit but I didn't push it to see what would happen if I edited and saved the file with TE while the script was writing. It seems that no good could come from it and I wonder how to prevent problems in the rare cases where this might occur.

Rob
_______________________________________________
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.

  • Follow-Ups:
    • Re: Busy Status
      • From: Emmanuel <email@hidden>
    • Re: Busy Status
      • From: John W Baxter <email@hidden>
References: 
 >Re: Busy Status (From: Andy Wylie <email@hidden>)
 >Re: Busy Status (From: Rob Jorgensen <email@hidden>)
 >Re: Busy Status (From: Jon Pugh <email@hidden>)

  • Prev by Date: Re: Busy Status
  • Next by Date: Re: URL Access Scripting Not Launching
  • Previous by thread: Re: Busy Status
  • Next by thread: Re: Busy Status
  • Index(es):
    • Date
    • Thread