n9mfk9 Posted January 19, 2006 Posted January 19, 2006 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")
Moderators SmOke_N Posted January 19, 2006 Moderators Posted January 19, 2006 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.
MHz Posted January 19, 2006 Posted January 19, 2006 hi have tried this but controlclick will not work thanks for any helpRun("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
Moderators SmOke_N Posted January 19, 2006 Moderators Posted January 19, 2006 ControlClick("Notepad", "", "Button3")Cancel buttonAhh... 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now