Jump to content
Sign in to follow this  
n9mfk9

how do i get controlclick to work

Recommended Posts

n9mfk9

hi have tried this but controlclick will not work thanks for any help

Run("Notepad.exe", "", @SW_MAXIMIZE)

WinWaitActive("Untitled -")

Send("Today's time/date is {F5}")

Send("!f")

Send("x")

WinWaitActive("Notepad")

ControlClick("Notepad", "", "button3")

Share this post


Link to post
Share on other sites
SmOke_N

Notepad has a button3?

If your playing with the menu, look at WinMenuSelect() in the help file.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
MHz

hi have tried this but controlclick will not work thanks for any help

Run("Notepad.exe", "", @SW_MAXIMIZE)

WinWaitActive("Untitled -")

Send("Today's time/date is {F5}")

Send("!f")

Send("x")

WinWaitActive("Notepad")

ControlClick("Notepad", "", "button3")

ControlClick("Notepad", "", "Button3")

Notepad has a button3?

Cancel button

Share this post


Link to post
Share on other sites
SmOke_N

ControlClick("Notepad", "", "Button3")

Cancel button

Ahh... thanks for that!!

Didn't bother to look.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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  

×