| Author |
Message |
Topic: Can AHK detect external program menu selections |
svi
Replies: 6
Views: 255
|
Forum: Ask for Help Posted: Tue Jan 12, 2010 6:37 pm Subject: Can AHK detect external program menu selections |
It can be done in much simplier way.
You can use the following script to test which menu item selections q::
SendMessage, 0x1E1, 0, 0, , ahk_class #32768
hMenu := ErrorLevel
Loop, % ... |
Topic: Suggestions on documentation improvements |
svi
Replies: 92
Views: 15596
|
Forum: Bug Reports Posted: Mon Jan 11, 2010 11:29 pm Subject: Suggestions on documentation improvements |
A minimal error?:
To underline one of the letters in a menu item's name...
the "a" is in italic font. I can't imagine why, but maybe there is a reason? |
Topic: Can AHK detect external program menu selections |
svi
Replies: 6
Views: 255
|
Forum: Ask for Help Posted: Mon Jan 11, 2010 11:16 pm Subject: Can AHK detect external program menu selections |
...in an external program?
I modified Micha's standard windows context menus only!!!
;constants
MFS_HILITE = 0x80
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey re ... |
Topic: Turn Monitor Off and keep off until hotkey pressed |
svi
Replies: 7
Views: 277
|
Forum: Ask for Help Posted: Mon Jan 11, 2010 5:49 pm Subject: Turn Monitor Off and keep off until hotkey pressed |
None, your script works with Cathode Ray Tubes, because for them it takes time to warm up, so there's no flash when it's turned on for mostly half second.
I have a laptop with CRT, so I can't test it ... |
Topic: Searching for a old script that executes scripts from clipbo |
svi
Replies: 3
Views: 80
|
Forum: Ask for Help Posted: Sun Jan 10, 2010 8:28 pm Subject: Searching for a old script that executes scripts from clipbo |
| I use Lexikos' it also saved the script in sequence into a folderYou could easily add that (backup) function. |
Topic: Why is OnMessage() ignoring my message? |
svi
Replies: 6
Views: 179
|
Forum: Ask for Help Posted: Sun Jan 10, 2010 8:19 pm Subject: Why is OnMessage() ignoring my message? |
When you leave the control parameter blank inControlGet, sdtHWND, Hwnd,,, SynDownloadTimer.ahk the message is sent to... the target window's topmost control, which seems to be Edit1.
Using it I al ... |
Topic: Doesn't work: #run xyz.ahk "parameter" |
svi
Replies: 4
Views: 95
|
Forum: Ask for Help Posted: Fri Jan 08, 2010 6:05 pm Subject: Doesn't work: #run xyz.ahk "parameter" |
I quess you'll have to specify the executable:
Run AutoHotkey.exe xyz.ahk params |
Topic: PixelGetColor gets the wrong color |
svi
Replies: 11
Views: 2027
|
Forum: Bug Reports Posted: Wed Jan 06, 2010 11:55 pm Subject: PixelGetColor gets the wrong color |
Since this old thread has been bumbed, I'd like to tell my opinion about the reliability of PixelGetColor:
It seems that no one of those famous posters didn't notice a simple thing although... For ex ... |
Topic: Disable all wake events |
svi
Replies: 2
Views: 480
|
Forum: Ask for Help Posted: Fri Jan 01, 2010 12:32 am Subject: Disable all wake events |
------------------------------------------------------------
(TWO YEARS HAS PASSED SINCE ABOVE POSTS)
------------------------------------------------------------
This is my (and the whole Forum' ... |
Topic: A_Caret(X/Y/W/H, Screen/Relative), allows double-clicking! |
svi
Replies: 0
Views: 330
|
Forum: Scripts & Functions Posted: Fri Nov 27, 2009 2:34 pm Subject: A_Caret(X/Y/W/H, Screen/Relative), allows double-clicking! |
I tried to save the caret position whenever left-clicked, but it seemed impossible, because reading the built-in variable A_CaretX/Y prevents double-clicking:
LButton::
cX := A_CaretX
S ... |
Topic: Switching between multiple windows wth same 'window title' |
svi
Replies: 5
Views: 261
|
Forum: Ask for Help Posted: Tue Nov 24, 2009 10:12 pm Subject: Switching between multiple windows wth same 'window title' |
Alt+Shift+Escape  |
Topic: Scroll per pixel |
svi
Replies: 4
Views: 233
|
Forum: Ask for Help Posted: Thu Nov 19, 2009 11:44 am Subject: Scroll per pixel |
Scroll notepad:
Hotkeys: 0-9 for speed, up & down for direction, ESC to exit.
Just run it (language independent)!
SplitPath A_AhkPath, , AhkDir
Run Notepad.exe %AhkDir%\license.txt, , , pID
W ... |
Topic: WMedia Player: FullScreen (toggle) with video stopped-HELP! |
svi
Replies: 5
Views: 238
|
Forum: Ask for Help Posted: Thu Nov 19, 2009 12:31 am Subject: WMedia Player: FullScreen (toggle) with video stopped-HELP! |
This will "start" WMP in Fullscreen (slightly tested):
file = (video file path)
DetectHiddenWindows On
DllCall("Shell32\ShellExecuteA", "UInt", 0, &quo ... |
Topic: 2 Gui's, 2 Listviews, ClassNN is SysListView321 on both list |
svi
Replies: 3
Views: 157
|
Forum: Ask for Help Posted: Sun Nov 15, 2009 8:57 pm Subject: 2 Gui's, 2 Listviews, ClassNN is SysListView321 on both list |
All of the ListView functions operate upon the current thread's default GUI window (which can be changed via Gui, 2:Default).
Associated variable isn't sufficient (or needed for this) as HotKeyIt al ... |
Topic: Get the selected Item(s) from a 3rd application SysListWin32 |
svi
Replies: 2
Views: 98
|
Forum: Ask for Help Posted: Sun Nov 15, 2009 6:11 pm Subject: Re: Get the selected Item(s) from a 3rd application SysListW |
I fiddled around for awhile with LVM_GETITEMTEXT but all I managed to do had been crashing the application owning the SysListView32. Sounds familiar
Have you tried:ControlGet, OutputVar, Lis ... |
| |