Jump to content

HELP WITH PROGRAM


Guest darrin75
 Share

Recommended Posts

Guest darrin75

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

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)
EndIf

Edit: Corrected a syntax error

Edited by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...