Rutto Posted August 8, 2007 Share Posted August 8, 2007 Hello Everybody !I'm creating a script to automate some task but I really don't know how to perform some actions since there are no key shortcuts, only a button in the toolbar to be clicked...Could you please take a look to this image, the icon I have to press is the one with a red circle:Thank you !!!Simone Link to comment Share on other sites More sharing options...
leuce Posted August 8, 2007 Share Posted August 8, 2007 I'm creating a script to automate some task but I really don't know how to perform some actions since there are no key shortcuts, only a button in the toolbar to be clicked...You should be able to click the button using ControlClick, if the button has a controlname. However, I've seen many programs without these, so another solution may be this:http://www.autoitscript.com/autoit3/docs/f.../MouseClick.htmcombined with this:http://www.autoitscript.com/autoit3/docs/f...#MouseCoordMode Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 8, 2007 Share Posted August 8, 2007 This should work: Opt("WinTitleMatchMode", 4) If ControlClick("[CLASS:ThunderRT6MDIForm]", "", "[CLASS:msvb_lib_toolbar;INSTANCE:5]") Then ConsoleWrite("Debug: Successfull click." & @LF) Else ConsoleWrite("Debug: Click failed." & @LF) EndIf Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
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