Your best friend for file transfer.

Fetch application logoFetch

Fetch & SubEthaEdit (3 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 11 years ago by assassin_bill
  • Latest reply 11 years ago from assassin_bill
  • assassin_bill Member

    Just posting this because I haven't found any good documentation on the two. To integrate SubEthaEdit with fetch use the "Set External Editor" script in the "Secret Options Scripts" that come with Fetch. You'll want to delete all the lines in between tell application "Fetch 4.0.3" and set rep to display dialog ("Fetch is configured to use " & " as its external text editor; do you want to choose a different one?")

    The script should then look like this:

    set yesNoButtons to {"No", "Yes"}
    set defaultButton to "Yes"

    tell application "Fetch 4.0.3"
    set rep to display dialog ("Fetch is configured to use " & " as its external text editor; do you want to choose a different one?") ¬
    buttons yesNoButtons default button defaultButton
    if (button returned of rep is "Yes") then
    set external text editor to choose file with prompt "Pick an external text editor" of type {"APPL"}
    end if
    end tell

    Note Bene: You could also just cut and paste.

    When you run it you will be prompted to pick a new editor, do such.

    Also, on a second hand note, I would just like to ask the Fetch staff why they have created a script which assumes that we own BBedit?

    Posted 11 years ago #

  • Jim Matthews Administrator

    Thanks for posting that. I want to add that in Fetch 4.0.3 you can choose "Specify external text editor..." from the Obscure Options pop-up menu in the Misc. section of Preferences instead of running an AppleScript.

    As for why Fetch has BBEdit as its default editor, that's because BBEdit is a great product, and was the first to support the AppleEvents that Fetch uses to work with external editors.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 11 years ago #

  • assassin_bill Member

    Didn't know about the options menu in 4.0.3. That's a hell of alot easier. Thanks...

    Posted 11 years ago #

Topic closed

This topic has been closed.