summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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%