diff options
-rw-r--r-- | appspecific.ahk | 7 | ||||
-rw-r--r-- | borders.ahk | 10 |
2 files changed, 8 insertions, 9 deletions
diff --git a/appspecific.ahk b/appspecific.ahk index fef2de9..e05c6f7 100644 --- a/appspecific.ahk +++ b/appspecific.ahk @@ -25,13 +25,18 @@ Return #IfWinActive -;photoviewer +;photoviewer 7 #IfWinActive ahk_class Photo_Lightweight_Viewer Capslock::Send !{F4} ;quit Up::Return ;removes annoying feature where up/down stops left/right naviagation Down::Return #IfWinActive +;photoviewer xp +#IfWinActive ahk_class ShImgVw:CPreviewWnd + Capslock::Send !{F4} ;quit +#IfWinActive + ;mpc-hc #IfWinActive ahk_class MediaPlayerClassicW 1::Send 2^1 ;1 keeps borders diff --git a/borders.ahk b/borders.ahk index 0261e6e..b19d707 100644 --- a/borders.ahk +++ b/borders.ahk @@ -1,5 +1,3 @@ -;window border removal ahk script -;for use at work, on XP ;doesn't work via include, must run standalone @@ -43,10 +41,7 @@ AdjustWindow(id) { WinSet, Style, -0xC00000, %WinTitle% } - - - - If WinClass In % "ShImgVw:CPreviewWnd" + If WinClass In % "ShImgVw:CPreviewWnd" ;windows xp image viewer { WinSet, Style, -0xC00000, %WinTitle% } @@ -62,7 +57,7 @@ AdjustWindow(id) { WinSet, Style, -0xC00000, %WinTitle% } - If WinProcess In % "7zFM.exe" + If WinProcess In % "7zFM.exe" ;7zip { WinSet, Style, -0xC00000, %WinTitle% } @@ -81,7 +76,6 @@ AdjustWindow(id) If WinProcess In % "outlook.exe" { WinSet, Style, -0xC00000, %WinTitle% - Winset, AlwaysOnTop, off, %WinTitle% } If WinProcess In % "winword.exe" { |