Your best friend for file transfer.

Fetch application logoFetch

Applescript - Fetch does not quit (6 posts)

  • Started 16 years ago by Mau
  • Latest reply 16 years ago from Scott McGuire
  • Mau Member

    I need some help to quit...

    I am using Applescript to script Fetch. I am trying to figure out how to quit the application without erroring out.

    if I run the following:

    tell application "Finder"
    activate

    set ftp_url to "ftp://ftp.fetchsoftworks.com/"

    tell application "Fetch"
    activate
    open (url ftp_url)

    delay 7

    end tell

    -- I do my stuff here...

    -- AND SO FAR SO GOOD. Then I'd like to quit...

    tell application "Fetch"
    activate
    --try

    quit

    --on error
    -- do nothing
    --end try

    end tell

    -- and if I comment out the try & end try, Fetch shows the error: connection is Invalid...

    Can anybody help?

    Thank you
    Maurizio

    Posted 16 years ago #

  • Jim Matthews Administrator

    There was at least one version of Fetch with a bug in this area, but I believe the bug has been fixed. Have you tried your script with Fetch 5.2.1 (the latest release)?

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 16 years ago #

  • Mau Member

    Jim,
    I am still on OS 10.3.5.
    I'll use try & end try until I upgrade both OS and Fetch.
    Thanks
    Maurizio

    Posted 16 years ago #

  • Scott McGuire Administrator

    Hi Maurizio,

    If you don't want to update your OS X right now, we do still have Fetch 5.0.5 available, which works on Mac OS X 10.2.4 or later.

    If that's newer than the version you're using now, you might want to give it a try and see the problem is fixed in it.

    (Or, you can update to Mac OS X 10.3.9 - which is less drastic than updating to 10.4 - and use Fetch 5.2.1.)

    You can download it from http://fetchsoftworks.com/downloads.html .

    Thanks,

    Scott McGuire
    Fetch Softworks

    [This message has been edited by ScottMcGuire (edited 07-25-2007).]

    Posted 16 years ago #

  • Mau Member

    Originally posted by ScottMcGuire:

    Hi Maurizio,

    If you don't want to update your OS X right now, we do still have Fetch 5.0.5 available, which works on Mac OS X 10.2.4 or later.

    If that's newer than the version you're using now, you might want to give it a try and see the problem is fixed in it.

    (Or, you can update to Mac OS X 10.3.9 - which is less drastic than updating to 10.4 - and use Fetch 5.2.1.)

    You can download it from http://fetchsoftworks.com/downloads.html .

    Thanks,

    Scott McGuire
    Fetch Softworks

    [This message has been edited by ScottMcGuire (edited 07-25-2007).]

    Scott,
    Fetch 5.0.5 works fine. That bug was fixed! Thanks a lot
    Mau

    Posted 16 years ago #

  • Scott McGuire Administrator

    Hi Maurizio,

    Great, we're glad to hear that fixed the problem. Thanks for the followup.

    Best,

    Scott McGuire
    Fetch Softworks

    Posted 16 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.