Created
May 12, 2024 11:34
-
-
Save akcansoft/bdef3b2c31a996bc4c37ba5b8a0dea20 to your computer and use it in GitHub Desktop.
AutoHotkey kodlarıyla farenin sol tuşu ile tıklama, Sürükleme ve bırakma
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Farenin sol tuşu ile tıklama, Sürükleme ve bırakma | |
; 11/05/2024 | |
; Mesut Akcan | |
; makcan@gmail.com | |
; youtube.com/mesutakcan | |
#Requires AutoHotkey v2.0 | |
SendMode "Event" | |
SetMouseDelay 50 | |
CoordMode "Mouse","Screen" | |
Esc::ExitApp() | |
; Numpad1::Click "D" ;fase sol tuşuna basılı tut | |
; Numpad2::Click "U" ;fase sol tuşunu bırak | |
;Pencereyi 200,200 konumuna taşı | |
; Numpad1:: | |
; { | |
; CoordMode "Mouse","Window" | |
; Click 15,15,"D" ; 15,15 konumuna git. Sol tuşa basılı tut | |
; CoordMode "Mouse" | |
; Click 200,200,"U" ; 200,200 konumuna git. Tuşu bırak | |
; } | |
Numpad1:: | |
{ | |
CoordMode "Mouse","Window" | |
MouseGetPos &x,&y ; Farenin koordinatını x ve y değişkenlerine aktar | |
Click "D" ; Sol tuşa basılı tut | |
Click x,y-200,"U" ; 100 piksel sağa, 100 piksel aşağı git. Tuşu bırak | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment