Sign in to follow this  
Followers 0
clearguy

Connect to internet and disconnect?

8 posts in this topic




¿You have a dial up connection? :D

Share this post


Link to post
Share on other sites

Hi,I found a solution,the rasdial command :D

is there an equivalent in au3 ? thanx :">

What do you mean, "Is there an equivalent in au3"?

Just run the rasdial command within your script.


AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)

Share this post


Link to post
Share on other sites

Is there an inbuild autoit function for connecting to internet instead using rasdial?

I explain:sometimes when I use rasdial /d (to hang up the connection) I can't reconnect to internet because the status of internet connection is on "Deconnecting..." for about 5 minutes :D

Thanx

Share this post


Link to post
Share on other sites

Is there an inbuild autoit function for connecting to internet instead using rasdial?

I explain:sometimes when I use rasdial /d (to hang up the connection) I can't reconnect to internet because the status of internet connection is on "Deconnecting..." for about 5 minutes :D

Thanx

There is no inbuilt function. Just use rasdial in your script.


AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

This is what I use. I have a quicklaunch icon on my bottom startup bar thing.

Sympatico is the name of my ISP.

;sets time to wait in seconds.
Sleep(1000*Number(InputBox("Wait 'x' seconds","Enter Time To Wait")))

;Click second quicktask bar button.
MouseClick ( "left" , 140, 785 , 1 , 15 )
sleep(2000)

;Checks to see if Sympatico is already running.
If WinActive ( "Sympatico Status" , "" )Then
;Dials
    send("{ALTDOWN}d{ALTUP}")
    exit
EndIf

If WinActive ( "Connect Sympatico" , "" ) Then
    Sleep(1000*Number(InputBox("Wait 'x' seconds","Enter Time To Wait")))
    WinActivate("Connect Sympatico", "")
;Disconnects if already active.
    send("{ALTDOWN}d{ALTUP}")
EndIf
Edited by EhJay

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0