You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throw"LibLoadingFailed: Please use AutoHotkey x64"
12
-
else if (!FileExist(A_ScriptDir"\IbAhkSend.dll"))
13
-
throw"LibLoadingFailed: Please put IbAhkSend.dll with your script file (or use AHK v2 instead, which can locate those DLLs that are put with the library files)"
14
+
throw"SendLibLoadFailed: Please use AutoHotkey x64"
15
+
else if (!FileExist("IbAhkSend.dll"))
16
+
throw"SendLibLoadFailed: Please put IbAhkSend.dll with your script file (or use AHK v2 instead, which can locate those DLLs that are put with the library files)"
14
17
else
15
-
throw"LibLoadingFailed"
18
+
throw"SendLibLoadFailed"
16
19
}
17
20
18
-
result := DllCall("IbAhkSend\IbAhkSendInit", "Int")
21
+
if (send_type == "AnyDriver")
22
+
result := DllCall("IbAhkSend\IbAhkSendInit", "Int", 0, "Int", 0, "Ptr", 0, "Int")
23
+
else if (send_type == "SendInput")
24
+
result := DllCall("IbAhkSend\IbAhkSendInit", "Int", 1, "Int", 0, "Ptr", 0, "Int")
25
+
else if (send_type == "Logitech")
26
+
result := DllCall("IbAhkSend\IbAhkSendInit", "Int", 2, "Int", 0, "Ptr", 0, "Int")
27
+
else if (send_type == "DD"){
28
+
if (args.MaxIndex() == 1)
29
+
result := DllCall("IbAhkSend\IbAhkSendInit", "Int", 3, "Int", 0, "WStr", args[1], "Int")
30
+
else
31
+
result := DllCall("IbAhkSend\IbAhkSendInit", "Int", 3, "Int", 0, "Ptr", 0, "Int")
0 commit comments