On Aug 15, 2007, at 11:17 AM, Tobias Jung wrote:
Hello,
some months ago, I changed TextMate's Transmit Bundle to work with YummyFTP (to be accurate: I duplicated the Transmit Bundle before playing aroung with it). "DockSend File" works fine with Yummy.
But when I select "Send File with Active Connnection", I get the following error message: 37:41: syntax error: Expected ", " but found class name (-2741)
Using the original Transmit bundle, "Send File with Active Connnection" _will_ trigger Transmit to upload the file, but my modified version for Yummy does not work.
I only replaced 'Transmit' with 'Yummy FTP' in the bundle editor:
osascript -e "tell application "Yummy FTP" (upload item "$TM_FILEPATH") in current session of first document end tell" ================================================
So, what is going wrong?
this Applescript was utilizing the dictionary that Transmit had set. In other words, Transmit has told AppleScript that it understands words like "upload", "current session" etc. I guess YummyFTP doesn't understand some of these words. You'll have to open Script Editor and look at the "AppleScript Dictionary" for the two apps, and see. Good luck, you'll need it! (That goes for anything AppleScript-related imho).
Kind regards, Tobias Jung
Haris Skiadas Department of Mathematics and Computer Science Hanover College