AutoHotkey-script-Open-Show-Apps icon indicating copy to clipboard operation
AutoHotkey-script-Open-Show-Apps copied to clipboard

Always opens new instance of Windows store Calculator app

Open nujabse opened this issue 3 years ago • 1 comments

I tried to use this script to open or switch to Windows store Calculator app. The default config in the script file says

; F9 - Open||Show "Windows store Calculator app"
F9:: OpenOrShowAppBasedOnAppModelUserID("Calculator", "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App")

However, when I run the script, pressing F9 will always call a new instance of the Calculator app. If I press F9 3 times, I will get three new Calculator windows instead of switching to existent Calculator app window. The other traditional windows apps, however, doesn't suffer from this problem. Can this be fixed?

nujabse avatar Aug 23 '20 14:08 nujabse

Maybe this will help someone. Had the same issue with another app. In my case the reason was that application name (title) was dynamic based on the contents/state of the app. See if the app has an option for a static window title.

serpro69 avatar Jul 30 '21 12:07 serpro69

Fixed in https://github.com/JuanmaMenendez/AutoHotkey-script-Open-Show-Apps/pull/12

JuanmaMenendez avatar Apr 09 '23 02:04 JuanmaMenendez