ahka

Assorted ease-of-use and functionality tools using AutoHotkey.
Log | Files | Refs

commit cd1960eefdc6a3b6cbf3fb5fc5b2aa16ab559844
parent eab47ccad2d166bed9662ec7761327143a2243e6
Author: breadcat <sendforththegunboats@gmail.com>
Date:   Thu, 29 Aug 2013 15:49:38 +0100

Further XP additions

Diffstat:
Mappspecific.ahk | 7++++++-
Mborders.ahk | 10++--------
2 files changed, 8 insertions(+), 9 deletions(-)

diff --git 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 @@ -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" {