rendered paste bodymenu * {
Auto Typer:
.On: atcom
.Off: .timerat off
.Settings
..Time:set %att $$?"Second(s)"
..Text:set %ats $$?"Text"
}
alias atcom {
if (%att) && (%ats) && (!$1) {
echo 2 -at *** Go to your Runescape Window
.timerat 0 %att atcom send
}
elseif (!%att) && (%ats) {
set %att $$?"Second(s)"
echo 2 -at *** Go to your Runescape Window
.timerat 0 %att atcom send
}
elseif (%att) && (!%ats) {
set %ats set %ats $$?"Text"
echo 2 -at *** Go to your Runescape Window
.timerat 0 %att atcom send
}
elseif (!%att) && (!%ats) {
set %att $$?"Second(s)"
set %ats $$?"Text"
echo 2 -at *** Go to your Runescape Window
.timerat 0 %att atcom send
}
elseif ($1 == send) {
.comopen x wscript.shell
if (!$comerr) {
noop $com(x,sendkeys,3,bstr,%ats {ENTER})
}
.comclose x
}
}