Jump to content

Mouse clicking


para
 Share

Recommended Posts

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

Link to comment
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

Link to comment
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,

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...