summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbreadcat2024-04-01 22:23:55 +0100
committerbreadcat2024-04-01 22:23:55 +0100
commitefc256eb2ed9dd3a81e9d64f8ca63e7bbaccc3e8 (patch)
tree26ba8b30ccca04cf6f48e823ea75f6196d7e43ea
parent34850e5f5cbc9a01606967f10d59fea7e33895dc (diff)
downloadahka-efc256eb2ed9dd3a81e9d64f8ca63e7bbaccc3e8.tar.gz
ahka-efc256eb2ed9dd3a81e9d64f8ca63e7bbaccc3e8.tar.bz2
ahka-efc256eb2ed9dd3a81e9d64f8ca63e7bbaccc3e8.zip
Add OSRS drop item macroHEADorigin/masterorigin/HEADmaster
-rw-r--r--ahk-assistant.ahk14
1 files changed, 14 insertions, 0 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index f9d281e..f8bdaa3 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -282,6 +282,10 @@ F11::borderlessFullscreen()
^a::Send {End}{CtrlDown}{ShiftDown}{Home}{CtrlUp}{ShiftUp}
#IfWinActive
+#IfWinActive ahk_class SunAwtFrame ; vidyascape
+^LButton::osrsDropItem()
+#IfWinActive
+
; text insertion/replacements
:*?:_date::
insertDate()
@@ -679,6 +683,16 @@ borderlessFullscreen() {
Return
}
+osrsDropItem() {
+ SendInput {Click Right}
+ Sleep 25
+ Mousemove ,0 ,50 ,0 ,R
+ Sleep 15
+ SendInput {Click}
+ Sleep 15
+ Mousemove ,0 ,-50 ,0 ,R
+}
+
forceClose() {
WinGet, PID, PID, % "ahk_id " WinExist("A")
Process, Close, %PID%