Jump to content

How to click a website on the task bar


Loftarasa
 Share

Recommended Posts

hmmm... any tips?

Read The HelpFile for

GuiGetState()

MouseMove()

MouseClick()

WinSetState()

Send()

and also related Functions :)

Website: www.cerescode.comForum: www.forum.cerescode.comIRC: irc.freenode.net , Channel: #Ceres--------------------Autoit Wrappers, Great additions to your script (Must See) (By: Valuater)Read It Befor Asking Question Click Here...--------------------Join Monoceres's Forums http://www.monoceres.se--------------------There are three kinds of people: Those who make things happen, those who watch things happen, and those who ask, ‘What happened?’” –Casey Stengel
Link to comment
Share on other sites

  • 2 weeks later...

Hey, if anyone is interested, here is what I came up with. All it does is shift through your open windows using alt tab and check if it has opened the right window. If not, it sends alt+tab+tab to open the next, then alt+tab+tab+tab and so on until it opens the right one.

$tabcount = 1; The number of times you need to press tab

While(1)

Send("!{TAB "& $tabcount &"}") ; Send alt and press tab as many times as $tabcount

$title = WinActive("Name of window you want to get to")

If ($title ==1) Then

ExitLoop

Else

$tabcount = $tabcount + 1

ContinueLoop

EndIf

WEnd

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...