Newbie wants help with script

Hi,

I’m new on the board, done a search on the net and on the board, but couldn’t find exactly what I’m looking for.
This is the situation: at 11pm, I leave my computer(MaxOS X 10.4.8) switched on (no programs are running, internet connection is switched off), at 2am (when I’m asleep) I want my internet connection to connect to the net (adsl) and then open a program (Azureus). So it can run during the times when my provider charges half the price for bandwidth use.
It’s probably easy for all of you, I hope, since I have no idea how to script …
Hopefully someone can help?!
Thanks in advance!

Correct me if I’m wrong, but do you not have a DSL connection? If so you’re probably continuously hooked to the internet so all you’d have to do is

tell application "Azureus"
activate
-- or launch to keep it in the background
-- do operation here. I don't have this app so I don't know how scriptable it is.
end tell

That’s about as far as I can get you for now.

PreTech

Hi Two & pretech

Pretech,
You can get USB dsl modems that need you to click connect even though the signal is always on.
(i used to have one!) Died a death when i switched to tiger, had to wait months for them to update the driver!!
Two,
You may want to be looking at scripting internet connect to trigger the switching on bit, Pretechs script should work
okay for starting your bittorrent client.(Azeurus), if its not that scriptable, a system events script should open it

The script works!!! :smiley: Incredible how it does it, sorry if I sound like a real newbie! Thanks again! I’m going to check for a new modem without this connect thing!