Jump to content

ergo

Members
  • Posts

    5
  • Joined

  • Last visited

Community Answers

  1. ergo's post in Problem with DllCall "MonitorFromPoint" was marked as the answer   
    Ok, I updated  the script and compiled it with autoit beta 3.3.9.16
     Local $point = DllStructCreate($tagPOINT)    DllStructSetData($point, "X", MouseGetPos(0))    DllStructSetData($point, "Y", MouseGetPos(1))        Local $Ret = DllCall("user32.dll", "handle", "MonitorFromPoint", "struct", $point, 'dword', 2)       MsgBox(0,"hMonitor",$Ret[0]) It worked like a charm.
    Thx a lot!
×
×
  • Create New...