Search found 11 matches

by rhythmhighnoonstone
29 Sep 2021, 06:06
Forum: Ask for Help (v1)
Topic: How to detect Windows 10's Ctrl+Alt+Tab Switcher in ahk? Topic is solved
Replies: 2
Views: 1008

Re: How to detect Windows 10's Ctrl+Alt+Tab Switcher in ahk? Topic is solved

Rohwedder wrote:
29 Sep 2021, 03:07
Hallo,
try:

Code: Select all

#IfWinExist, ahk_class MultitaskingViewFrame ; Windows 10
h::Left
l::Right
k::Up
j::Down
#IF
https://www.autohotkey.com/docs/Hotkeys.htm#AltTabRemarks
Hello Rohwedder! This is exactly what I need! Thank you so much!
Have a good one!
by rhythmhighnoonstone
28 Sep 2021, 21:26
Forum: Ask for Help (v1)
Topic: How to detect Windows 10's Ctrl+Alt+Tab Switcher in ahk? Topic is solved
Replies: 2
Views: 1008

How to detect Windows 10's Ctrl+Alt+Tab Switcher in ahk? Topic is solved

Hello guys. `Ctrl+Alt+Tab` is a shortcut to switch between all open apps using the arrow keys, as shown below: https://imgur.com/a/BG2i9iM As you can see, ahk's Window Spy couldn't detect its presence. I'm trying to make an ahk script to control it with Vim's `hjkl` instead of the arrow keys: #IfWin...
by rhythmhighnoonstone
05 Mar 2021, 22:14
Forum: Tutorials (v1)
Topic: jeeswg's Explorer tutorial
Replies: 19
Views: 37196

Re: jeeswg's Explorer tutorial

Hello jeeswg! Hope you're doing well. I'm writing to express my gratitude for all of your ahk articles and forum replies. [How to remove empty lines at the end of Clipboard?](https://www.autohotkey.com/boards/viewtopic.php?t=38016) is very useful for my script; then I benefited a lot from this parti...
by rhythmhighnoonstone
11 Feb 2021, 17:52
Forum: Ask for Help (v1)
Topic: ControlGetFocus: Possible to detect control of a non-active window?
Replies: 2
Views: 199

Re: ControlGetFocus: Possible to detect control of a non-active window?

You can identify controls, but only one control can be active at a time. Thus, in an inactive window, there are no focused controls. Hello mikeyww! Thank you for looking into this. Always appreciate your insight. For example, if a popup appears, the target window will lose focus and all subsequent ...
by rhythmhighnoonstone
10 Feb 2021, 16:44
Forum: Ask for Help (v1)
Topic: ControlGetFocus: Possible to detect control of a non-active window?
Replies: 2
Views: 199

ControlGetFocus: Possible to detect control of a non-active window?

Hello everyone. Hope you're doing well. TL;DR: Is detecting the control of a non-active window achievable? I'm trying to detect the current control of a non-active window **while in another active window**. For example, while Firefox being the active window, I'm trying to detect which Notepad's comp...
by rhythmhighnoonstone
19 Jan 2021, 16:46
Forum: Ask for Help (v1)
Topic: ComObjConnect/IE question
Replies: 9
Views: 2602

Re: ComObjConnect/IE question

I've got the same error code `Error: 0x80004005` as well. It turned out that I didn't call `IE.Quit` in my previous script, so`IE := ComObjCreate("InternetExplorer.Application")` isn't available. I guess if you didn't close previous connection, you can't run another instance and hence, the error cod...
by rhythmhighnoonstone
15 Jan 2021, 15:06
Forum: Ask for Help (v1)
Topic: Microsoft PowerToys's FancyZones doesn't respond to ahk script after triggering Topic is solved
Replies: 8
Views: 1550

Re: Microsoft PowerToys's FancyZones doesn't respond to ahk script after triggering Topic is solved

gregster wrote:
14 Jan 2021, 21:23
Sounds like a permissions issue - run the script as admin.
Thank you so much! Once I did the script runs correctly. I'd have never thought it's permission issue. Thanks again!
by rhythmhighnoonstone
14 Jan 2021, 21:19
Forum: Ask for Help (v1)
Topic: Microsoft PowerToys's FancyZones doesn't respond to ahk script after triggering Topic is solved
Replies: 8
Views: 1550

Re: Microsoft PowerToys's FancyZones doesn't respond to ahk script after triggering Topic is solved

Change the #!z to a WinActivate command that includes the class name. If you then change Click to MouseMove, does that work? Is the mouse being moved? If no, then your hotkey is not being processed. If yes, then try adding one simple Click after the MouseMove. > Change the #!z to a WinActivate comm...
by rhythmhighnoonstone
14 Jan 2021, 03:44
Forum: Ask for Help (v1)
Topic: Microsoft PowerToys's FancyZones doesn't respond to ahk script after triggering Topic is solved
Replies: 8
Views: 1550

Re: Microsoft PowerToys's FancyZones doesn't respond to ahk script after triggering Topic is solved

If you post a more complete script, debugging it will be easier. Thanks. Hello mikeyww! Thank you for the follow-up. I appreciate your time and help. Here's the completely script: CoordMode, Mouse , Screen ; the popup window is always at the screen's center 1:: Send, #!z ; shortcut Win Alt Z to act...
by rhythmhighnoonstone
13 Jan 2021, 15:20
Forum: Ask for Help (v1)
Topic: Microsoft PowerToys's FancyZones doesn't respond to ahk script after triggering Topic is solved
Replies: 8
Views: 1550

Re: Microsoft PowerToys's FancyZones doesn't respond to ahk script after triggering Topic is solved

I don't have a way to test it, but you are sending Win + Alt + z rather than Ctrl + Shift + z . Hello mikeyww! Thank you for looking into this. I appreciate it. Sorry for the typo; I've fixed it in the script. When I test it `Send, #!z` can indeed activate `FancyZonesEditor.exe` but then all subseq...
by rhythmhighnoonstone
13 Jan 2021, 02:26
Forum: Ask for Help (v1)
Topic: Microsoft PowerToys's FancyZones doesn't respond to ahk script after triggering Topic is solved
Replies: 8
Views: 1550

Microsoft PowerToys's FancyZones doesn't respond to ahk script after triggering Topic is solved

Hello everyone! I'm using [Microsoft PowerToys's](https://github.com/microsoft/PowerToys) [FancyZones](https://docs.microsoft.com/en-us/windows/powertoys/fancyzones) to snap windows into different layouts. I'm trying to use the following ahk script to switch between layouts: 1:: Send, #!z ; shortcut...

Go to advanced search