Long time ago, I made a bundle for YummyFTP. you may want to take a look at the code there, or even risk using it : )
I've been using it for some time, and it works quite nicely, but it hasn't been tested too much outside my computers...
My SVN server is quite flaky right now, but keep checking http://svn.sofanaranja.com/projects/textmate/ just in case it decides to spring back to life :)
Anyways, answering your question: AppleScript support in YummyFTP is rather poor at the moment. The developer has been informed of the current limitations, and hopefully they'll be taken care of Pretty Soon Now
2007/8/15, Charilaos Skiadas cskiadas@gmail.com:
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
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate