Jump to content

Auto it recorder does not work always


yami
 Share

Recommended Posts

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 ?

 

Link to comment
Share on other sites

  • Moderators

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:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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