summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbreadcat2013-08-29 15:49:38 +0100
committerbreadcat2013-08-29 15:49:38 +0100
commitcd1960eefdc6a3b6cbf3fb5fc5b2aa16ab559844 (patch)
tree2134f6ea0f675c23d1eb2ca8a6f76477cd58c962
parenteab47ccad2d166bed9662ec7761327143a2243e6 (diff)
downloadahka-cd1960eefdc6a3b6cbf3fb5fc5b2aa16ab559844.tar.gz
ahka-cd1960eefdc6a3b6cbf3fb5fc5b2aa16ab559844.tar.bz2
ahka-cd1960eefdc6a3b6cbf3fb5fc5b2aa16ab559844.zip
Further XP additions
-rw-r--r--appspecific.ahk7
-rw-r--r--borders.ahk10
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"
{