Jump to content

how do i get controlclick to work


n9mfk9
 Share

Recommended Posts

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")

Link to comment
Share on other sites

  • Moderators

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.

Link to comment
Share on other sites

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

  • Moderators

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.

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