• 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 08:53:37 -0500

At 12:27 PM +0200 11/2/02, JJ wrote:
> At 3:22 PM +0100 11/1/02, christian vick wrote:

I have a folder action that checks the busy status of files which are
in the process of being downloaded but the busy status doesn't appear
to be accurate. When checking the busy status of a file, with Finder
or "info for", what criteria is used to determine if a file is or is
not busy?
>>

Hi, Rob, all.

Perhaps a try could be read/parse the "downloads" file. Actually, I don't
know where is it stored in os x, but at ancient times it was under os 9 at
(path to preferences folder) & "Explorer:Downloads.html".
I'm sure you know it: it's a html file containing:
<dt><a href="http://file.sit"; referer="http://x.com"; FolderID="30635"
volRef="-1" Size="1064531" Time="92" Status="-2">file.sit</a>
Being "Status" its actual status: "-2" equal to "finished".
I can't remember just now the codes, but anything such as 1=waiting,
0=downloading,-1=error and so on...

<snip script>

Thanks JJ. I should have given more details. The folder action script watches my download folder for downloads performed by various programs and then runs a Virex scan (using the free version from dot Mac). The current script gets triggered too early in the process and starts scanning before the download is complete, making it virtually useless.

I apologize for not being more specific in my original request.

Rob (who still wonders what the criteria is for busy status)
_______________________________________________
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.

References: 
 >Re: Busy Status (From: JJ <email@hidden>)

  • Prev by Date: Re: Busy Status
  • Next by Date: Re: enumerated types: best way to fake them?
  • Previous by thread: Re: Busy Status
  • Next by thread: Re: Busy Status
  • Index(es):
    • Date
    • Thread