summaryrefslogtreecommitdiffstats
path: root/ahk-assistant.ahk
diff options
context:
space:
mode:
authorbreadcat2015-04-19 13:47:29 +0100
committerbreadcat2015-04-19 13:47:29 +0100
commit1aa9623655eed23e8818fc930a7b189c6b6c48c4 (patch)
tree135370ebb4a27382beae0e4e90553f99662c480d /ahk-assistant.ahk
parenta62b6fa6954ed61c199315756bac847e458aa3d9 (diff)
downloadahka-1aa9623655eed23e8818fc930a7b189c6b6c48c4.tar.gz
ahka-1aa9623655eed23e8818fc930a7b189c6b6c48c4.tar.bz2
ahka-1aa9623655eed23e8818fc930a7b189c6b6c48c4.zip
Small improvements
Added a couple of functions, improvements, casing changes etc.
Diffstat (limited to 'ahk-assistant.ahk')
-rw-r--r--ahk-assistant.ahk16
1 files changed, 13 insertions, 3 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index 1ca7b48..b6f0c40 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -33,7 +33,8 @@ SetNumLockState, AlwaysOn
#t::launchTerminal()
#+t::Run cmd
^!t::pasteTelephone()
-#y::send,{end}{shift down}{home}{shift up}{del}https://www.youtube.com/watch?v={ctrl down}v{ctrl up} ;create youtube link from ID
+#Enter::dialTelephone()
+#y::send {end}{shift down}{home}{shift up}https://www.youtube.com/v/^v ;create youtube link from ID and bypass age restrictions
^!b::Run %programfiles%\TeamViewer\Version9\TeamViewer.exe
^!v::Run %programfiles%\TightVNC\tvnviewer.exe
#p::Run "%ProgramFilesX86%\PuTTY\putty.exe" ;putty
@@ -47,8 +48,8 @@ RAlt & j::ShiftAltTab
RAlt & k::AltTab
CapsLock::BackSpace
!^0::Send {Volume_Mute} ;C-A-0 volume mute toggle
-!^-::Send {Volume_Down} ;C-A-- volume down
-!^=::Send {Volume_Up} ;C-A-+ volume up
+!^-::Send {Volume_Down 3} ;C-A-- volume down
+!^=::Send {Volume_Up 3} ;C-A-+ volume up
^!+Up::run %A_ScriptDir%\resswitch.exe /WIDTH:1920 /HEIGHT:1080 ;1080p screen resolution
^!+Down::run %A_ScriptDir%\resswitch.exe /WIDTH:1280 /HEIGHT:720 ;720p screen resolution
XButton1::Send {Click 2} ;remap logitech m570 x1 to double click
@@ -59,6 +60,10 @@ Insert::appendClipboard()
^!Space::toggleAudioDevice()
!LButton::kdeMove()
!RButton::kdeResize()
+RAlt & Up::MouseMove, 0, -1, 2, R
+RAlt & Down::MouseMove, 0, 1, 2, R
+RAlt & Left::MouseMove, -1, 0, 2, R
+RAlt & Right::MouseMove, 1, 0, 2, R
;tiling
#Up::WinMaximize, A
@@ -178,6 +183,11 @@ Ralt & e::typeAcuteE() ;awful, awful workaround
^!+n::explorerNewFile()
#IfWinActive
+#IfWinActive ahk_class ShockwaveFlashFullScreen ;full screen flash
+ Ralt & Enter:: ;overflow
+ Alt & Enter::flashFullscreen() ;leave flash full screen with a keyboard command
+#IfWinActive
+
#IfWinActive ahk_class FontViewWClass ;font previewer
CapsLock::Send !{F4} ;quit
#IfWinActive