Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sammich

macrumors 601
Original poster
Sep 26, 2006
4,306
268
Sarcasmville.
I'm currently trying to download something with bittorrent, however there is a strange problem I'm getting which means the primary seed (the only one basically) keeps on vanishing after 35 secs or so (he gives me about 35kb/s+ as soon as I connect, so I get about 1 meg in that 35 secs).

I'm using Transmission atm, and using the AppleScript below, I'm making it 'Pause all torrents' and 'Start All Torrents' at intervals, repeated forever.

Code:
tell application "System Events"
	repeat
		tell application "Transmission" to activate
		keystroke "." using {option down, command down}
		delay 3
		tell application "Transmission" to activate		
		keystroke "/" using {option down, command down}
		delay 37
	end repeat
end tell

I realise that trackers hate this sort of thing, but it's the only option atm (otherwise it's about 0.8kb/s).


The Question: is there anyway to get applescript (or anything) to make Transmission do the actions above without first having to activate it?
Cos this script basically means I can't use my computer consistently.

Cheers,
Sam
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.