Sign in to follow this  
Followers 0
WifiHero

ShellExecute support.

12 posts in this topic

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?

Share this post


Link to post
Share on other sites



#3 ·  Posted (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 by WifiHero

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

What program are you trying to click at?

A flash game in Internet explorer.

Share this post


Link to post
Share on other sites

Ahh. You will need PixelSearch(), MouseMove() and MouseClick() :)

So I cant use a control click for that so it doesnt take over the mouse?...

Share this post


Link to post
Share on other sites

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().

Share this post


Link to post
Share on other sites

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

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