GAM Posted May 30, 2008 Share Posted May 30, 2008 I have an windows application that has tabs. There are couple of checkboxes in the tab. Now how can I get the state of the checkbox? I have tried with the function GUICtrlRead ( controlID [, advanced] ), but it always returns the '0'. I'm not sure whether I'm using the right Control ID or whether any other mistake?\\Can any one please help me out in this? Neil Link to comment Share on other sites More sharing options...
d4rk Posted May 30, 2008 Share Posted May 30, 2008 GUICtrlRead only work with GUI which was created by you, in your case, try Control* [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
GAM Posted May 30, 2008 Author Share Posted May 30, 2008 which exactly is the function associated with CONTROL? bcoz I dint find any function that is associated with CONTROL to solve my problem!! Can you please lemme know the function!!!!!!!!!!! Neil Link to comment Share on other sites More sharing options...
d4rk Posted May 30, 2008 Share Posted May 30, 2008 yes, i realise my mistake since i haven't look at the Command list, sorry [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
GAM Posted May 30, 2008 Author Share Posted May 30, 2008 So can you help me in any other ways? Waiting for you as its very important for my project!!! Neil Link to comment Share on other sites More sharing options...
BrettF Posted May 30, 2008 Share Posted May 30, 2008 Read it a bit more from top to bottom. Dim $title = "Window Title" Dim $text = "Window Text" Dim $controlid = "Control Name/ClassNN etc." Dim $rtext = "" $return = ControlCommand ($title, $text, $controlid, "IsChecked", "") If $return = 1 Then $rtext = $controlid & " shown on the window " & $title & " is checked" Else $rtext = $controlid & " shown on the window " & $title & " is not checked" EndIf MsgBox (0, "Return value of ControlCommand", $rtext) 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...
GAM Posted May 30, 2008 Author Share Posted May 30, 2008 Hi Breat...its working and thanks a lottttt for this kind help. Neil Link to comment Share on other sites More sharing options...
BrettF Posted May 30, 2008 Share Posted May 30, 2008 Names Brett... Gah. No problem. 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