Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- SetBatchLines -1
- SendMode Input
- Loop
- {
- IfWinActive, ahk_class POEWindowClass
- {
- GetKeyState, tild, F7, P
- If tild = D
- {
- Send, {Ctrl Down}{Click}{Ctrl up}
- sleep 1
- }
- sleep 1
- }
- sleep 1
- }
Add Comment
Please, Sign In to add comment