Your best friend for file transfer.

Fetch application logoFetch

Dashboard (7 posts)

  • Started 5 years ago by JamesJobs
  • Latest reply 5 years ago from JamesJobs
  • JamesJobs Member

    Could you make a option on the dashboard widget to copy the uploaded file's url to your clipboard.

    Posted 5 years ago #

  • Scott McGuire Administrator

    Hi,

    Thanks for the suggestion, we'll consider it.

    While this cannot be done with the widget currently, we could tell you how to use Automator and AppleScript to create a droplet that would do this for you - you'd drag the file(s) to an icon, they'd be uploaded, and the URL(s) would be put on the clipboard. Let us know if you'd like more information about that.

    Thanks,

    Scott McGuire
    Fetch Softworks

    [This message has been edited by ScottMcGuire (edited 01-14-2009).]

    Posted 5 years ago #

  • JamesJobs Member

    Yes please, that would help.

    Posted 5 years ago #

  • Scott McGuire Administrator

    Hi,

    Sure, we can do that. Before I begin, I have a couple of questions for you, in order to provide the best advice.

    First, which version of Mac OS X are you using?

    Second, are you looking to copy the FTP URL, or have you set up WebView and you are looking to copy the web (http) URL for your files?

    Thanks,

    Scott McGuire
    Fetch Softworks

    [This message has been edited by ScottMcGuire (edited 01-19-2009).]

    Posted 5 years ago #

  • JamesJobs Member

    Thanks. I am using 10.5 Leopard and I would like the web url please.

    Posted 5 years ago #

  • Scott McGuire Administrator

    Hi,

    Hi,

    To begin with, if you are not familiar with Automator in Mac OS X, I recommend that you read our help topic, "Introduction to using Automator with Fetch." While it does not contain the solution to your problem, it gives an overview of what Automator is and how to use it.

    http://www.fetchsoftworks.com/FetchWebHelp/Contents/Tutorial/AutomatorIntroduction.html

    And here are the steps of what you need to do in Automator to create a droplet that uploads and puts the URL on the clipboard:

    1. Open Automator (located in your Applications folder). When prompted, click the Choose button to create a new "custom" workflow. A new workflow window should open automatically. If it does not, choose File > New.

    2. In the new workflow window, click the Internet icon in the Library list.

    3. Drag an Upload Files action from the Action list to the workflow area on the right side of the window. (You may have to scroll the list to find the Upload Files action.)

    4. In the Upload Files action, enter the connection information for the server and remote folder (if any) you want to upload the files to, or choose a recent connection or shortcut from the pop-up menus.

    5. Next, click the Internet icon in the Library list.

    6. Drag a Run AppleScript action from the Action list to the workflow area, placing it after the first action.

    7. Enter the following into the Run AppleScript action (this is the important part - you should copy and paste all the text between the dividers):

    ---------

    on run {input, parameters}

    set output to ""
    repeat with oneItem in input
    using terms from application "Fetch"
    if web url of oneItem is not missing value then
    if output is not "" then set output to output & return
    set output to output & web url of oneItem
    end if
    end using terms from
    end repeat

    return output
    end run

    ---------

    8. Drag a Copy to Clipboard action from the Action list to the workflow area, placing it after the Run AppleScript action.

    9. Finally, save the workflow as an application by doing the following: Choose File > Save As. In the Save dialog, choose Application from the File Format pop-up menu, and then enter a name and choose a location to save your workflow.

    Now, when you drag files to the workflow icon, it will automatically open Fetch, upload the files to the server you specified, and then put the URL on the clipboard.

    Please let us know if you have questions about the above, and let us know how it goes.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 5 years ago #

  • JamesJobs Member

    Thanks, that helps.

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