#If MouseIsOver("ahk_class Shell_TrayWnd")
WheelUp::Send {Volume_Up}
WheelDown::Send {Volume_Down}
MouseIsOver(WinTitle)
{
MouseGetPos,,, Win
return WinExist(WinTitle . " ahk_id " . Win)
}
#F7::
{
Send ಠ_ಠ
}
return
OK AutoHotkey whizzes - why can't I get this one to work?Code: [Select]
#F7::
{
SendInput {ಠ_ಠ}
}
return
Current AHK build. Works with other unicodes.
ಠ_ಠ
F6::send ಠ_ಠ
Scroll your mouse wheel over your windows taskbar and change your volume!Code: [Select]#If MouseIsOver("ahk_class Shell_TrayWnd")
WheelUp::Send {Volume_Up}
WheelDown::Send {Volume_Down}
MouseIsOver(WinTitle)
{
MouseGetPos,,, Win
return WinExist(WinTitle . " ahk_id " . Win)
}
#+L::
Shutdown 0
return
CapsLock::
*+CapsLock::
*!CapsLock::
*^CapsLock::
return
#CapsLock::
getkeystate,caps,capslock,t
if caps = D
setcapslockstate,off
else
setcapslockstate,on
return
return
#Pause::
DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0)
return
It's like the Windows key is "stuck" without a break. H won't type until I hit the Windows key (took a while to figure this one out - thought Webwit gave me a virus).I had this problem too I think it depends on your release order of the keys.
Scroll your mouse wheel over your windows taskbar and change your volume!Code: [Select]#If MouseIsOver("ahk_class Shell_TrayWnd")
WheelUp::Send {Volume_Up}
WheelDown::Send {Volume_Down}
MouseIsOver(WinTitle)
{
MouseGetPos,,, Win
return WinExist(WinTitle . " ahk_id " . Win)
}
This one gives me an odd behaviour.Code: [Select];Win+F6 to send RipOmeter url
#F6::Send [url=http://geekhack.org/showwiki.php?title=Island:6189]RipOmeter[/h]
return
It's like the Windows key is "stuck" without a break. H won't type until I hit the Windows key (took a while to figure this one out - thought Webwit gave me a virus).
#F6::
Send [url=http://geekhack.org/showwiki.php
Send ?title=Island:6189]RipOmeter[/h]
return
We should post the OS we're using. I tested this on a VM and confirmed it only works in Windows XP. Doesn't work in W7. I really like this script though.
+Pause::Send {Media_Next}
return
+PrintScreen::Send {Media_Prev}
return
+ScrollLock::Send {Media_Play_Pause}
return
!WheelDown::Send {Volume_Down}
!WheelUp::Send {Volume_Up}
!Mbutton::Send {Volume_Mute}
^!LControl::Suspend ;Some games need capslock
capslock::Lcontrol
!+WheelDown::Send {Media_Next}
return
!+WheelUp::Send {Media_Prev}
return
!+Mbutton::Send {Media_Play_Pause}
return
We should post the OS we're using. I tested this on a VM and confirmed it only works in Windows XP. Doesn't work in W7. I really like this script though.
This one gives me an odd behaviour.Code: [Select]
;Win+F6 to send RipOmeter url
#F6::Send [url=http://geekhack.org/showwiki.php?title=Island:6189]RipOmeter[/h]
return
It's like the Windows key is "stuck" without a break. H won't type until I hit the Windows key (took a while to figure this one out - thought Webwit gave me a virus).
#F6::
Clipboard = [url=http://geekhack.org/showwiki.php?title=Island:6189]RipOmeter[/h]
Send ^v
return
I would use the clipboard for such long things:Code: [Select]#F6::
Clipboard = [url=http://geekhack.org/showwiki.php?title=Island:6189]RipOmeter[/h]
Send ^v
return
I'm running this script on Win 7 Ultimate x64 and XP x86 and it works fine on both machine.
Extra points if you save the previous clipboard contents and put them back when you're done.
#F6::
ClipSaved := ClipboardAll
Clipboard = [url=http://geekhack.org/showwiki.php?title=Island:6189]RipOmeter[/h]
Send ^v
Clipboard := ClipSaved
ClipSaved =
return
PRINTSCREEN::
Run C:\Windows\Sysnative\SnippingTool.exe
return
Have always found this one quite useful...and simple!Code: [Select]PRINTSCREEN::
Run C:\Windows\Sysnative\SnippingTool.exe
return
**w/ Win7
I'm using this script (http://www.autohotkey.com/forum/topic49219.html) for volume in windows 7, I love having the little display.
Thanks for the printscreen -> SnippingTool idea, that's pretty slick.
AHK rocks. Right now I'm only using it for launching specific programs with Win+Alt combinations.
I'm working on mashing a few scripts that create a new 'tenlock' function, which results in flashing both the scroll and caps LEDs when it's enabled.
Also have a hack of a script available from the AHK forums that does volume on my mouse wheel (with Win-key) with an OSD.
I'm using this script (http://www.autohotkey.com/forum/topic49219.html) for volume in windows 7, I love having the little display.
That's the volume script I'm using modified to the Win+mousewheel and win+0/-/= (mute/down/up)
alaricljs, where can I find your mouse wheel volume script with OSD? Thanks.
#NoEnv
#SingleInstance force
SendMode Input
;SetFormat, float, 0.0
;SetBatchLines 10ms
SetBatchLines -1
SetTitleMatchMode 2
DetectHiddenWindows On
CoordMode Mouse, Screen
;COM_Init()
vol_Master := VA_GetMasterVolume()
; The percentage by which to raise or lower the volume each time
vol_Step = 3
; How long to display the volume level bar graphs (in milliseconds)
vol_DisplayTime = 1000
; Transparency of window (0-255)
vol_TransValue = 255
; Transparent background (1/0/true/false) (takes precedence over Window trans,
; can have only 1 or other, not both)
vol_TransBack = 0
; Bar's background colour
vol_CW = Black
vol_Width = 200 ; width of bar
vol_Thick = 20 ; thickness of bar
; Bar's screen position
;vol_PosX := A_ScreenWidth - vol_Width - 50
;vol_PosY := A_ScreenHeight - vol_Thick - 100
vol_PosX := 250
vol_PosY := A_ScreenHeight - vol_Thick - 100
; --------------------
; END OF CONFIGURATION
; --------------------
vol_BarOptionsMaster = 1:B ZH%vol_Thick% ZX8 ZY4 W%vol_Width% X%vol_PosX% Y%vol_PosY% CW%vol_CW%
vol_MuteChange = 0
return
;------------ End if initialization section ----------------
;Exit
$Volume_Down::
#WheelDown::
#-::
If vol_Master > .01
VA_SetMasterVolume(vol_Master-=vol_Step)
Gosub, vol_ShowBars
return
$Volume_Up::
#WheelUp::
#=::
If vol_Master <= 99
VA_SetMasterVolume(vol_Master+=vol_Step)
Gosub, vol_ShowBars
return
Volume_Mute::
#MButton::
#0::
If ( VA_GetMasterMute() ) {
VA_SetMasterMute(False)
vol_MuteChange = 1
} Else {
VA_SetMasterMute(True)
vol_MuteChange = 1
}
Gosub, vol_ShowBars
return
#o::
Send {Media_Stop}
return
#p::
Send {Media_Play_Pause}
return
#[::
Send {Media_Prev}
return
#]::
Send {Media_Next}
return
; Start Winamp or Open Music Folder
; Player Window
; M:\
#\::
Launch_Media::
IfWinExist Player Window
IfWinExist M:\
IfWinActive M:\
WinClose
else
WinActivate
else
Run M:\
else
Run C:\Program Files (x86)\Winamp\winamp.exe
return
;------------------- Start Volume display ------------------------
vol_ShowBars:
; Get volumes in case the user or an external program changed them:
vol_Master := VA_GetMasterVolume()
vol_Mute := VA_GetMasterMute()
if (vol_Mute)
{
vol_Colour = Red
vol_Text = Volume (muted)
}
else
{
vol_Colour = Green
vol_Text = Volume
}
; To prevent the "flashing" effect, only create the bar window if it doesn't already exist:
NED := 0
IfWinNotExist, VolumeOSDxyz
NED := 1
If (vol_MuteChange or NED)
{
Progress, %vol_BarOptionsMaster% CB%vol_Colour% CT%vol_Colour%, , %vol_Text%, VolumeOSDxyz
WinSet, Transparent, %vol_TransValue%, VolumeOSDxyz
if (vol_TransBack)
WinSet, TransColor, %vol_CW%, VolumeOSDxyz
vol_MuteChange = 0
}
Progress, 1:%vol_Master%, , %vol_Text%
SetTimer, vol_BarOff, %vol_DisplayTime%
return
vol_BarOff:
SetTimer, vol_BarOff, off
Progress, 1:Off
return
;-------------------- End Volume display -------------------------
Ok, so that link above is to the original source at AHK, it requires this library (http://www.autohotkey.com/forum/topic23792.html). And here's my hacked up version that includes win-mousewheel and some other mods. Note also the Win-o/p/[/]/\ media controls.Code: [Select]
#NoEnv
#SingleInstance force
SendMode Input
;SetFormat, float, 0.0
;SetBatchLines 10ms
SetBatchLines -1
SetTitleMatchMode 2
DetectHiddenWindows On
CoordMode Mouse, Screen
;COM_Init()
vol_Master := VA_GetMasterVolume()
; The percentage by which to raise or lower the volume each time
vol_Step = 3
; How long to display the volume level bar graphs (in milliseconds)
vol_DisplayTime = 1000
; Transparency of window (0-255)
vol_TransValue = 255
; Transparent background (1/0/true/false) (takes precedence over Window trans,
; can have only 1 or other, not both)
vol_TransBack = 0
; Bar's background colour
vol_CW = Black
vol_Width = 200 ; width of bar
vol_Thick = 20 ; thickness of bar
; Bar's screen position
;vol_PosX := A_ScreenWidth - vol_Width - 50
;vol_PosY := A_ScreenHeight - vol_Thick - 100
vol_PosX := 250
vol_PosY := A_ScreenHeight - vol_Thick - 100
; --------------------
; END OF CONFIGURATION
; --------------------
vol_BarOptionsMaster = 1:B ZH%vol_Thick% ZX8 ZY4 W%vol_Width% X%vol_PosX% Y%vol_PosY% CW%vol_CW%
vol_MuteChange = 0
return
;------------ End if initialization section ----------------
;Exit
$Volume_Down::
#WheelDown::
#-::
If vol_Master > .01
VA_SetMasterVolume(vol_Master-=vol_Step)
Gosub, vol_ShowBars
return
$Volume_Up::
#WheelUp::
#=::
If vol_Master <= 99
VA_SetMasterVolume(vol_Master+=vol_Step)
Gosub, vol_ShowBars
return
Volume_Mute::
#MButton::
#0::
If ( VA_GetMasterMute() ) {
VA_SetMasterMute(False)
vol_MuteChange = 1
} Else {
VA_SetMasterMute(True)
vol_MuteChange = 1
}
Gosub, vol_ShowBars
return
#o::
Send {Media_Stop}
return
#p::
Send {Media_Play_Pause}
return
#[::
Send {Media_Prev}
return
#]::
Send {Media_Next}
return
; Start Winamp or Open Music Folder
; Player Window
; M:\
#\::
Launch_Media::
IfWinExist Player Window
IfWinExist M:\
IfWinActive M:\
WinClose
else
WinActivate
else
Run M:\
else
Run C:\Program Files (x86)\Winamp\winamp.exe
return
;------------------- Start Volume display ------------------------
vol_ShowBars:
; Get volumes in case the user or an external program changed them:
vol_Master := VA_GetMasterVolume()
vol_Mute := VA_GetMasterMute()
if (vol_Mute)
{
vol_Colour = Red
vol_Text = Volume (muted)
}
else
{
vol_Colour = Green
vol_Text = Volume
}
; To prevent the "flashing" effect, only create the bar window if it doesn't already exist:
NED := 0
IfWinNotExist, VolumeOSDxyz
NED := 1
If (vol_MuteChange or NED)
{
Progress, %vol_BarOptionsMaster% CB%vol_Colour% CT%vol_Colour%, , %vol_Text%, VolumeOSDxyz
WinSet, Transparent, %vol_TransValue%, VolumeOSDxyz
if (vol_TransBack)
WinSet, TransColor, %vol_CW%, VolumeOSDxyz
vol_MuteChange = 0
}
Progress, 1:%vol_Master%, , %vol_Text%
SetTimer, vol_BarOff, %vol_DisplayTime%
return
vol_BarOff:
SetTimer, vol_BarOff, off
Progress, 1:Off
return
;-------------------- End Volume display -------------------------
I experienced that AHK keyboard scripts won't work if you type fast enough, around 50 wpm.
RControl::LWin
i think you can get the windows key by hitting the shift and cntrl or some combo like that.
How to remap Caps Lock to another key
For Linux users (on an X environment like KDE, Gnome), it’s pretty easy to remap keys using the xmodmap command.
For Windows users, there are programs that will remap keys for you but if you’re not afraid to tinker with your registry, you can do this manually and it only requires adding one registry value:
Go to Start->Run and type in ‘regedit’ to open the registry editor.
Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
Note: Keyboard Layout, not Keyboard Layouts!
Go to Edit->New->Binary Value and name it ‘Scancode Map’
Now double-click and edit the value to the following, replacing ## ## with the scan code of the key you wish to map caps lock to.
00 00 00 00 00 00 00 00 02 00 00 00 ## ## 3a 00 00 00 00 00
The scan code for Windows Key is 5B E0, Esc is 01 00, Ctrl is 1D 00. Full list of scan codes and a more detailed tutorial is here.
Reboot your computer and say goodbye to caps lock!
...My problem is that when I release the RControl after hitting Up then the start menu pops up and I have to hit RControl again in order to make it go away. Is there a way to make it act like a normal LWin key and not pop up on the release of RControl?
; Caps Lock becomes Ctrl, Win+LShift becomes Caps Lock
CapsLock::Ctrl
#Lshift::Capslock
Scroll your mouse wheel over your windows taskbar and change your volume!Code: [Select]#If MouseIsOver("ahk_class Shell_TrayWnd")
WheelUp::Send {Volume_Up}
WheelDown::Send {Volume_Down}
MouseIsOver(WinTitle)
{
MouseGetPos,,, Win
return WinExist(WinTitle . " ahk_id " . Win)
}
;; Auto-Reload If Changes Are Made
{
SetTimer,UPDATEDSCRIPT,1000
UPDATEDSCRIPT:
FileGetAttrib,attribs,%A_ScriptFullPath%
IfInString,attribs,A
{
FileSetAttrib,-A,%A_ScriptFullPath%
SplashTextOn,,,Updated script,
Sleep,500
Reload
}
Return
}
Capslock::
Gui, 99:+ToolWindow
Gui, 99:Show, x-1 y-1 +NoActivate, Dummy IJKL to Arrow Keys
Keywait, Capslock
If A_ThisHotkey != Capslock
Gui, 99:Destroy
else Gui, 99:Show, x-1 y-1 +NoActivate, Dummy IJKL to Arrow Keys +CapsToCancel
return
#IfWinExist, Dummy IJKL to Arrow Keys +CapsToCancel
Capslock::return
CapsLock Up::Gui, 99:Destroy
#IfWinExist, Dummy IJKL to Arrow Keys
w::Up
a::Left
s::Down
d::Right
#IfWinExist
Anyone have any idea how to make the sleep button on my windows media center remote do alt+f4 instead of sleep?
it should have scamcode just like play pause or any of those other special keys. How would I figure it out? Would aqua key test do?Anyone have any idea how to make the sleep button on my windows media center remote do alt+f4 instead of sleep?
I wouldn't even have the slightest clue. I'd be willing to bet you can't remap that button though. But if it had a scancode attached you'd be good to go.
it should have scamcode just like play pause or any of those other special keys. How would I figure it out? Would aqua key test do?Anyone have any idea how to make the sleep button on my windows media center remote do alt+f4 instead of sleep?
I wouldn't even have the slightest clue. I'd be willing to bet you can't remap that button though. But if it had a scancode attached you'd be good to go.
it should have scamcode just like play pause or any of those other special keys. How would I figure it out? Would aqua key test do?Anyone have any idea how to make the sleep button on my windows media center remote do alt+f4 instead of sleep?
I wouldn't even have the slightest clue. I'd be willing to bet you can't remap that button though. But if it had a scancode attached you'd be good to go.
Open the Autohotkey script by right clicking it on the taskbar then click Ctrl+K or go under View and click the option "Key history and script info."
f1::
Run, firefox.exe http://geekhack.org/index.php?action=pm
return
f2::
Run, firefox.exe http://geekhack.org/index.php?topic=38471.0
return
you need an escape char for semi colon. `; will work. (that's a grave accent).Scroll your mouse wheel over your windows taskbar and change your volume!Code: [Select]#If MouseIsOver("ahk_class Shell_TrayWnd")
WheelUp::Send {Volume_Up}
WheelDown::Send {Volume_Down}
MouseIsOver(WinTitle)
{
MouseGetPos,,, Win
return WinExist(WinTitle . " ahk_id " . Win)
}
Necroing the **** out of this thread to post a fixed version of this. Looks like no matter what, semicolons cannot be used for anything but comments. I couldn't get this to work until i replaced all the " with "
Running this on Win8 64 bit with no issues. Best script ever :D
can someone help me with a script? would like alt+wheel up = volume up, alt+wheel down = volume down.I'm pretty noobish at AHK, but this will do what you want:
need to be able to control master volume control while gaming with my headphones.
LAlt & WheelUp::
SoundSet +1
Return
LAlt & WheelDown::
Soundset -1
Return
RCtrl & F5::
ResizeWin(773,567,1)
return
RCtrl & F6::
ResizeWin(720,480,1)
return
RCtrl & F7::
ResizeWin(1280,720,1)
return
RCtrl & F8::
ResizeWin(1920,1080,1)
return
ResizeWin(CW=0,CH=0,SnapToCorner=0)
{
WinGetPos,X,Y,W,H,A
If %CW% = 0
CW := W
If %CH% = 0
CH := H
If SnapToCorner = 1
{
CX := A_ScreenWidth-CW
CY := A_ScreenHeight-CH
}
Else If SnapToCorner = 2
{
CX := 62
CY := A_ScreenHeight-CH
}
Else
{
CX := X
CY := Y
}
WinMove,A,,%CX%,%CY%,%CW%,%CH%
}
SC121::Media_Stop
sc16b::Media_Prev
sc16c::Media_Play_Pause
sc132::Media_Next
Anyone have any idea how to make the sleep button on my windows media center remote do alt+f4 instead of sleep?
I'm pretty noobish at AHK, but this will do what you want:Code: [Select]LAlt & WheelUp::
SoundSet +1
Return
LAlt & WheelDown::
Soundset -1
Return
!F2::
ClipSaved := ClipboardAll
Clipboard =
ValidFiletypes = jpg png gif jpeg bmp tif pdf
Send ^c
ClipWait
FullPath := Clipboard
Loop, parse, FullPath, `n, `r
{
IfNotExist, %A_Loopfield%
continue
SplitPath, A_Loopfield ,,, OutExt,
IfInString, ValidFiletypes, %OutExt%
run, photoshop.exe %A_LoopField%
}
Clipboard := ClipSaved
OutExt =
ClipSaved =
return
SendMode Input
; function keys
*<^>!SC002:: Send {Blind}{RAlt up}{F1}{RAlt down}
*<^>!SC003:: Send {Blind}{RAlt up}{F2}{RAlt down}
*<^>!SC004:: Send {Blind}{RAlt up}{F3}{RAlt down}
*<^>!SC005:: Send {Blind}{RAlt up}{F4}{RAlt down}
*<^>!SC006:: Send {Blind}{RAlt up}{F5}{RAlt down}
*<^>!SC007:: Send {Blind}{RAlt up}{F6}{RAlt down}
*<^>!SC008:: Send {Blind}{RAlt up}{F7}{RAlt down}
*<^>!SC009:: Send {Blind}{RAlt up}{F8}{RAlt down}
*<^>!SC00A:: Send {Blind}{RAlt up}{F9}{RAlt down}
*<^>!SC00B:: Send {Blind}{RAlt up}{F10}{RAlt down}
*<^>!SC00C:: Send {Blind}{RAlt up}{F11}{RAlt down}
*<^>!SC00D:: Send {Blind}{RAlt up}{F12}{RAlt down}
*<^>!SC02B:: Send {Blind}{RAlt up}{PrintScreen}{RAlt down}
*<^>!SC00E:: Send {Blind}{RAlt up}{ScrollLock}{RAlt down}
*<^>!SC001::
Send {Blind}{RAlt up}
GetKeyState, state, Ctrl
if state = D
Send {Blind}{CtrlBreak}
else
Send {Blind}{Pause}
Send {Blind}{RAlt down}
return
; cursor block
*<^>!Up:: Send {Blind}{RAlt up}{PgUp}{RAlt down}
*<^>!Down:: Send {Blind}{RAlt up}{PgDn}{RAlt down}
*<^>!Left:: Send {Blind}{RAlt up}{Home}{RAlt down}
*<^>!Right:: Send {Blind}{RAlt up}{End}{RAlt down}
*<^>!Del:: Send {Blind}{RAlt up}{Ins}{RAlt down}
; tilde on dot
*<^>!SC034:: Send {Blind}{RAlt up}{SC029}{RAlt down}
Put this together, it makes alt+F2 open the selected file in Photoshop.Quote!F2::
ClipSaved := ClipboardAll
Clipboard =
ValidFiletypes = jpg png gif jpeg bmp tif pdf
Send ^c
ClipWait
FullPath := Clipboard
Loop, parse, FullPath, `n, `r
{
IfNotExist, %A_Loopfield%
continue
SplitPath, A_Loopfield ,,, OutExt,
IfInString, ValidFiletypes, %OutExt%
run, photoshop.exe %A_LoopField%
}
Clipboard := ClipSaved
OutExt =
ClipSaved =
return
Any way to auto load the program at start up? Thanks !
Any way to auto load the program at start up? Thanks !
Yup I have done it, there is a little program that comes with Autohotkey that turns your script into an exe then you just set that exe to run at startup.
; --------------------------------------------------------------------
; Nordic HHKB Function - Less/Greater Than "<" ">"
; Left Alt + Z = "<"
!z::
{
SendInput {<}
}
return
; Left Alt + Shift + Z = ">"
+!z::
{
SendInput {>}
}
return
; --------------------------------------------------------------------
; Nordic HHKB Function - Backslash "\"
; Right Alt + Z = "\"
<^>!z::
{
SendInput {\}
}
return
Also, sorry for necro - I just wanted to share in case someone would find it useful.
Title = ahk_class #32770 ahk_exe sndvol.exe
Loop
{
; ToolTip, Searching
WinWait, %Title%
; ToolTip, Found
Winmove, %Title%,,,,900,
WinWaitClose, %Title%
}
#If MouseIsOverTitlebar()
MButton::WinMinimize
+MButton::WinClose
MouseIsOverTitlebar() {
static WM_NCHITTEST := 0x84, HTCAPTION := 2
CoordMode Mouse, Screen
MouseGetPos x, y, w
if WinExist("ahk_class Shell_TrayWnd ahk_id " w) ; Exclude taskbar.
return false
SendMessage WM_NCHITTEST,, x | (y << 16),, ahk_id %w%
WinExist("ahk_id " w) ; Set Last Found Window for convenience.
return ErrorLevel = HTCAPTION
}
#IfWinActive ahk_class ConsoleWindowClass
^V::
SendInput {Raw}%clipboard%
return
#IfWinActive
#IfWinActive, ahk_class WordPadClass ; WordPad
^+v::
Clip0 = %ClipBoardAll%
ClipBoard = %ClipBoard% ; Convert to plain text
Send ^v
Sleep 1000
ClipBoard = %Clip0%
VarSetCapacity(Clip0, 0) ; Free memory
Return
if(somevar=true){//
}//end if--somevar=true
And then alt-e does the same thing but for an if/else statement;;do "if"
!i::
;;save what's currently on the clipboard
varClipSaved :=ClipboardAll
Sleep, 133
Send {Shift down}{Home}{Shift up}^c
Sleep, 133
Send if`(
Send %Clipboard%
Send `){{}{/ 2}{Enter 2}{}}{End}{/ 2}end if--
Send %Clipboard%
Send {Up }{End}{Tab}
;;restore what was originally on the clipboard
Clipboard := varClipSaved
;;empty that temp clipboard variable, to free that memory (in case you had a lot of crap there)
varClipSaved :=
return
;;do "if/else",
!e::
;;save what's currently on the clipboard
varClipSaved :=ClipboardAll
Sleep, 133
Send {Shift down}{Home}{Shift up}^c
Sleep, 133
Send if`(
Send %Clipboard%
Send `){{}{/ 2}{Enter 2}{}}{End}{/ 2}end if--
Send %Clipboard%
Send {Enter}else{{}{Enter}{Tab}{Enter}{}}{/ 2}end else--
Send %Clipboard%
Send {Home}{Up 4}{Tab}
;;restore what was originally on the clipboard
Clipboard := varClipSaved
;;empty that temp clipboard variable, to free that memory (in case you had a lot of crap there)
varClipSaved :=
return
::fff::function
::sss::select * from
::pv::private
::pb::public
::pt::protected
::vv::Vector3
::vz::Vector3.zero
::vd::Vector3.Distance(){Left}
::qqq::Quaternion
::gg::gameObject ;; gg doesn't come up too often naturally
::pp::transform.position ;;similarly, pp is pretty safe
::rrt::transform.rotation ;; tr, rt, and rot, are to common for this, so rrt has to suffice.