New2Automation Posted April 26, 2007 Share Posted April 26, 2007 Can any one of you help me out in accessing a radio button from third party application. I want to check whether the button is check or unchecked. Upon using GUICtrlGetState(10019) or GUICtrlGetState("Button190"), we are getting result as -1 Below is the information which I got from AutoIT Window Info tool Press CTRL-ALT-F to freeze the display. >>>>>>>>>>>> Window Details <<<<<<<<<<<<< Title: EFI Colorproof XF Client Class: wxWindowClassNR Size: X: -4 Y: -4 W: 1032 H: 746 >>>>>>>>>>> Mouse Details <<<<<<<<<<< Screen: X: 650 Y: 472 Cursor ID: 2 >>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<< RGB: Hex: 0xB9994E Dec: 12163406 >>>>>>>>>>> Control Under Mouse <<<<<<<<<<< Size: X: 641 Y: 416 W: 13 H: 13 Control ID: 10019 ClassNameNN: Button190 Text: Style: 0x50020009 ExStyle: 0x00000000 >>>>>>>>>>> Status Bar Text <<<<<<<<<<< (1): (2): Total: 1 (3): Held: 1 (4): Processing: 0 (5): (6): Connected to BAWORKFLOW-XF2 Link to comment Share on other sites More sharing options...
BrettF Posted April 26, 2007 Share Posted April 26, 2007 (edited) The commands GUICtrlGetState(10019) or GUICtrlGetState("Button190") are for AutoIT Made GUIs. I would suggest you try looking at the Control commands in the helpfile to automate your GUI. EDIT: BBCode out of wack Edited April 26, 2007 by Bert Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! 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