Difference between revisions of "Auto Hotkey"
Jump to navigation
Jump to search
(Created page with "==Maxwell fire== <pre> ; makes maya front app ; skip 4 frames, wait 2 minutes, send shortcut (save to renderview/server) ; do that 100 times (400 frames) IfWinExist, Autodesk...") |
m |
||
| Line 1: | Line 1: | ||
== Delete All Whatsapp groups == | |||
win-a to start, a to stop | |||
pixel position may vary of course, should check if there is a exit group / delete group option | |||
<pre> | |||
#Requires AutoHotkey v2.0 | |||
SendMode "Event" | |||
loopToggle := 0 | |||
#a:: | |||
{ | |||
global loopToggle := 1 | |||
While loopToggle { | |||
;WinWait "(1) WhatsApp — Mozilla Firefox Private Browsing" | |||
;WinActivate "(1) WhatsApp — Mozilla Firefox Private Browsing" | |||
MouseMove 1512, 1958, 2 | |||
Sleep 100 | |||
Click | |||
MouseMove 1545, 1885, 2 | |||
Click | |||
MouseMove 2230, 1277, 2 | |||
Sleep 500 | |||
pColor := PixelGetColor( 2230, 1277) | |||
if (pColor = 0x06CF9C){ | |||
Sleep 100 | |||
Click | |||
}else{ | |||
Sleep 100 | |||
MouseMove 2236, 1185, 2 | |||
Click | |||
} | |||
Sleep 600 | |||
} | |||
} | |||
#HotIf loopToggle | |||
*a::global loopToggle := 0 | |||
</pre> | |||
==Maxwell fire== | ==Maxwell fire== | ||
<pre> | <pre> | ||
Latest revision as of 17:36, 28 February 2025
Delete All Whatsapp groups
win-a to start, a to stop pixel position may vary of course, should check if there is a exit group / delete group option
#Requires AutoHotkey v2.0
SendMode "Event"
loopToggle := 0
#a::
{
global loopToggle := 1
While loopToggle {
;WinWait "(1) WhatsApp — Mozilla Firefox Private Browsing"
;WinActivate "(1) WhatsApp — Mozilla Firefox Private Browsing"
MouseMove 1512, 1958, 2
Sleep 100
Click
MouseMove 1545, 1885, 2
Click
MouseMove 2230, 1277, 2
Sleep 500
pColor := PixelGetColor( 2230, 1277)
if (pColor = 0x06CF9C){
Sleep 100
Click
}else{
Sleep 100
MouseMove 2236, 1185, 2
Click
}
Sleep 600
}
}
#HotIf loopToggle
*a::global loopToggle := 0
Maxwell fire
; makes maya front app
; skip 4 frames, wait 2 minutes, send shortcut (save to renderview/server)
; do that 100 times (400 frames)
IfWinExist, Autodesk Maya
WinActivate ; use the window found above
Loop, 100
{
Send {!}
Send {!}
Send {!}
Send {!}
Sleep, 120000
Send ^!{F9}
}