Guest darrin75 Posted March 2, 2005 Share Posted March 2, 2005 How do i make this dropdown window active for mouse events such as clicking. Then once click return to the main window Look..Please help Link to comment Share on other sites More sharing options...
Blue_Drache Posted March 2, 2005 Share Posted March 2, 2005 (edited) How do i make this dropdown window active for mouse events such as clicking. Then once click return to the main window Look..Please help<{POST_SNAPBACK}>Why not just send keystrokes? Hold Alt on the main window and look in the file menu for the underlined character. That will activate the drop down MENU if alt and that character is held.Once that drop down menu is active, hold alt again. If there are underlined characters, then you can send them to the window again to activate the particular function of that menu.Opt(WinTitleMatchMode,4) $hwnd_tivo = WinGetHandle("Tivo Client") $key1 = "S"; Example only ... Assuming "S" is for the server menu $key2 = "C"; Example only ... Assuming "C" is for "Clear String" menu item WinActivate($hwnd_tivo) If WinWaitActive($hwnd_tivo,"",10) = 1 Then Send("{altdown}" & $key1 & $key2 & "{altup}") Else MsgBox(0,"Error","Timeout on window activation",5) EndIfEdit: Corrected a syntax error Edited March 2, 2005 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache 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