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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top