Sign in to follow this  
Followers 0
para

Mouse clicking

6 posts in this topic

Is it possible to make the mouse click a certain class/ area with text that "au3spy" can read?

so like, if there was a gui open and it said "open" on it, would there be a way to make the mouse click "open" instead of needing corrdinance?

thanks


Share this post


Link to post
Share on other sites



I tried controlclick and couldn't get it to work, it wouldn't click were i wanted it to, is there somthing i am missing?


Share this post


Link to post
Share on other sites

Some controls are not easy to script,

if the Winspy window give you a name with a & simbol in it you can try ControlSend() ALT+the letter directly to control.

It usually works.

Share this post


Link to post
Share on other sites

i dont think i understand what your saying, what i want to happen is i want the script to click the address bar on iexplore.exe (internet explorer)

if you could please provide me the script for that, i think i could figure out the rest... thanks bro


Share this post


Link to post
Share on other sites

i dont think i understand what your saying, what i want to happen is i want the script to click the address bar on iexplore.exe (internet explorer)

if you could please provide me the script for that, i think i could figure out the rest... thanks bro

<{POST_SNAPBACK}>

Three examples of how to do that:

; Let's say you want to open the website http://www.autoitscript.com

; Example 1
Run("C:\Program Files\Internet Explorer\iexplore.exe http://www.autoitscript.com")

; Example 2
Run("C:\Program Files\Internet Explorer\iexplore.exe")
WinWaitActive("Internet Explorer"); Internet Explorer's title varies in different versions of Windows. Use AU3_Spy to find yours.
ControlClick ("", "", "Edit2")
Send("http://www.autoitscript.com")
ControlClick ("", "", "ToolbarWindow322")

; Example 3
Run("C:\Program Files\Internet Explorer\iexplore.exe")
WinWaitActive("Internet Explorer")
Send("{TAB}http://www.autoitscript.com{ENTER}")

Hope these help,

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