Sign in to follow this  
Followers 0
Loftarasa

How to click a website on the task bar

8 posts in this topic

Hello,

Is there an function that finds a minimized website on the task bar and just clicks on it?

Share this post


Link to post
Share on other sites



Errm, No. This, you would have to write yourself.

Share this post


Link to post
Share on other sites

hmmm... any tips?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Thanks, I don't seem to have a guigetstate help file though.

Share this post


Link to post
Share on other sites

Thanks, I don't seem to have a guigetstate help file though.

Thats because there is no GUIGetState. Chromey my friend, messed up! :)

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Think I could use a combination of IEAttach and maximize to do this?

I don't need it to actually "click" on the task bar, I just want it to maximize a minimized website that is already open.

Edited by Loftarasa

Share this post


Link to post
Share on other sites

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

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