hello guys, i think this script should beep when i make my mouse over the form
#include <GUIConstantsEx.au3>
_Main()
Func _Main()
Local $aArray, $hGUI, $iLabel
$hGUI = GUICreate("test")
$iLabel = GUICtrlCreateLabel("Test", 10, 10, 100)
GUISetState(@SW_SHOW, $hGUI)
While 1
$aArray = GUIGetCursorInfo()
If Not @error Then
If $aArray[4] = $hGUI Then
Beep(500, 100) ; SoundPlay or Beep.
EndIf
EndIf
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
EndFunc ;==>_Main
anyone can help me ?