Search found 46 matches

by Randy31416
12 May 2015, 23:15
Forum: Ask For Help
Topic: LWin hotkey suppresses WM_INPUT message
Replies: 9
Views: 3839

Re: LWin hotkey suppresses WM_INPUT message

If I understand you correctly, what you are saying is that AutoHotkey is notified about the keyboard character arrivals before the WM_INPUT message arrives at the OnMessage handler. Then, if AutoHotkey finds a hotkey definition corresponding to the keyboard character, the WM_INPUT message is suppres...
by Randy31416
12 May 2015, 10:58
Forum: Forum Issues
Topic: How to search forum for terms like WM_INPUT?
Replies: 5
Views: 3282

Re: How to search forum for terms like WM_INPUT?

Thanks. Just seems reasonable to me, though, that I should be able to use the search box on the forum page to search the forum. But your answers have given me a way to get to the info and that's a big help.
by Randy31416
12 May 2015, 10:12
Forum: Ask For Help
Topic: LWin hotkey suppresses WM_INPUT message
Replies: 9
Views: 3839

LWin hotkey suppresses WM_INPUT message

I've got a code that looks at WM_INPUT messages. If I add a hotkey for LWIN, then the WM_INPUT message for the press of LWIN does not get seen. In the code below, the WM_INPUT message for CTRL and for LWIN are seen if I press CTRL and then LWIN together; nothing is seen if I press LWIN by itself; on...
by Randy31416
12 May 2015, 09:33
Forum: Forum Issues
Topic: How to search forum for terms like WM_INPUT?
Replies: 5
Views: 3282

How to search forum for terms like WM_INPUT?

Whenever I use the forum search for WM_INPUT (e.g.) the search response says it ignores "WM" and looks only for "INPUT". Placing WM_INPUT in quotes finds nothing. How do you search for things like this?
by Randy31416
12 May 2015, 08:20
Forum: Scripts and Functions
Topic: Microsoft Surface Pro 3 pen barrel button customization
Replies: 16
Views: 15789

Microsoft Surface Pro 3 pen barrel button customization

Microsoft provides no way to customize the two barrel buttons on the Surface Pro 3 pen. Many users have been searching for a way, and the person behind http://radialmenu.weebly.com/ did find a way, but the customization is embedded opaquely within a larger project. I have been search to find a more ...
by Randy31416
11 May 2015, 19:02
Forum: Ask For Help
Topic: How remap some LButton presses into MButton presses
Replies: 8
Views: 2773

Re: How remap some LButton presses into MButton presses

SendInput {Blind} {MButton} will leave the modifier keys as they are. So will Click Middle #If true ^!LButton:: ^LButton:: ;etc. SendLevel 1 Click Middle return This works very nicely and is exactly what I was hoping for. I do have to stack all eight combos of CTRL, ALT, SHIFT because of subsequent...
by Randy31416
11 May 2015, 07:50
Forum: Ask For Help
Topic: How remap some LButton presses into MButton presses
Replies: 8
Views: 2773

Re: How remap some LButton presses into MButton presses

Consider this code (untested, though, but in response to the above). #If (1 = 1) *LButton:: SendLevel, 1 SendInput, {MButton} Return If I understand you and the documentation correctly, I think that should take LButton of any flavor and change it into a plain MButton and have any other plain MButton...
by Randy31416
11 May 2015, 07:18
Forum: About This Community
Topic: Forum upgraded to phpBB v3.1.x
Replies: 177
Views: 138060

Re: Forum upgraded to phpBB v3.1.x

ok, ill leave it as it is for now... @Randy31416 what are your system specs? is that windows 2000? Windows 7 Ult 64-bit; Firefox 35.0.2. BTW, seeing all the real work going on in this thread, I'd withdraw my observation to a much later time, and change things to a simple question: is there a way fo...
by Randy31416
10 May 2015, 21:30
Forum: Ask For Help
Topic: How remap some LButton presses into MButton presses
Replies: 8
Views: 2773

How remap some LButton presses into MButton presses

I've got a huge script that does all of my background keboard and mouse remapping work, and many other things as well. It works fine, and I'd like to keep it as intact as possible. But I've got a new machine that presents a special case. The Surface Pro 3 includes a pen with two buttons on the side....
by Randy31416
10 May 2015, 16:51
Forum: About This Community
Topic: Forum upgraded to phpBB v3.1.x
Replies: 177
Views: 138060

Re: Forum upgraded to phpBB v3.1.x

hmmm, it is possible to get a screenshot? also, what is your browser? http://u.cubeupload.com/Randy31416/ahk.jpg Firefox. The snapshot above doesn't contain the mouse; it was on the "Forum issues" link next to the big black tooltip popup. Whenever I go to click on a subforum, the black popup occurs...
by Randy31416
10 May 2015, 11:54
Forum: About This Community
Topic: Forum upgraded to phpBB v3.1.x
Replies: 177
Views: 138060

Re: Forum upgraded to phpBB v3.1.x

Is there any way to stop the forum blinking at me? Whenever I move the mouse, I get a tooltip or a background changes color or something else gets highlighted. It is hard for me actually to look at the text and read it because stuff keeps happening.
by Randy31416
06 May 2015, 10:41
Forum: Ask For Help
Topic: Help understanding SendMessage anomaly
Replies: 0
Views: 474

Help understanding SendMessage anomaly

I have the following code (64-bit AHK on 64-bit Win 7 Pro). VarSetCapacity(Buffer, 12345) Window := WinExist("Quicken 2001 Deluxe") SendMessage, 0xD, 12345, &Buffer, , ahk_id %Window% ; 0xD is WM_GETTEXT OutputDebug, [%ErrorLevel%] [%Buffer%] [%Window%] The SendMessage usually fails (ErrorLevel = "F...
by Randy31416
05 May 2015, 08:05
Forum: Ask For Help
Topic: How to assign hotkey to trigger fn key (laptop)?
Replies: 3
Views: 3510

Re: How to assign hotkey to trigger fn key (laptop)?

If I read the first and third post (by "new"), I think the question is "how can I define a hotkey so that Ctrl+Shift+Something, on my USB keyboard, will do the same as Fn+Something on my laptop keyboard. You can easily define hotkeys such as Ctrl+Shift+Something, but you must specify for each of the...
by Randy31416
30 Apr 2015, 12:44
Forum: Ask For Help
Topic: How to directly address items returned from WMI by ComObjGet
Replies: 4
Views: 1194

Re: How to directly address items returned from WMI by ComOb

Since DllCall is faster than wmi calls you can use this Regrettably, GetUserName, GetUserNameEx, and A_UserName all report the same, wrong for my purposes, name. They all report the name of the user who started the program that is executing and is making the call to GetUserName et al. What I need i...
by Randy31416
30 Apr 2015, 09:56
Forum: Ask For Help
Topic: How to directly address items returned from WMI by ComObjGet
Replies: 4
Views: 1194

How to directly address items returned from WMI by ComObjGet

The following code works nicely on my machine. ObjBase := ComObjGet("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") ObjList := ObjBase.ExecQuery("SELECT * FROM Win32_ComputerSystem") For ObjItem in ObjList { MsgBox, % ObjItem.Name " " ObjItem.UserName } What I would like is a way to remo...
by Randy31416
20 Apr 2015, 00:28
Forum: Ask For Help
Topic: Loop (registry) problem - What am I doing wrong?
Replies: 7
Views: 2162

Re: Loop (registry) problem - What am I doing wrong?

Try this. Loop, Reg, HKLM\Software\Microsoft\Windows\CurrentVersion\explorer\Browser Helper Objects,VR { ; A_LoopRegName will caontain the name of each value. ; For the default value of a key (the "@" values in the RegEdit text file quoted in the first post) the name is blank, and so A_LoopRegName i...
by Randy31416
29 Mar 2015, 15:23
Forum: Ask For Help
Topic: make only the real button change
Replies: 6
Views: 1880

Re: make only the real button change

I would try using something like LButton:: If (GetKeyState("LButton", "P") = 0) Return Send {F1} Send {F3} Send {LButton} Return Maybe you want to test if GetKeyState is 1 (not 0) and then return; I couldn't tell from your description just which you are trying to trap. The GetKeyState test will see ...
by Randy31416
24 Mar 2015, 11:17
Forum: Ask For Help
Topic: How to use variable inside the file path using fileappend?
Replies: 9
Views: 2878

Re: How to use variable inside the file path using fileappen

I'd suggest adding a message box after your assignment to name: name := RegExReplace(Clipboard, " \v+$ ") MsgBox, Value of Name [%name%] Value of File [d:\sh8\SpeechSynth\%name%.txt] It looks as if you are trying to purge special characters from the text in the clipboard, and I wonder whether that i...
by Randy31416
02 Feb 2015, 22:54
Forum: Scripts and Functions
Topic: Traceback() - get stack trace
Replies: 5
Views: 2755

Re: Traceback() - get stack trace

lexikos wrote:Therefore, this function won't work in compiled scripts.
Rats. But thanks, Lexicos, for the clear and unambiguous answer as usual.

Go to advanced search