Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help regarding loop
#7
I have a macro which do this:
1. Load my router page
2. Click on Disconnect wait a few seconds
3. Click on Connect wait a few seconds
4. Load a webpage



Code:
Copy      Help
int w1=win("Program Manager" "Progman")
dou 937 856 w1
    1
    mou"Ca@b@a@abc@abdbdaa@b@cacaf@cbiafanekafcnaegsbeiohodghncgekfibccfaccgbcdfdeacce@abfbf@aacaa@d@a@aac@b@aac@a@b@a@a@d@a@a@b@a@aAcAc@b@cAa@c@c@bAc@aAc@b@a@a@b@a@a@aAb@a@b@a@aAb@a@aAb@a@aAb@a"
    1
    int w2=wait(5 win("SpeedTouch - Home - Windows Internet Explorer" "IEFrame"))
    lef 814 482 w2
    mou "Aa@c@c@bAc@aAc@b@a@a@b@a@a@aAb@a@b@a@aAb@a@aAb@a@aAb@a"
    3
    int w3=act(win("SpeedTouch - Home - Windows Internet Explorer" "IEFrame"))
    lef 0.680 0.800 w3 1
    5
    web "http://......." 0x1|(10<<16)
    2
    'A{F4}
    win("Internet Explorer" "#32770"

I need a precisely macro which will do this:
1. Load my router page
2. Search for word “connected” if found? (Go to 3) else (Go to 4)
3. Click on Disconnect
4. Click on Connect
5. Load a webpage

Can anyone help me with a mthat macro ?


Attached Files Image(s)
   


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)