| Author |
Message |
Forum: Support Topic: Detect When Cursor is in Address Bar of Google Chrome |
| msafi |
|
Posted: August 15th, 2011, 6:22 pm
|
|
Replies: 5 Views: 128
|
Hmm, I only have normal AHK--not AHK_L.
I tried the code and it completely replaces TAB with down-arrow in Chrome, regardless of whether I'm in the Omnibox or not...Is that because I should install AHK_L?
Thanks! |
|
 |
Forum: Support Topic: Detect When Cursor is in Address Bar of Google Chrome |
| msafi |
|
Posted: August 15th, 2011, 6:06 pm
|
|
Replies: 5 Views: 128
|
| Could you please show me how to use that to detect if my cursor is in the Omnibox so that I execute my code if that condition is met? Thanks! |
|
 |
Forum: Support Topic: Detect When Cursor is in Address Bar of Google Chrome |
| msafi |
|
Posted: August 15th, 2011, 12:47 pm
|
|
Replies: 5 Views: 128
|
| Hi, How can I detect when the cursor is on the Google Chrome address bar (a.k.a "Omnibox") so that I send {Down} when the TAB key is pressed? In Google Chrome when you press TAB with the intention to scroll through the auto-complete results of the address bar, it doesn't work as expected. ... |
|
 |
Forum: Support Topic: Detect keypress sequence? |
| msafi |
|
Posted: October 12th, 2010, 5:18 pm
|
|
Replies: 8 Views: 324
|
| noticed 2 error's in my first post like (SingleKey " ") fixed it in the two scripts after it to (SingleKey = " ") Thanks, I think I got it to work as I want. Here's the final script: ~^t:: ~^l:: Input, SingleKey, L1 if !(SingleKey = "g") { SendInput, %Sing... |
|
 |
Forum: Support Topic: Detect keypress sequence? |
| msafi |
|
Posted: October 12th, 2010, 4:29 pm
|
|
Replies: 8 Views: 324
|
| Thanks OceanMachine. I tried this: ~^t:: KeyWait, g, D KeyWait, Space, D Send ^k return But it is not very good. For example, the "Send ^k" statement would get triggered even if there were unrelated keypresses between the "g" and the "Space". @emmanuel d I built this ba... |
|
 |
Forum: Support Topic: Detect keypress sequence? |
| msafi |
|
Posted: October 12th, 2010, 1:57 pm
|
|
Replies: 8 Views: 324
|
| Hi, I have a request that may sound strange, but it is what I need. Is it possible to have AutoHotKey detect the following sequence of keypresses: Ctrl+T, g, space And Ctrl+L, g, space When one of these two sequences occur, I want AutoHotKey to send Ctrl+K to the window in focus... Is that possible ... |
|
 |
Forum: Support Topic: When ~LButton is Used in a Combination, Disable LButton Up.. |
| msafi |
|
Posted: April 8th, 2010, 8:16 am
|
|
Replies: 3 Views: 163
|
link4u wrote:
Can't really see how to apply the stuff there. Thanks, anyway. |
|
 |
Forum: Support Topic: When ~LButton is Used in a Combination, Disable LButton Up.. |
| msafi |
|
Posted: April 8th, 2010, 8:06 am
|
|
Replies: 3 Views: 163
|
| I would like to use my LButton is creating Hotkey combinations. This ~LButton & F::Send {LWin} works, but I don't want the release of LButton to fire when it's used in a combination. If no combination was used, fire upon release normally. How can this be scripted? Edit: I'm not sure if this requ... |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| msafi |
|
Posted: April 4th, 2010, 4:55 pm
|
|
Replies: 397 Views: 90349
|
| The best thing you can do in cases like these is to go in the driver's options and see if you can attach a hotkey combination/program launch/anything useable by AHK. Assigning different functionality to the mystery button through the drivers options would disable the ability to use the scrolling fu... |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| msafi |
|
Posted: April 4th, 2010, 1:40 pm
|
|
Replies: 397 Views: 90349
|
| Any more ideas? :( Run AHKHID's example1.ahk, select "other", scroll to right, take note of Usage Page + Usage numbers. Run example2.ahk, input Usage Page and usage, press add and call, then press the mystery button. If you see nothing, repeat with next Usage Page and Usage. There isn't a... |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| msafi |
|
Posted: April 4th, 2010, 7:18 am
|
|
Replies: 397 Views: 90349
|
| Michael, Thanks for the links. I used Winspector to monitor windows while I use the mystery button on them but simply pressing the mystery button doesn't send any messages to those windows. The (mystery) center button is used for scrolling. It allows users to scroll by moving the pointing stick whil... |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| msafi |
|
Posted: April 3rd, 2010, 9:19 pm
|
|
Replies: 397 Views: 90349
|
TheGood,
I have the drivers installed. But I don't know what they cause the button press to send. It's not a standard thing like WM_MOUSEWHEEL. How can I know what message is sent by this button and then capture that message with AHK?
Thanks,
MK |
|
 |
Forum: Support Topic: Is this button completely undetectable? |
| msafi |
|
Posted: April 3rd, 2010, 2:11 pm
|
|
Replies: 0 Views: 216
|
| I use a ThinkPad laptop with the famous pointing stick. The pointing stick mouse has three buttons as you can see here . The one in question is the center button. It's a custom, ThinkPad-specific button that is used to allow users to scroll up and down by pressing it while moving the red pointing st... |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| msafi |
|
Posted: April 2nd, 2010, 11:25 pm
|
|
Replies: 397 Views: 90349
|
Michael@oz wrote: Is there a special driver for it perhaps'
Yes, it is made by Lenovo. I don't want to remove it because I want to add to its functionality not rewrite it entirely. |
|
 |
Forum: Scripts Topic: AHKHID - An AHK implementation of the HID functions |
| msafi |
|
Posted: April 2nd, 2010, 4:16 pm
|
|
Replies: 397 Views: 90349
|
I have a ThinkPad laptop with a three button mouse. I couldn't find a way to detect the center button. When I press it, ButtonFlags, ButtonData, and every thing else shows 0. Any ideas how to detect that button?
Thanks, |
|
 |
| Sort by: |