| Author |
Message |
Topic: WmiMonitorBrightness Class & AHK_L |
instantrunoff
Replies: 2
Views: 283
|
Forum: Ask for Help Posted: Mon Oct 10, 2011 5:16 pm Subject: WmiMonitorBrightness Class & AHK_L |
Here's an example:service := "winmgmts:{impersonationLevel=impersonate}!\\.\root\WMI"
query := "SELECT * FROM WmiMonitorBrightness"
wmbItems := ComObj ... |
Topic: WinSet and DWMWINDOWATTRIBUTE enumeration |
instantrunoff
Replies: 0
Views: 251
|
Forum: Wish List Posted: Mon Oct 10, 2011 4:50 pm Subject: WinSet and DWMWINDOWATTRIBUTE enumeration |
| I'll admit, I don't understand what "enumeration" means, but I really wish I could use AutoHotkey to set the following Desktop Window Manager (DWM) properties for windows. If anyone has a wo ... |
Topic: DllCall ("dwmapi.dll\...") |
instantrunoff
Replies: 6
Views: 250
|
Forum: Ask for Help Posted: Mon Oct 10, 2011 4:50 pm Subject: DllCall ("dwmapi.dll\...") |
I recommend reading about enumerated types. I'm sure you'll figure it out. :)
I don't know where to start, but I'm interested in setting DWMWA_EXCLUDED_FROM_PEEK. How could that be done for a wind ... |
Topic: WmiMonitorBrightness Class & AHK_L |
instantrunoff
Replies: 2
Views: 283
|
Forum: Ask for Help Posted: Sun Jun 26, 2011 6:50 pm Subject: WmiMonitorBrightness Class & AHK_L |
| I really wish I understood [url=http://www.autohotkey.com/forum/viewtopic.php?t=65688]WMI Tasks COM with AHK_L, because I'd like to retrieve the current display brightness and supported brightness lev ... |
Topic: Brightness Monitor |
instantrunoff
Replies: 7
Views: 704
|
Forum: Ask for Help Posted: Sun Feb 27, 2011 10:10 pm Subject: Brightness Monitor |
| I've been curious about this as well for quite a while. It appears that Windows Vista or at least Windows 7 supports this programmatically, but I don't know how to take advantage of ACPI_NOTIFY_INC_BR ... |
Topic: Help Me Translate a little C# to AHK |
instantrunoff
Replies: 0
Views: 359
|
Forum: Ask for Help Posted: Wed Sep 29, 2010 1:06 pm Subject: Help Me Translate a little C# to AHK |
I'm interested in developing an AHK using System;
using System.Collections.Generic;
using System.Text;
namespace DisplayBrightnessConsole
{
class Program
{
static vo ... |
Topic: Fullscreen class on Windows Media Player 12 |
instantrunoff
Replies: 10
Views: 1555
|
Forum: Ask for Help Posted: Fri Sep 03, 2010 1:33 am Subject: Fullscreen class on Windows Media Player 12 |
| I would really like to revive this thread please because I'm having the exact same problem, win7 64 bit, script works for wmp in windowed mode but not fullscreen. Window Spy shows CWmpControlCntrl, bu ... |
Topic: Fullscreen class on Windows Media Player 12 |
instantrunoff
Replies: 10
Views: 1555
|
Forum: Ask for Help Posted: Tue Jul 27, 2010 10:59 am Subject: Fullscreen class on Windows Media Player 12 |
| Has anyone found a solution? I find it impossible to control WMP 12 fullscreen (Win7 64). In fullscreen, AHK's Window Spy shows "FullScreenTopLayout" as the window title. The ahk_class alter ... |
Topic: Slider tooltip bug when Invert is used (Gui) |
instantrunoff
Replies: 4
Views: 767
|
Forum: Ask for Help Posted: Thu Apr 08, 2010 3:53 pm Subject: Slider tooltip bug when Invert is used (Gui) |
| Has anybody found a workaround for this? |
Topic: Automatically Add Open Explorer Windows to Links: Open/Save |
instantrunoff
Replies: 0
Views: 397
|
Forum: Scripts & Functions Posted: Mon Mar 22, 2010 11:40 pm Subject: Automatically Add Open Explorer Windows to Links: Open/Save |
| This code is working nicely in Windows 7, but I'm curious if there are any adjustments necessary for Windows Vista or XP. Since the path isn't necessarily in the Explorer window title, I got it from t ... |
Topic: How to Get the Paths of All Open Explorer Windows? |
instantrunoff
Replies: 6
Views: 784
|
Forum: Ask for Help Posted: Mon Mar 22, 2010 11:35 pm Subject: How to Get the Paths of All Open Explorer Windows? |
I did it as 2 loops just to make it easier to read, but it could easily be done as 1.
^A::
WinGet, id, list,,
count:=
Loop, %id%
{
window := id%A_Index%
WinGetTitle ... |
Topic: How to Get the Paths of All Open Explorer Windows? |
instantrunoff
Replies: 6
Views: 784
|
Forum: Ask for Help Posted: Mon Mar 22, 2010 10:47 pm Subject: How to Get the Paths of All Open Explorer Windows? |
Try this:
SetTitleMode, RegEx
match:="ahk_class (?:Cabinet|Explore)WClass"
WinGet, wList, List, %match%
Loop % wList {
ControlGetText, wPath, Edit1, % "ahk ... |
Topic: How to Get the Paths of All Open Explorer Windows? |
instantrunoff
Replies: 6
Views: 784
|
Forum: Ask for Help Posted: Sun Feb 28, 2010 4:28 pm Subject: How to Get the Paths of All Open Explorer Windows? |
| Does someone have a trick for this? I bet there must be a clever way of doing this I just don't see. |
Topic: Variables to differentiate between 32 and 64 bit? |
instantrunoff
Replies: 4
Views: 2485
|
Forum: Ask for Help Posted: Mon Feb 15, 2010 8:42 pm Subject: Variables to differentiate between 32 and 64 bit? |
| I think there needs to be variables to handle scripts so that they can run as expected whether on 32-bit Windows or 64-bit Windows. The workarounds are just too cumbersome and should just be integrate ... |
Topic: How to Maximize All Windows of Active Application? |
instantrunoff
Replies: 1
Views: 256
|
Forum: Ask for Help Posted: Sun Feb 14, 2010 10:27 pm Subject: How to Maximize All Windows of Active Application? |
I guess this works:
+CapsLock::
WinGet, mx, MinMax, A
If(mx = 0)
{
WinGetClass, gclass, A
g2max := A_TickCount
GroupAdd, %g2max%, ahk_class %gclass%
WinMaximi ... |
| |