Search found 7 matches
- 07 Dec 2019, 08:45
- Forum: Ask for Help (v1)
- Topic: Running as admin breaks COM interaction
- Replies: 1
- Views: 1330
Running as admin breaks COM interaction
Anyone know why running a script as admin prevents my comobject from working? The following code works perfect if I run the script not as admin: F2:: oWord := ComObjActive("Word.Application") oWord.Selection.PageSetup.LineNumbering.Active := 1 oWord := "" return If I run the script as an admin eithe...
- 05 Dec 2019, 18:56
- Forum: Ask for Help (v1)
- Topic: Capturing Surface Pro pen input to windows apps
- Replies: 0
- Views: 2829
Capturing Surface Pro pen input to windows apps
Dear wonderful AHK community, Does anyone know if there is a way to detect surface pro pen input to a windows app (app obtained via the windows store)? On normal windows, a single, unmodified pen tap registers as an LButton press, but in a windows app window the input does not register at all via AH...
- 29 Nov 2019, 22:19
- Forum: Scripts and Functions (v1)
- Topic: [Class] biga.ahk (166 utility methods)
- Replies: 131
- Views: 43884
Re: [Class] biga.ahk (utilities mirroring Lodash)
I'm sorry, I'm sure I'm doing something stupid, but I cannot use this wonderful looking library. I installed via NPM and tried running the example code but I am getting a "call to nonexistent function" error for the "max" function on the following line (1008): sum := format("{:." max(n_dec_char, par...
- 25 Nov 2019, 13:33
- Forum: Ask for Help (v1)
- Topic: Input command with Function and Numpad Key
- Replies: 2
- Views: 463
Re: Input command with Function and Numpad Key
Thanks, I was afraid this might be the case. Easy enough to implement though I was hoping for a more elegant solution!
- 25 Nov 2019, 10:57
- Forum: Ask for Help (v1)
- Topic: Input command with Function and Numpad Key
- Replies: 2
- Views: 463
Input command with Function and Numpad Key
Hi, I am trying to use Input to detect function and numpad keys as it detects other keys. Input presents two problems: 1) it does not detect function keys; and 2) it detects numpad keys as if they were normal number keys (i.e., Numpad0 is recorded as 0 rather than as Numpad0). There is an workaround...
- 22 Nov 2019, 17:00
- Forum: Ask for Help (v1)
- Topic: KeyWait without sending key press
- Replies: 1
- Views: 592
Re: KeyWait without sending key press
Cap'n Odin very nicely posted the code below in the discord server which I am copying here in case any one runs into the same problem. Thanks!
***
F5::
ToolTip, waiting
Hotkey, PgDn, label, On
KeyWait, PgDn, D
Hotkey, PgDn, label, Off
ToolTip, done
return
label:
return
***
F5::
ToolTip, waiting
Hotkey, PgDn, label, On
KeyWait, PgDn, D
Hotkey, PgDn, label, Off
ToolTip, done
return
label:
return
- 22 Nov 2019, 16:42
- Forum: Ask for Help (v1)
- Topic: KeyWait without sending key press
- Replies: 1
- Views: 592
KeyWait without sending key press
Hi, I've looked extensively for an answer to this question, so please forgive me if it has been posted and I missed it. I want to use KeyWait, but I do not want the key that is pressed to be sent through to the system. For example I'd like to do the following F5:: *code* KeyWait, PGDN, D *more code:...