I use a shared host which unfortunately, due to circumstances outside my control, terminates my Transmit FTP/SQL sessions after 15 minutes of idleness. Good for processor cycles, poor for my sanity, especially during intensive coding/research sessions.
After gleaning the internet for a solution and finding none which worked, I decided to whip up my own. Copy and paste the following code into Script Editor, and save it as an application with the 'stay open' option checked:
repeat
tell application "Transmit"
tell document 1
tell current session
refresh list their stuff files
end tell
end tell
end tell
delay (60)
end repeat
If anyone wants to follow up this with a touch of AppleScript that cycles through every connection, that would be great. This is my first AppleScript project, so woot for me!
Mac OS X Hints
http://hints.macworld.com/article.php?story=20081020155728754