AutoHotkey Community

It is currently May 23rd, 2012, 4:52 am

All times are UTC [ DST ]


Search found 85 matches
Search these results:

Author Message

 Forum: Support   Topic: Initiate/Interact with AltTab Menu

Posted: May 27th, 2009, 5:16 pm 

Replies: 25
Views: 1412


AltTab and ShiftAltTab are two of the special commands that are only recognized when used on the same line as a hotkey. Here is the complete list: Only AltTab and ShiftAltTab have to be preceded by a hotkey, apparently. Both these combinations were specially reserved for correct remapping of (Shift...

 Forum: Support   Topic: Problem with 2-keys as a Hotkey

Posted: May 27th, 2009, 4:07 pm 

Replies: 18
Views: 2023


Your timing observation is correct: You have to press the first 'modifier' key before the second 'trigger' key. If you want a truer approach to chording, implement both the combinations ('~n & o' and '~o & n')! ... Hi DreymaR, if you mean my tested script above, then I should say I had inte...

 Forum: Support   Topic: WinSet, (Ex)Style

Posted: May 25th, 2009, 9:45 pm 

Replies: 1
Views: 505


if i write:

Code:
wingetactivetitle, wintitle
WinSet, Style, 0xCF0000, %wintitle%


then how can I restore the window to its previous state ?

Does noone know, where are you guys !?

 Forum: Support   Topic: Problem with 2-keys as a Hotkey

Posted: May 25th, 2009, 9:39 pm 

Replies: 18
Views: 2023


I am new to AutoHotkey and am using Hotkeys to trigger programs. I use: #n::Run Notepad Now I have two programs starting with "N", so I decide I want the 2-key combination "NO" to trigger Notepad. From reading the docs, I thought this would work: #n&o::Run Notepad However it...

 Forum: Support   Topic: Send command question

Posted: May 25th, 2009, 8:48 pm 

Replies: 7
Views: 461


SetKeyDelay, -1 could be even better, and as it was recently discussed use SendInput, which works faster.


Code:
SetKeyDelay, -1
SendInput, ...



or


Code:
SetKeyDelay, -1
SendMode Input ; makes Send work exactly as SendInput, which works faster
Send, ...

 Forum: Support   Topic: Win XP Menu Tweak

 Post subject: Re: Win XP Menu Tweak
Posted: May 25th, 2009, 6:31 pm 

Replies: 3
Views: 562


Hi guys, It's a really unpleasant annoyance. When I select a submenu item in a context menu, the new menu expands on the left size instead of the default right size. Can't find any hint. Thanks in advance for your help. I'm sorry I don't offer any code here, but perhaps ViStart project is a good alt...

 Forum: Support   Topic: WinSet, (Ex)Style

 Post subject: WinSet, (Ex)Style
Posted: May 25th, 2009, 6:25 pm 

Replies: 1
Views: 505


Hi, I have 2 questions concerning window styles, please: 1. Besides this help page , is there any place else I can get style codes ? 2. I have tested and seen difference between WinSet, Style , ... and WinSet, ExStyle , ... . However, what is the clearly defined difference between Style and ExStyle,...

 Forum: Scripts   Topic: ~PrintScreen~

Posted: May 12th, 2009, 8:50 pm 

Replies: 9
Views: 2323


Let's make it: run %A_WinDir%\System32\mspaint.exe. That'd be even worse, at least for 9x which doesn't use System32 but System and either way, in 98SE the path is "C:\Program Files\Accessories\MSPAINT.EXE" or A_ProgramFiles "\Accessories\MSPAINT.EXE" in correct AHK syntax. I ne...

 Forum: Support   Topic: .ico problems (icon) (SOLVED)

Posted: May 12th, 2009, 8:18 pm 

Replies: 7
Views: 536


I was doing icons recently and I would like to share my experience. 1. You can use Ahk2Exe Compiler, or you can add this line: Menu, Tray, Icon, %A_ScriptDir%\IconName.ico 2. You can borow lots of system's icons like: Menu, Tray, Icon, Shell32.dll, 150 or Menu, Tray, Icon, %A_WinDir%\System32\Shell3...

 Forum: Scripts   Topic: ~PrintScreen~

Posted: May 12th, 2009, 6:28 pm 

Replies: 9
Views: 2323


Drawbacks: Can't work in Win9x because of unsupported Up/Down hotkey variants. No problem, we can change that: Send ^v. Directly calls MSPaint.exe, which is bad practice (same as directly calling iexplore.exe). I've never had a problem with direct callimg a standard windows program in XP or Vista, ...

 Forum: Support   Topic: RButton hotkey does not display menu properly

Posted: May 11th, 2009, 11:37 am 

Replies: 2
Views: 586


This technically works, but doesn't in reality. On the Windows XP machine that I'm working with, the custom menu triggers on RButton Down, but the normal context menu shows up on RButton Up, and I can't figure out why the RButton Up is still being sent. This behavior is easily replicated by Holding...

 Forum: Support   Topic: Key Scrolling in Warcraft III With W S A D. Alt locks scroll

Posted: May 11th, 2009, 10:44 am 

Replies: 3
Views: 472


Hmm..., don't !a/w/d/s::return prevent locking the scroll keys ?

You can also try a/w/d/s::controlsend, , {a/w/d/s}, get ahk_class of the game window with AutoIt3 WindowSpy.

If the problem persists and if optional, just change the hotkey for the chat window.

 Forum: Support   Topic: Help with sending keystrokes to two windows?

Posted: May 11th, 2009, 9:55 am 

Replies: 1
Views: 380


You can send several symbols to a window, e.g. 10 "a"s to a notepad:

Code:
controlsend, , {a 10}, ahk_class Notepad

 Forum: Support   Topic: Maximize window / Full page

Posted: May 11th, 2009, 9:31 am 

Replies: 4
Views: 557


Hi,

as for GUIs

:arrow:

Gui, Gui Show, Gui Styles:

e.g.

Code:
Gui +Resize -MaximizeBox
Gui +Resize +MinSize640x480
Gui, Show, X100 Y100



As for the lengthy pages, you can't screenshot them whole length using the standard windows API.

 Forum: Support   Topic: text not seen by windows spy

Posted: May 10th, 2009, 1:29 am 

Replies: 9
Views: 738


Done.
Sort by:  
Page 1 of 6 [ Search found 85 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group