Scripters I may need your help

4409723

Suspended
Original poster
Jun 22, 2001
2,222
0
How can I make my computer connect to the internet everytime I log in?

Do I need a script or is it some option I am not seeing?

Thanks for any help,
Wes

Edit: os X.2.1, usb adsl modem. Need any more info, just ask.
 

jvaska

macrumors 6502
Feb 18, 2002
432
18
Haiti/NYC
i'm no scripter...but couldn't just load drop an alias for the internet connect in the startup folder? hmmm...maybe that wouldn't work...

or...just drop an alias of your web browser in the startup folder and you kill two birds with one stone...browser and it will connect when it launches...

hehehe...i got to learn some scripting...it's pathetic that i don't know any...jv

:)
 

4409723

Suspended
Original poster
Jun 22, 2001
2,222
0
Originally posted by jvaska
i'm no scripter...but couldn't just load drop an alias for the internet connect in the startup folder? hmmm...maybe that wouldn't work...

or...just drop an alias of your web browser in the startup folder and you kill two birds with one stone...browser and it will connect when it launches...

hehehe...i got to learn some scripting...it's pathetic that i don't know any...jv

:)
I am ultimately lazy, I want it to connect for me. If I just put an alias it won't connect for me. Thanks for the input, I know I could just tell it to connect to the net when opening a tcp/ip app, but I would rather not have to launch ie or whatever every startup. I'm still :confused:
 

Tiauguinho

macrumors 6502a
Mar 5, 2002
647
0
The Netherlands
W-_-W, since you have DSL i dont understand the need to use internet connect, because you're not dialing to anywhere. I have cable modem, and I have it set for DHCP server and it's always conected. But, build this script with your script editor:

tell application "Internet Connect" to activate

( this will only open Internet Connect, not connect it. To connect it use the instructions on the Dictionary, where you'll have to set it to connect using your configurations)

Hope I did help. Anything just ask.
 

edesignuk

Moderator emeritus
Mar 25, 2002
19,233
2
London, England
Tiauguinho, I have spoken with W-_-W, his ADSL modem is on his USB port and is not an always up connection, even though it doesn't realy dial anywahere it does bring up the dial-up dialog box where, as with a regular dial-up, you have to enter a username and password. Once you hit connect you are connected instantly, theres no dialing, it's just the fact that you do have to manually connect.
 

4409723

Suspended
Original poster
Jun 22, 2001
2,222
0
Right on Edesign, now scripters, if you are reading this, help!
 

Tiauguinho

macrumors 6502a
Mar 5, 2002
647
0
The Netherlands
Ahhhh... I didn't know that it existed a connection from that type, it was my bad. Thanks edesignuk for explainig me!


Build this script W-_-W(copy and paste it to the script editor):

tell application "Internet Connect"
activate
connect
end tell


If it doesn't work please tell me.

Hope I did help this time :)

Tiago Carvalho
 

4409723

Suspended
Original poster
Jun 22, 2001
2,222
0
OK it works here is the final script:

tell application "Internet Connect"
activate
connect
quit
end tell

Thanks for your help guys, now I can be lazy ;-)
 

4409723

Suspended
Original poster
Jun 22, 2001
2,222
0
Just tested it after a boot, works like a charm.

Once again thanks, you saved me 1 click.
 

4409723

Suspended
Original poster
Jun 22, 2001
2,222
0
Originally posted by edesignuk

tut, tut, lazy boy! :D :p ;)
...good lad! ;)
I'll have this mac for at least 3 years, and will turn it on at least one time a day (usually more).

That's 1095 clicks, I could be saving myself from arthiritis. ;)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.