From cd1960eefdc6a3b6cbf3fb5fc5b2aa16ab559844 Mon Sep 17 00:00:00 2001 From: breadcat Date: Thu, 29 Aug 2013 15:49:38 +0100 Subject: Further XP additions --- appspecific.ahk | 7 ++++++- 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" { -- cgit v1.2.3