Jump to content

Recommended Posts

Posted

Hello,

 

i use Auto IT autoit-v3.3.14.0 with Au3Record on Win 10.

* Basicly it works fine with desktop/excel

but it does not work with HoldemManager.exe

when i try to record click in that application recorder is blank:

wDkdBWU.png

 

recording excel:

rw3e5oY.png

 

works fine.

when i made script:

#region --- Au3Recorder generated code Start (v3.3.9.5 KeyboardLayout=00000415)  ---
#region --- Internal functions Au3Recorder Start ---
Func _Au3RecordSetup()
Opt ("MouseClickDelay", 1000); mouseclick is slower by 1000 msec
Opt ("SendKeyDelay", 500);sendkey is slower by 1000 msec
Opt('WinWaitDelay',1000)
Opt('WinDetectHiddenText',1)
Opt('MouseCoordMode',0)
Local $aResult = DllCall('User32.dll', 'int', 'GetKeyboardLayoutNameW', 'wstr', '')
If $aResult[1] <> '00000415' Then
  MsgBox(64, 'Warning', 'Recording has been done under a different Keyboard layout' & @CRLF & '(00000415->' & $aResult[1] & ')')
EndIf
EndFunc
Func _WinWaitActivate($title,$text,$timeout=0)
    WinWait($title,$text,$timeout)
    If Not WinActive($title,$text) Then WinActivate($title,$text)
    WinWaitActive($title,$text,$timeout)
EndFunc
_AU3RecordSetup()
#endregion --- Internal functions Au3Recorder End ---

MouseClick("left",567,1003,4)
MouseClick("left",567,1003,1)
Send("{DOWN}{DOWN}{DOWN}")
#endregion --- Au3Recorder generated code End ---

it does not click in HM2 even if i press button after the mouse goes to the window - so the HM2 windows is active - still the AutoIT wont press "down" there.

Could you help me ?

 

  • Moderators
Posted

yami,

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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