Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 10:42:00 +0000



Post From: Disable DOM mouse click trading keeping keyboard trading enabled

[2019-11-10 12:33:55]
T44 - Posts: 363
Enable all confirmations for the actions you want rejected (e.g. order place by mouse).
Then run this Autohotkey (*.ahk) script to automatically reject those confirmation windows.
Keyboard trading and Auto trading will be unaffected as they are controlled elsewhere.

#Persistent
#SingleInstance Force
SetTitleMatchMode, 1

SetTimer, CheckWin, 50 ;inefficient


CheckWin:
IfWinExist, Confirm Order
{
Blockinput, On
WinWaitActive, Confirm Order
SendInput, n
Blockinput, Off
return
}
IfWinExist, Cancel Confirmation
{
Blockinput, On
WinWaitActive, Cancel Confirmation
SendInput, n
Blockinput, Off
return
}
return

Date Time Of Last Edit: 2019-11-10 12:34:48