Search found 74 matches

by Quisquose
05 Oct 2023, 17:39
Forum: Ask for Help (v1)
Topic: Make long right-click send shift right-click Topic is solved
Replies: 2
Views: 436

Re: Make long right-click send shift right-click Topic is solved

Thank you, @GEV. This works as I wanted it to.

Thanks also for the explanatory comments.
by Quisquose
05 Oct 2023, 10:46
Forum: Ask for Help (v1)
Topic: Make long right-click send shift right-click Topic is solved
Replies: 2
Views: 436

Make long right-click send shift right-click Topic is solved

I want to be able to long-press the right mouse button in Explorer and have it trigger shift + right-click (without affecting normal short mouse right-clicks). I did some searching and found this : RButton:: MouseGetPos, xpos1 KeyWait, RButton, T.3 MouseGetPos, xpos2 If !ErrorLevel || xpos1 != xpos2...
by Quisquose
04 Nov 2021, 01:43
Forum: Ask for Help (v1)
Topic: Detecting which character is adjacent to caret
Replies: 3
Views: 500

Re: Detecting which character is adjacent to caret

Thank you very much for this! It's mostly working well, except for just a couple of issues. 1. When there is a space adjacent to the caret, the MsgBox sometimes reports letters that are nowhere near the caret. For example: in a file named Waves ReadMe.txt if I put the caret just before the 'R', then...
by Quisquose
02 Nov 2021, 20:57
Forum: Ask for Help (v1)
Topic: Detecting which character is adjacent to caret
Replies: 3
Views: 500

Detecting which character is adjacent to caret

How can I detect which character is directly adjacent to the text insertion caret in an edit box, and then take different actions depending on the character and whether it's to the left or to the right of the caret? I've looked up how to get the caret position using: ControlGet, OutputVar, CurrentCo...
by Quisquose
22 Apr 2021, 13:38
Forum: Ask for Help (v1)
Topic: Numpad buttons with NumLock OFF
Replies: 1
Views: 230

Numpad buttons with NumLock OFF

I want to assign actions to the plus and minus keys on the number pad, but only when Numlock is off. Is this possible? I can only seem to get those two keys to respond if NumLock is on.
by Quisquose
30 Mar 2021, 13:42
Forum: Ask for Help (v1)
Topic: Problem with Timers and WinWait
Replies: 6
Views: 547

Re: Problem with Timers and WinWait

mikeyww wrote:
16 Mar 2021, 22:46
I already provided a solution.
Unfortunately, I don't know how to complete the template that you provided.

It does detects the current window title, but I don't know how to structure the remaining code to do the "if window title is abc, then do xyz" part.
by Quisquose
30 Mar 2021, 12:29
Forum: Ask for Help (v1)
Topic: Hotstring ending with colon Topic is solved
Replies: 4
Views: 505

Re: Hotstring ending with colon Topic is solved

Thank you! It works how I want it to now.

I appreciate the heads-up about putting it in the auto-execute section.
by Quisquose
28 Mar 2021, 23:58
Forum: Ask for Help (v1)
Topic: Hotstring ending with colon Topic is solved
Replies: 4
Views: 505

Re: Hotstring ending with colon Topic is solved

Hi, I don't want colon to be the triggering endchar, I want it as part of the string name.

So when I type func: (or any other keyword ending with :) I don't want anything to happen unless I press the Enter key.
by Quisquose
20 Mar 2021, 19:55
Forum: Ask for Help (v1)
Topic: Hotstring ending with colon Topic is solved
Replies: 4
Views: 505

Hotstring ending with colon Topic is solved

I would like to use words ending with a colon as hotstrings (e.g. func: ), but it does not work regardless of whether the colon is escaped or not. : :func`::: { SendInput blah SendInput {Enter} } I tried using a work-around that I saw elsewhere (adding + to the beginning and using ; instead of : ) b...
by Quisquose
16 Mar 2021, 22:27
Forum: Ask for Help (v1)
Topic: Problem with Timers and WinWait
Replies: 6
Views: 547

Re: Problem with Timers and WinWait

Rohwedder Thank you for your reply. While your proposed code does technically work, it does not achieve what I was looking for. Using IF WinActive("PNG Options ahk_exe Photoshop.exe") instead of WinWait means that the action is no longer applied immediately; you have to wait for the timer to cycle ...
by Quisquose
25 Jan 2021, 04:34
Forum: Ask for Help (v1)
Topic: Problem with Timers and WinWait
Replies: 6
Views: 547

Problem with Timers and WinWait

I'm using some adapted timer code (that I found on the web) to check every couple of seconds for the existence of an application and, if the application exists, to then have various commands run within that particular application. Two of the commands that I want to use within the application involve...
by Quisquose
26 Oct 2020, 21:01
Forum: Ask for Help (v1)
Topic: Remembering a window and setting focus to its task button
Replies: 3
Views: 351

Re: Remembering a window and setting focus to its task button

Thank you for your reply. That's neat, but a separate gui with no thumbnail image previews is not really what I'm looking for.

Can anyone help with the answer to my question?
by Quisquose
26 Oct 2020, 07:57
Forum: Ask for Help (v1)
Topic: Remembering a window and setting focus to its task button
Replies: 3
Views: 351

Remembering a window and setting focus to its task button

I want to assign my own hotkeys to Minimize All and Unminimize All windows (not hide/show desktop). This is easy to do using: #down:: WinMinimizeAll #up:: WinMinimizeAllUndo After the minimize happens, I want the task bar button of the most recent active window to be selected, and to be able to use ...
by Quisquose
20 Oct 2020, 13:40
Forum: Ask for Help (v1)
Topic: Need help integrating GetKeyState code into script
Replies: 1
Views: 171

Need help integrating GetKeyState code into script

Seeing as I could not find a solution to the AltGr+RCtrl issue (i.e. it being the only modifier pair, as far as I'm aware, that demands the modifiers be pressed in a certain order) I decided to see if I could come up with a solution myself. This was a tall order seeing as I am incredibly inexperienc...
by Quisquose
16 Oct 2020, 05:53
Forum: Ask for Help (v1)
Topic: Problem with AltGr hotkey combination (won't ignore keypress order)
Replies: 3
Views: 246

Re: Problem with AltGr hotkey combination (won't ignore keypress order)

Potentially something like this? #If GetKeyState("RControl") && GetKeyState(";") LControl & RAlt::MsgBox You pressed AltGr itself. #If Unfortunately I don't understand what this is doing. The GetKeyState bit makes sense, but I'm not sure what LControl has to do with anything. The code sample does d...
by Quisquose
13 Oct 2020, 21:08
Forum: Ask for Help (v1)
Topic: Problem with AltGr hotkey combination (won't ignore keypress order)
Replies: 3
Views: 246

Problem with AltGr hotkey combination (won't ignore keypress order)

I'm using the following hotkey <^>!>^;:: (AltGr + RCtrl + ; ) to trigger an action. It works fine, but only if AltGr is pressed first (before the RCtrl key). I'd like this to work regardless of the order in which the modifier keys are pressed (so that I don't having to worry about which key happens ...
by Quisquose
21 May 2020, 18:35
Forum: Ask for Help (v1)
Topic: Opening a web page in the current browser
Replies: 8
Views: 10286

Re: Opening a web page in the current browser

!x:: press Alt+x for testing WinGet, pPath, ProcessPath, A MsgBox % "Run, " . pPath . "/param1 /param2 /param4" Return :) Thanks for your reply. I managed to get this code to display the message box (but only after I had commented out the text after the hotkey). However, even then, all it did was d...
by Quisquose
19 May 2020, 06:01
Forum: Ask for Help (v1)
Topic: Opening a web page in the current browser
Replies: 8
Views: 10286

Re: Opening a web page in the current browser

What browser btw? Various. I don't want the code to be browser specific, but rather to work with whatever browser is currently active. Run, command would also be a possibility: Run, https://www.autohotkey.com/ Actually, this is a good idea because the url is specified outside of the address bar, so...
by Quisquose
18 May 2020, 00:27
Forum: Ask for Help (v1)
Topic: Opening a web page in the current browser
Replies: 8
Views: 10286

Re: Opening a web page in the current browser

Paste to the bar is faster ... Yeah, I guess that would help, although I do have a clipboard utility, so I wouldn't want to have it filled up with useless urls every time I run a hotkey to open a page. I'm sure there's bound to be a way around that (I've seen people doing all sorts of fancy stuff w...
by Quisquose
17 May 2020, 19:31
Forum: Ask for Help (v1)
Topic: Opening a web page in the current browser
Replies: 8
Views: 10286

Opening a web page in the current browser

Is there a better way to open a web page in the currently active web browser window (in a new tab) than just using SendInput to literally type out the text for the desired page into the URL bar? That's the method that I'm currently using. It works, but there is a noticeable lag as the text is typed ...

Go to advanced search