Xentradi Posted November 15, 2016 Share Posted November 15, 2016 I'm working on a quick script to automate part of my workflow for some shop drawings I need to make. Currently I'm stuck on trying to change my selection type. This is done via a right click context menu that allows me to choose different types of selecting. The script right clicks however I cannot have it click an option within the context menu. I had assumed I could just get a control ID using the Window Info tool but no such luck clicking anywhere else causes the context menu to close. I've tried the following so far: ControlClick("C6-530","Select color","") ControlClick("C6-530","Select color","[CLASS:EasyStoneView; INSTANCE:1]") Attachment is a screenshot of the context menu. Link to comment Share on other sites More sharing options...
jdelaney Posted November 16, 2016 Share Posted November 16, 2016 There is a hotkey to not require a 'freeze' in the window info tool...ctrl+alt+f...unfreeze, mouse over the context, then refreeze...on the autoit window info tool. Standard ones are >>>> Window <<<< Title: Class: #32768 Xentradi 1 IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
Xentradi Posted November 24, 2016 Author Share Posted November 24, 2016 Thank you very much! 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