Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IniRead, MX1, type.ini, Vars, MX1, 0
- IniRead, MY1, type.ini, Vars, MY1, 0
- IniRead, MX2, type.ini, Vars, MX2, 0
- IniRead, MY2, type.ini, Vars, MY2, 0
- IfNotExist, %A_WorkingDir%\type.ini
- {
- MsgBox, Press F8 to set starting letter. Press F9 to set end letter.
- }
- F8::
- MouseGetPos, MX1, MY1
- IniWrite, %MX1%, type.ini, Vars, MX1
- IniWrite, %MY1%, type.ini, Vars, MY1
- MsgBox, Done!
- return
- F9::
- MouseGetPos, MX2, MY2
- IniWrite, %MX2%, type.ini, Vars, MX2
- IniWrite, %MY2%, type.ini, Vars, MY2
- MsgBox, Done!
- return
- F7::
- Click %MX1%,%MY1%
- MouseClickDrag, Left, %MX1%,%MY1%,%MX2%,%MY2%,1
- Send ^c
- Click 300,300
- SetKeyDelay, 0,0
- StringReplace, clipboard,clipboard,`r`n,,1
- SendRaw %clipboard%
- return
Add Comment
Please, Sign In to add comment