| 1 | ;
|
|---|
| 2 | ; AutoHotkey Version: 1.x
|
|---|
| 3 | ; Language: English
|
|---|
| 4 | ; Platform: Win9x/NT
|
|---|
| 5 | ; Author: A.N.Other <myemail@nowhere.com>
|
|---|
| 6 | ;
|
|---|
| 7 | ; Script Function:
|
|---|
| 8 | ; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
|
|---|
| 9 | ;
|
|---|
| 10 |
|---|
| 11 | #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
|---|
| 12 | SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
|---|
| 13 | SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
|---|
| 14 | SetTitleMatchMode,2
|
|---|
| 15 |
|---|
| 16 |
|---|
| 17 | ^Numpad0::
|
|---|
| 18 | IfWinExist, [Running] - Oracle VM VirtualBox
|
|---|
| 19 | {
|
|---|
| 20 | WinActivate
|
|---|
| 21 | ;WinRestore
|
|---|
| 22 | Send {; down}
|
|---|
| 23 | Sleep 1
|
|---|
| 24 | Send {RCtrl Down}
|
|---|
| 25 | Sleep 1
|
|---|
| 26 | Send {; up}
|
|---|
| 27 | Sleep 1
|
|---|
| 28 | Send {RCtrl Up}
|
|---|
| 29 | }
|
|---|
| 30 | return
|
|---|
| 31 |
|---|
| 32 | ^Numpad1::
|
|---|
| 33 | IfWinExist, [Running] - Oracle VM VirtualBox
|
|---|
| 34 | {
|
|---|
| 35 | WinActivate
|
|---|
| 36 | ;WinRestore
|
|---|
| 37 | Send {; down}
|
|---|
| 38 | Sleep 1
|
|---|
| 39 | Send {; up}
|
|---|
| 40 | Sleep 1
|
|---|
| 41 | Send {RCtrl Down}
|
|---|
| 42 | Sleep 1
|
|---|
| 43 | Send {RCtrl Up}
|
|---|
| 44 | }
|
|---|
| 45 | return
|
|---|