Depresīva troļļa piezīmes - [entries|archive|friends|userinfo]
zazis

[ userinfo | sc userinfo ]
[ archive | journal archive ]

[Nov. 17th, 2024|06:21 pm]
Previous Entry Add to Memories Tell A Friend Next Entry
linkpost comment

Comments:
[User Picture]
From:[info]zazis
Date:November 17th, 2024 - 09:15 pm

Jāpadalās tak ar pašu skriptu ar.

(Link)
#Persistent

; Set up hotkey to turn the script on
[::
SetTimer, PressKeys, 4200
TrayTip, Auto-press, Script turned on.
return

; Set up hotkey to turn the script off
]::
SetTimer, PressKeys, off
TrayTip, Auto-press, Script turned off.
return

PressKeys:

Send, 2rf

return

#Persistent
return

~XButton2::
Loop
{
if !GetKeyState("XButton2", "P") ; If XButton2 is not pressed
break ; Exit the loop if XButton2 is released

SendInput, {Ctrl Down}{Click}{Ctrl Down} ; Press Ctrl and left mouse button down
Sleep 84 ; Adjust this value to change the click speed (in milliseconds)
SendInput, {Ctrl Up} ; Release Ctrl key
}
return

XButton1::

Send, q
sleep 420
send, w

return


\::
send, '
sleep 10
Click 1270, 520
sleep 210
Click 1420, 520
sleep 10
send, e
sleep 210
click 142, 420

return

#Persistent

NumpadSub::
Click Middle ; Click the middle mouse button
Sleep 50 ; Adjust this value to change the delay (in milliseconds)
SendInput, {Escape} ; Send the Escape key
Sleep 50 ; Adjust this value to change the delay (in milliseconds)
Click 1420, 630 ; Perform a left mouse button click at coordinates (adjust as needed)
Sleep 210
Click 142, 420
Sleep 420
Click 1420, 210
Sleep 4200 ; Adjust this value to change the delay (in milliseconds)
SendInput, {Enter} ; Send the Enter key
Sleep 4200 ; Wait for 20 seconds (20000 milliseconds)
SendInput, {F5} ; Send the F5 key
Sleep 8420 ; Wait for 20 seconds (20000 milliseconds)
SendInput, {F5} ; Send the F5 key
return

;send {Enter} /hideout {Enter}
return

9::
SendInput, {Ctrl Down}qwert{Ctrl Up}
sleep 10
send qrt

return