Jump to content
Sign in to follow this  
douma2010

script to cut the internet conexion for a few seconds

Recommended Posts

douma2010

hey everyone

i need a autoit script to cut the internet conexion for 4 seconds..please

can someone help me :

Share this post


Link to post
Share on other sites
water

Can you please tell us what you want to achieve by interrupting the internet connection for 4 seconds?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
douma2010

i want to open a port in the modem and that be achieved by restarting the modem sometimes..this script will help me

Share this post


Link to post
Share on other sites
FireFox

Restarting the modem is different from restarting the internet connexion on a computer, which one do you want to do?

Edit: How can you open a port and not restart ?

Br, FireFox.

Edited by FireFox

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
douma2010
a autoit script to cut the internet conexion for 4 seconds

Share this post


Link to post
Share on other sites
water

I have a router and to open a port I use the web interface to change the configuration.

How do you open a port?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
FireFox

a autoit script to cut the internet conexion for 4 seconds

You are repeating yourself without answering my question. :mellow: Edited by FireFox

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
water

Can you describe the modem/Router you use to connect to the internet? Manufacturer, model?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
douma2010

every one ask me ..me how have the problem and i need a solution my asking is clear ..if some one help me thanks for him if not close this topic please

Share this post


Link to post
Share on other sites
Starstar

Disable Local Area Connection give sleep = 4000 and enable Local Area Connection

$COMPANY_NAME = "Local Area Connection";Your Conection name
$Dely = 4000 ;mean 4sec
Run("control ncpa.cpl")
WinWaitActive("Network Connections")
ControlListView("Network Connections", "", "SysListView321", "SelectClear")
$ControlID1 = ControlListView("Network Connections", "", "SysListView321", "FindItem", $COMPANY_NAME, "AACABLE - DIALER SERVICE")
ControlListView("Network Connections", "", "SysListView321", "Select", $ControlID1)
Send("!f")
Sleep(200)
Send("{Enter}")
Sleep(200)
MsgBox(64,"Internet Conexion","Internet Conexion Cutdowe for 4sec When you click on ok Time will start")
Sleep($Dely)
Send("!f")
Sleep(200)
Send("{Enter}")
WinWaitClose($COMPANY_NAME)
WinClose("Network Connections")

This is only a method in witch you stop internet conexion for 4 sec................try it now and tell me.............

Edited by adnanbaloch

Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."

Share this post


Link to post
Share on other sites
water

Do you go and see the doctor having made the diagnosis yourself and don't answer the doctors questions?

We want to help you, but we need more information. If you can't provide this information ... your problem.

  • Like 2

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Starstar

every one ask me ..me how have the problem and i need a solution my asking is clear ..if some one help me thanks for him if not close this topic please

There are lot of internet connections my friend like broadband & PPPoE dailer etc if you describe the name of your connection then we are easily help you....... Edited by adnanbaloch

Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."

Share this post


Link to post
Share on other sites
Starstar

Please Douma2010 Follow the topic "Follow This Topic" is an option on the top of the page.

Edited by adnanbaloch

Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."

Share this post


Link to post
Share on other sites
Jos

every one ask me ..me how have the problem and i need a solution my asking is clear ..if some one help me thanks for him if not close this topic please

seems you do not understand what we are asking.

Now tell me, why would we even close this topic? Also try explaining what you want to do but this time describe it without repeating yourself.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Starstar

Witch thing is easiest from autoit......? ans======nothing ...........ha ha ha

Edited by adnanbaloch

Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."

Share this post


Link to post
Share on other sites
Jos

Witch thing is easiest from autoit......? ans======nothing ...........ha ha ha

what about you think before posting avoiding you multiple posts and stupid contributions like this?

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Starstar

what about you think before posting avoiding you multiple posts and stupid contributions like this?

I mean "Autoit is an easiest thing of world"

Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.