Send to Transmit

OK, you might find this a bit faster with the AppleScript node:

global transmitBrowser

using terms from application "Retrobatch"

	(*
	The processStart handler is called when your workflow has started running
	*)
	on processStart()
	
	
		tell application "Transmit"
			set myFave to item 1 of (favorites whose name is "deleteme")
		
			tell current tab of (make new document at end)
				connect to myFave
			
				set transmitBrowser to remote browser
			
			end tell
		
		
		end tell
	
	end processStart

	(* 
	The processAsset handler is called for each image asset that passes through this AppleScript node
	You can return a boolean value that says wether or not this asset should continue on through the next node(s)
	*)
	on processAsset(anAsset)
	
		set assetPath to file path of anAsset
	
		tell application "Transmit"
		
			tell transmitBrowser
				upload item at path assetPath
			end tell
		end tell
	
		return true
	
	end processAsset


	(* 
	processEnd is called when your workflow is about to end
	*)
	on processEnd()
	
	end processEnd

end using terms from
1 Like