andy09 Posted January 30, 2009 Share Posted January 30, 2009 Hi, Is therer a way of using autoit to right-click in a windows application, then choosing SAVE FILE and repeat this procedure every 5th second? best regards Andy Link to comment Share on other sites More sharing options...
nfaustin Posted January 30, 2009 Share Posted January 30, 2009 Yes. What windows application? [font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font] Link to comment Share on other sites More sharing options...
andy09 Posted January 30, 2009 Author Share Posted January 30, 2009 It's called gx iec developer (PLC Programming software). THe idea is to export data to excel automaticlly. Link to comment Share on other sites More sharing options...
nfaustin Posted January 30, 2009 Share Posted January 30, 2009 (edited) Post your trial code. Let see what we can do... Edited January 30, 2009 by nfaustin [font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font] Link to comment Share on other sites More sharing options...
andy09 Posted January 30, 2009 Author Share Posted January 30, 2009 THanks for your quick reply. I don't really know how to get started. Do you have some examples or tips how to get going? Link to comment Share on other sites More sharing options...
nfaustin Posted January 31, 2009 Share Posted January 31, 2009 Since you mention right-click operation, try to read first in the Help file's index about MouseClick or ControlClick function. With this, I'm sure you would come-up an idea how to do it. Also read about: Sleep(), Send(), WinActivate(), and it has example given. Then post here your code. [font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font] Link to comment Share on other sites More sharing options...
andy09 Posted February 2, 2009 Author Share Posted February 2, 2009 Hi agian, I've come so far that I can right click on the right place in my application so that a drop down menu occurs. ALlthough I've no luck with selection the right item in this list. I've used the winmenuselectitem but it soesn't work. I can't get any info about this menu using the "Bull's eye" in autoit. Also The winactivate doesn't seem to work well. I've used "CLASS" instead of the acutal title since the title will change depening on what file is open. WinActivate("[CLASS:GX IEC Developer]", "") MouseClick("right", 1000, 300, 1) WinMenuSelectItem("[CLASS:GX IEC Developer]", "", "Write to file") THe next step after click on the right item in the menu would be to choose a filename and file type from to input field. Any hint on that one ? BEst regards Andy 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