SyMenu Forum

SyMenu

 

peterbonge

all messages by user

17/10/2017
Topic:
Hotkeys not working correctly

peterbonge
peterbonge
I'm just testing SyMenu for the first time I have a problem with program hotkeys:

If I set up a hotkey I expect that this hotkey works only with SyMenu and nowhere else, but that's not the case.
If I e.g. set up a program hotkey to Ctrl+Shift+N and use this hotkey while the Windows Explorer is active the Explorer creates a new folder and SyMenu starts the corresponding program.

(And the hotkey feature shouldn't be called "shortcut".)
18/10/2017
Topic:
Hotkeys not working correctly

peterbonge
peterbonge
Thanks. I'll use AutoHotkey for the hotkeys for now.
03/11/2017
Topic:
Command line parameter to exit SyMenu

peterbonge
peterbonge
It seems that there is no command line parameter to exit SyMenu. It would really be nice if that could be added. In my opinion every portable app should offer this.

On my portable drive I have two scripts. One to start some apps and one to stop these apps. For SyMenu I found nothing to exit it.
06/11/2017
Topic:
Command line parameter to exit SyMenu

peterbonge
peterbonge
Hello,

at the moment I'm already using Autoexec with my exit script. I need this script because the apps I'm using need different methods to exit them and sadly none of them supports an exit command...
07/11/2017
Topic:
Command line parameter to exit SyMenu

peterbonge
peterbonge
I'm not sure if my methods could be added to SyMenu. And my time is too limited for a private session.

I'm using AutoHotkey for my scripts and ATM I'm ending 3 process with it. I'm trying to reduce the amount of permanently running apps.

1. I have a background script running which I'm just killing with:
Process, Close, AutoHotkey.exe

2. I'm using the app AquaSnap, which shouldn't be killed. It doesn't have a main window, but with the help of a portable apps website I've learned that there is an invisible window. So I'm closing it with:
WinClose, AquaSnapTrayWindow
(This sends a WM_CLOSE command to that window.)

In the AutoHotkey help I also found this command:
PostMessage, 0x112, 0xF060,,, WinTitle
(0x112 = WM_SYSCOMMAND, 0xF060 = SC_CLOSE)

That should be a little less forceful, but I haven't tested it yet.

3. I have one more app which I'm closing with the WinClose command, but here with a visible window.

So there are many ways to kill or close an app and I don't have an idea how this could be added to SyMenu (yet).

But I found another small problem: I've just tested a label item and it shows just the first 5 chars. And the alignment is a little bit strange. It's shown like an app, with an empty icon and the text just shifted a little bit to the left. Too much space at the beginning. Maybe options for the alignment would be a good idea.
08/11/2017
Topic:
Command line parameter to exit SyMenu

peterbonge
peterbonge
Gianluca wrote:
If you can post the label image I can evaluate it. Are you sure the text you are using for the label is a simple text? No special characters in it? Otherwise it is a bug.

I've tried 2 simple labels with "Autostart" and "Autoexit". Here is a pic of the test menu:
https://imgur.com/deD9NOx


Gianluca wrote:
Regarding the method you use to close the app, IMHO it's a bit rude.
Closing a process that way doesn't allow you to save unsaved work and above all it doesn't let the programs close correctly.

I strongly prefer the WM_ENDSESSION that gently asks a program to close even if I don't know what can happened with an invisible window (AquaSnap).


I've tested WM_SYSCOMMAND/SC_CLOSE now and that works fine. The AutoHotkey help says that this is like Alt+F4 or the X in the title bar. So it should be "soft" enough. With WM_ENDSESSION I had no success so far.
1

UGMFree © 2002-2024
PayPal BTC TON