Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Keep auto-timeout Transmit connections alive' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Keep auto-timeout Transmit connections alive
Authored by: Tiny Clanger on Oct 24, '08 08:04:59AM
I think you might have wanted the "delay 60" above the "end repeat" :)

This version seems to work OK with tabs:


tell application "Transmit"
  repeat
    set all_docs to count of documents
    repeat with this_doc from 1 to all_docs
      tell document this_doc
        -- tell current session to refresh list their stuff files
        set all_sessions to count of sessions
        repeat with this_session from 1 to all_sessions
          tell session this_session to refresh list their stuff files
        end repeat
      end tell
    end repeat
    delay 60
  end repeat
end tell


[ Reply to This | # ]
Keep auto-timeout Transmit connections alive
Authored by: Tiny Clanger on Oct 24, '08 08:07:27AM

...and that commented-out refresh line obviously didn't need to still be there *cough*



[ Reply to This | # ]