tell application "Transmit"
-- Prevent interactive alerts from popping up during script execution
set SuppressAppleScriptAlerts to true
tell (make new document at end)
tell current tab
connect to (current application's favorite "LNS Amazon S3")
tell remote browser
upload item at path POSIX path of sourceFile to "/path/to/folder/"
end tell
end tell
close
end tell
end tell
I’m sure the Panic folks mean well, but I grade their scripting interface C-. It works, but its not designed to foster success for the uninitiated.
I’ve been using Transmit for years, and they’ve been fairly responsive to AppleScript issues as they came up. If you wanted to provide them feedback on their scripting interface, I’m sure they’d appreciate it.