• 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: curl...file listings...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: curl...file listings...


  • Subject: re: curl...file listings...
  • From: Jim Matthews <email@hidden>
  • Date: Wed, 26 Oct 2005 10:36:50 -0400

David Crowe wrote:

Whenever Fetch completes a download or upload it insists on being
brought to the front. This means that if the user activates another
application while Fetch is running, that the script halts, and
probably times out.

That should not happen (and I've never seen it). If you check the "Bounce icon in Dock" option in Preferences Fetch will bounce the Dock icon after every operation, but it should keep processing Apple Events in the background.


I have put a timeout block around Fetch in case this happens, but
this means that I don't really know that the upload has finished, it
may be just taking longer than I allowed. It also means that if the
upload takes only 1 second, but I have a 20 second timeout, that a
lot of delays are inserted.

It is often necessary to bracket statements that transfer files with a "with timout of x seconds / end timeout" block, because many file transfers take longer than the default AppleScript timeout. But using a timeout block does not insert delays -- the statements will complete as soon as the transfer is done.


Please let me know if you have questions about scripting Fetch. And check out the example scripts at http://fetchsoftworks.com/FetchExampleScripts.sitx

Thanks,
--
Jim Matthews
Fetch Softworks
http://fetchsoftworks.com
_______________________________________________
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


  • Follow-Ups:
    • re: curl...file listings...
      • From: David Crowe <email@hidden>
  • Prev by Date: Simple Backup Script
  • Next by Date: Re: Producing Unicode-only characters
  • Previous by thread: re: curl...file listings...
  • Next by thread: re: curl...file listings...
  • Index(es):
    • Date
    • Thread