Question

I have a problem to use Autohotkey to open - File menu (inside of Visual Studio) and select "Recent projects & solutions". It works fine inside of notepad with this code:

^+r::
WinMenuSelectItem, Untitled - Notepad, , File, Open
Return

But it does not work inside VS:

WinMenuSelectItem, ahk_class Svitlana-PC • Sniffsters (Debug|Any CPU) - Microsoft Visual Studio, , File, Open

Probably because I cannot specify a wintitle correctly - I tried many variants from WinSpy, but I did not succeed.

Can anybody give me an advice or direction?

Thank you for reading. Best, Svitlana

Was it helpful?

Solution

Try activating the window (if that doesn't work, make the mouse click on the title bar of the window).

Then use !f to open the file menu and navigate the menu by sending letter keys. Microsoft programs are always tricky to work with.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top