Talk about SyMenu or post suggestions, requests, or how-to questions
SyMenu shortcuts don't work if active app Elevated
sffdb8 Posts: 20
11/06/2018
|
Wondering what I can do as a workaround without running SyMenu in elevated mode? I use AutoHotkey (AHK) and a less-than-elegant solution is to have my AHK script make a non-elevated app active before sending the SyMenu shortcut for Search.
Since SyMenu app doesn't behave as a typical window, I can't minimize/maximize/restore it. Is there another way to display SyMenu programatically e.g. using WinAPI ShowWindow?
|
|
link
|
Gianluca Administrator Posts: 1274
11/06/2018
|
Sorry but it's not very clear what you are asking here.
I assume that your real question is: "Is there a way to display SyMenu contextual menu programmatically?" Just in case the response is yes.
Since SyMenu allows only one instance from a certain path, you have to execute the already running SyMenu.exe executable twice. You can execute it even from the command line.
Instead of opening a second instance, SyMenu pops up the contextual menu from the previous instance.
If you real question was different, please explain it better.
|
|
link
|
sffdb8 Posts: 20
03/11/2018
|
My apologies - thought I had responded to this...
Yes, you got the gist of my problem. Executing the already running SyMenu.exe again does work, but takes about 3 seconds on my system (I'm running on an SSD with 16GB RAM...). Also, I'm not sure there's a solution for the other SyMenu configured Hot Key (i.e. Shortcut for Search).
So to recap:
For users like me that are running SyMenu non-elevated, I'm not finding what-I-find-to-be a convenient solution to using the SyMenu Hot Keys when they are also running apps elevated.
If the active window is elevated, SyMenu doesn't provide a way to use the SyMenu Hot Keys; and the only option available is to e.g. pin SyMenu to the taskbar and re-launch SyMenu by clicking on the taskbar icon and wait a few seconds for the Main menu to appear before I can then press "S", "S", "Enter" to get to the search box.
Oddly, I created a windows shortcut to SyMenu.exe and setup a shortcut key, but that didn't work... although if it did, it's not much different than the taskbar icon approach.
If anyone has a solution (or if I'm missing something), please let me know, otherwise I'd like to propose this as a feature request. I seem to recall a floating icon when I installed this a long time ago. Decided I didn't like it, but maybe it's time to revisit what that offers.
My current solution is to define a hotkey in AutoHotkey that, when the active window is elevated, activates the Taskbar (which is non-elevated) and then sends the SyMenu Hot Keys. That displays the SyMenu search box immediately.
And again, thanks Gianluca for this terrific sofware!
edited by sffdb8 on 03/11/2018
edited by sffdb8 on 03/11/2018
|
|
link
|
Gianluca Administrator Posts: 1274
05/11/2018
|
BTW the real problem is that SyMenu is not able to subscribe a shortcut, system wide, that can be called regardless the program elevation. Other software are able to do that so it's only a problem in my code but, until now, I haven't found the trick to solve this issue.
Your workaround is a bit too complex, I agree with your idea to make the floating button appears again (https://www.ugmfree.it/SyMenuManual.aspx#Advanced_menu_Options_General).
If it is too big for you, you can change the image with one more appropriate (https://www.ugmfree.it/SyMenuManual.aspx#Customization).
|
|
link
|
sffdb8 Posts: 20
05/11/2018
|
Thanks for the response and the links.
|
|
link
|