Your best friend for file transfer.

Fetch application logoFetch

Using a Fetch Shortcut (4 posts)

This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
  • Started 13 years ago by jscook
  • Latest reply 10 years ago from Jim Matthews
  • jscook Member

    Heya,

    Im preparing an applescript to do some ftp uploads and I was wondering, what would be the proper way to use an already existing Fetch shortcut?

    right now im just using

    try
    tell application "Fetch x"
    put url user&":"&pass&"@"&host item FileName
    end tell
    end try

    if you hadnt guessed, this is my first day of applescripting, and i havent really found a good interface discussion of using fetch w/ applescript. Any help is much appreciated.

    Thanks,

    Justin Cook

    Posted 13 years ago #

  • Jim Matthews Administrator

    You should be able to do something like:

    tell application "Fetch 4.0"
    open shortcut "my shortcut" of shortcut window "Fetch Shortcuts"
    end tell

    The best way to learn how to script Fetch is to press the Record button in the Script Editor, and then perform the actions you want by hand. Fetch will generate a script for those actions.

    Jim Matthews
    Fetch Softworks

    Posted 13 years ago #

  • Rick Member

    You've recommended many times to have Script Editor record your actions to AppleScript but - I'm sure I'm doing something wrong here - it doesn't seem to be recording when I click Put Files. It records new transfer window with properties but then nothing else.

    What am I doing wrong?

    Thanks

    Posted 10 years ago #

  • Jim Matthews Administrator

    Are you actually going through with the upload, or just pressing the Put Files... button?

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

Topic closed

This topic has been closed.