WifiHero Posted June 8, 2008 Share Posted June 8, 2008 Been experimenting with it for awhile. And need to know, How exactally can I make my bot navigate with it? is there some way to force the code to click and type and such on just that hidden window? Or what? Link to comment Share on other sites More sharing options...
James Posted June 8, 2008 Share Posted June 8, 2008 ControlSend(), ControlClick() Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
WifiHero Posted June 8, 2008 Author Share Posted June 8, 2008 (edited) ControlSend(), ControlClick()Thank you, But with such a thing, Is it just for one window at a time? Or do you just do like...Controlwinactivate or something?..(by the way, Thanks a load for such a fast response)EDIT:Just tried control clicking, and it didnt seem to work with a window that wasnt hidden, So it only works for ones that are? Edited June 8, 2008 by WifiHero Link to comment Share on other sites More sharing options...
James Posted June 8, 2008 Share Posted June 8, 2008 Thank you, But with such a thing, Is it just for one window at a time? Or do you just do like...Controlwinactivate or something?..(by the way, Thanks a load for such a fast response)EDIT:Just tried control clicking, and it didnt seem to work with a window that wasnt hidden, So it only works for ones that are?One window at a time, AutoIt cannot multi-task. Use AU3 Window Info Tool (think that's the name) to find the control names (ids) of the buttons/whatever your clicking. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
WifiHero Posted June 8, 2008 Author Share Posted June 8, 2008 One window at a time, AutoIt cannot multi-task. Use AU3 Window Info Tool (think that's the name) to find the control names (ids) of the buttons/whatever your clicking.Well. I have been trying to use controlclick with the specific window and whatnot, But it doesnt not appear to be clicking, It repeats its actions I have set to loop after it does the clicks, So I know it is trying to. But for some reason it refuses to register that it has clicked. as if it skips it.ControlClick("---Removed---","","left", 228, 482, 1, 1)Sleep(20)ControlClick("---Removed---","","left", 228, 482, 1, 1) Link to comment Share on other sites More sharing options...
James Posted June 8, 2008 Share Posted June 8, 2008 What program are you trying to click at? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
WifiHero Posted June 8, 2008 Author Share Posted June 8, 2008 What program are you trying to click at?A flash game in Internet explorer. Link to comment Share on other sites More sharing options...
James Posted June 8, 2008 Share Posted June 8, 2008 Ahh. You will need PixelSearch(), MouseMove() and MouseClick() Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
WifiHero Posted June 8, 2008 Author Share Posted June 8, 2008 Ahh. You will need PixelSearch(), MouseMove() and MouseClick() So I cant use a control click for that so it doesnt take over the mouse?... Link to comment Share on other sites More sharing options...
James Posted June 8, 2008 Share Posted June 8, 2008 ControlClick() is when you want to click a control for another window, let's say notepad. If you want to click the edit control then unless you have the exact co-ordinates you would use ControlClick(). Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
WifiHero Posted June 8, 2008 Author Share Posted June 8, 2008 ControlClick() is when you want to click a control for another window, let's say notepad. If you want to click the edit control then unless you have the exact co-ordinates you would use ControlClick().Well..According to what someone said above, ControlClick can be used with ShellExecute to have it run hidden in the backround without it takeing over mouse / keyboard Link to comment Share on other sites More sharing options...
James Posted June 8, 2008 Share Posted June 8, 2008 Yes, but if you read the helpfile, ControlClick is used for controls. You cannot control click an IE window. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ 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