Loftarasa Posted September 18, 2008 Share Posted September 18, 2008 Hello, Is there an function that finds a minimized website on the task bar and just clicks on it? Link to comment Share on other sites More sharing options...
TehWhale Posted September 18, 2008 Share Posted September 18, 2008 Errm, No. This, you would have to write yourself. Link to comment Share on other sites More sharing options...
Loftarasa Posted September 18, 2008 Author Share Posted September 18, 2008 hmmm... any tips? Link to comment Share on other sites More sharing options...
ChromeFan Posted September 18, 2008 Share Posted September 18, 2008 hmmm... any tips?Read The HelpFile forGuiGetState()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 More sharing options...
Loftarasa Posted September 18, 2008 Author Share Posted September 18, 2008 Thanks, I don't seem to have a guigetstate help file though. Link to comment Share on other sites More sharing options...
TehWhale Posted September 18, 2008 Share Posted September 18, 2008 Thanks, I don't seem to have a guigetstate help file though.Thats because there is no GUIGetState. Chromey my friend, messed up! Link to comment Share on other sites More sharing options...
Loftarasa Posted September 19, 2008 Author Share Posted September 19, 2008 (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 September 19, 2008 by Loftarasa Link to comment Share on other sites More sharing options...
Loftarasa Posted September 27, 2008 Author Share Posted September 27, 2008 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now