Your best friend for file transfer.

Fetch application logoFetch

Close Fetch After iCal Event Complete (5 posts)

  • Started 11 years ago by Kirby
  • Latest reply 11 years ago from Kirby
  • Kirby Member

    I am trying to use Fetch to download new files from a remote server using iCal and the mirror command. I got it to work; however, Fetch remains open on the screen after completing the event. Since I have will have lots of multiple events, this will get ugly. Is there a way to tell Fetch to close after completing the mirror task? Thanks.

    Posted 11 years ago #

  • Jim Matthews Administrator

    Yes, you can have AppleScript send a quit command to Fetch. Here's the script:

    tell application "Fetch"
    quit
    end tell

    If you are using Automator, put that script in a "Run AppleScript" action at the end of your workflow.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 11 years ago #

  • Kirby Member

    Thanks for the fast response. How do you set up automator to open and run the Fetch Mirror Document?

    Posted 11 years ago #

  • Jim Matthews Administrator

    I'd recommend writing a simple AppleScript, and having iCal open the AppleScript instead of the mirror document.

    To create the AppleScript, follow these steps:

    1. Open AppleScript Editor (in the Utilities folder)
    2. Click the Record button
    3. Perform the mirror operation in Fetch
    4. Quit Fetch
    5. Click the Stop button in AppleScript Editor

    AppleScript Editor should record a script that does the mirror, and then quits Fetch. You can save that script as an application, and have iCal open the application.

    Let me know if that doesn't do the trick.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 11 years ago #

  • Kirby Member

    Works great. Thanks!

    Posted 11 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.