jlorenz1 Posted April 9, 2008 Posted April 9, 2008 Hi, normalyy I've no problem with ControlCommand(), but in eMule V0.48a I can't select in the combo TYPE "AUDIO" and in the combo METHOD "KAD NETWORK" on the SEARCH page. Have anyone an idea? Thanks Johannes EnvSet('Searchqueue', 'London|Moskau|Paris') EnvUpdate() MsgBox(4096, '', EnvGet('Searchqueue'),2) $a=StringSplit(EnvGet('Searchqueue'),'|') ;If ProcessExists('emule.exe') = 1 Then For $i = 1 to 2 While $a[$i]='' Sleep(500) $a=StringSplit(EnvGet('Searchqueue'),'|') WEnd _SleepWhileStartIsntAvailable() MsgBox(4096,$i,$a[$i],1) ControlSetText('eMule v0.', '', 2183, $a[$i] ); Edit6 ControlCommand('eMule v0.', '', 2322, "SelectString", 'Audio' );ComboBox1 ControlCommand('eMule v0.', '', 2175, 'SelectString', 'Global (Server)' ); ComboBox2 ControlClick('eMule v0.', '', 2189) _SleepWhileStartIsntAvailable() ControlSetText('eMule v0.', '', 2183, $a[$i] ); Edit6 ControlCommand('eMule v0.', '', 2322, 'SelectString', 'Audio' ) ControlCommand('eMule v0.', '', 2175, 'SelectString', 'KAD Network' ); ComboBox2 ControlClick('eMule v0.', '', 2189) Next ;EndIf Func _SleepWhileStartIsntAvailable() While ControlCommand('eMule v0.', '', 2189, 'IsEnabled', '') = 0 Sleep(500) WEnd EndFunc Johannes LorenzBensheim, Germanyjlorenz1@web.de[post="12602"]Highlightning AutoIt Syntax in Notepad++ - Just copy in your Profile/application data/notepad++[/post]
Zedna Posted April 9, 2008 Posted April 9, 2008 It probably doesn't work because it's not standard ComboBox.What's its ClassName? Resources UDF ResourcesEx UDF AutoIt Forum Search
jlorenz1 Posted April 9, 2008 Author Posted April 9, 2008 (edited) It probably doesn't work because it's not standard ComboBox.What's its ClassName?His are the information from AutoIt v3 Window InfoClass: ComboBoxInstance: 1ClassnameNN: ComboBox1ID: 2322Text:Position: 11,123Size: 99,22...Style: 056000513ExStyle: 0x00000000Handle 0x00010198Screenshot/Greetings Johannes Edited April 9, 2008 by jlorenz1 Johannes LorenzBensheim, Germanyjlorenz1@web.de[post="12602"]Highlightning AutoIt Syntax in Notepad++ - Just copy in your Profile/application data/notepad++[/post]
jlorenz1 Posted April 9, 2008 Author Posted April 9, 2008 (edited) RESOLVEDit works like thatControlCommand('eMule v0.', '', 2322, 'SetCurrentSelection', 2 );ComboBox1 Edited April 9, 2008 by jlorenz1 Johannes LorenzBensheim, Germanyjlorenz1@web.de[post="12602"]Highlightning AutoIt Syntax in Notepad++ - Just copy in your Profile/application data/notepad++[/post]
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