summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter2014-03-30 22:17:53 +0100
committerPeter2014-03-30 22:17:53 +0100
commitc795444677d4aa1e4ac1c0e308e392d9e86ee96f (patch)
tree5b69d170b9452d9205b3293546637461539667ee
parent0fa601cf4ac7eedb8d00961150313a6db2726626 (diff)
downloadahka-c795444677d4aa1e4ac1c0e308e392d9e86ee96f.tar.gz
ahka-c795444677d4aa1e4ac1c0e308e392d9e86ee96f.tar.bz2
ahka-c795444677d4aa1e4ac1c0e308e392d9e86ee96f.zip
Switch to Firefox (again), add a couple of things
-rw-r--r--ahk-assistant.ahk10
-rw-r--r--borders.ahk4
2 files changed, 12 insertions, 2 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index 8cb0291..dc8d11d 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -21,8 +21,8 @@ SetNumLockState, AlwaysOn
#q::Run notepad
^q::Send !{F4} ;quit most programs
#+q::Run notepad.exe "%A_MyDocuments%\Dropbox\docs\faulties.txt"
-#w::Run "C:\Program Files (x86)\Chromium\chrome.exe"
-#+w::Run "C:\Program Files (x86)\Chromium\chrome.exe" -incognito
+#w::Run firefox.exe
+#+w::Run firefox.exe -private
#e:: ;launch documents directory
if A_OSVersion in WIN_XP
{
@@ -108,6 +108,10 @@ if toggle := !toggle
}
return
+:*:ytv::
+ send,{end}{shift down}{home}{shift up}{del}
+ send,https://www.youtube.com/watch?v={ctrl down}v{ctrl up}
+return
;toggle between default audio output (http://ml.pe/optimizing/2013/changing-the-default-sound-device-using-autohotkey/)
^!Space::
@@ -158,6 +162,7 @@ return
::licenses::licences
::equivelants::equivalents
::attendent::attendant
+::propogate::propagate
;work stuff
::ctsty::Called to speak to you, their number is
::gtacb::Called to speak to you, can you give them a call back?
@@ -177,6 +182,7 @@ return
::emg80a::LG eMG80-KSUA
::emg80i::LG eMG80-KSUI
::emg80b::LG eMG80-BRIU2
+::emg80p::LG eMG80-PRIU
::emg80h::LG eMG80-HYB8
::ipecs50a::LG iPECS-LIK50A
::ipecs50b::LG iPECS-LIK50B
diff --git a/borders.ahk b/borders.ahk
index 4011e6b..ecc83d2 100644
--- a/borders.ahk
+++ b/borders.ahk
@@ -49,6 +49,10 @@ AdjustWindow(id)
{
WinSet, Style, -0xC00000, %WinTitle%
}
+ If WinClass In % "MozillaWindowClass" ;firefox
+ {
+ WinSet, Style, -0xC00000, %WinTitle%
+ }
If WinProcess In % "Photoshop.exe"
{
WinSet, Style, -0xC00000, %WinTitle%