Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handling Web controls on mouse hover
#2
Code:
Copy      Help
var specificEntry = "Specific*";

var w = wnd.find(1, "*Google Chrome", "Chrome_WidgetWin_1");
var e = w.Elm["web:LINK", specificEntry].Find();
if (e == null) return;
if (e.IsOffscreen) {
    e.ScrollTo();
    500.ms();
}


#if !true
e.MouseClick(x: ^44); //44 if DPI 100%, else edit this
keys.send("D Enter*2");
#else
e.MouseMove();
var e2 = e.Parent.Elm["BUTTONMENU"].Find(3);
e2.Invoke();
var e3 = w.Elm["web:MENUITEM", "Delete chat"].Find(3);
e3.Invoke();
var e4 = w.Elm["web:DIALOG", "**t Delete chat?"]["BUTTON", "Delete"].Find(3);
e4.Invoke();
#endif

The #if #else shows 2 ways. Try both and choose which works better.


Messages In This Thread
Handling Web controls on mouse hover - by Davider - 03-05-2024, 10:09 AM
RE: Handling Web controls on mouse hover - by Gintaras - 03-05-2024, 11:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)