Thanks for the confirmation.
Currently it's not that dramatic.
I've set the trigger snapmode macro to keyboard shortcut STRG+SHIFT+S. On load it negates the current setting, either restores previous snaps or changes to "Free" only.
And I can hit Escape immediately.
With the help of your other post I can now quickly change between snap/no-snap with just some left-hand key presses. But also keep consistency with the original snap menu.
------------------------------
Ronny Schneider
------------------------------
Original Message:
Sent: 10-07-2024 13:58
From: Bryce Haire
Subject: is somebody aware of a way to distinguish if a macro was started via icon or shortcut
Hey Ronny,
I have found no way to reliably determine whether one is fired through 1 mechanism or another (shortcut vs toolbar).
The starting point execution between the shortcut and the ribbon itself is exactly the same.
I think your best approach is to treat them as 2 separate commands unfortunately.
------------------------------
Bryce Haire
Original Message:
Sent: 09-30-2024 23:28
From: Ronny Schneider
Subject: is somebody aware of a way to distinguish if a macro was started via icon or shortcut
I'm currently working on a macro to quickly disable all object snapping and re-enable the previous state. The TBC window solution is pretty cumbersome, if they just would have made it nonmodal.
So far it works, but I'd like to distinguish if the macro was started via shortcut, in which case I only want to trigger the opposite of what is currently used and close the macro immediately. While I'd like the macro and its options to stay open when it was started via the icon in the toolbar.
I try to avoid creating a copy of the macro with slightly different name.
------------------------------
Ronny Schneider
------------------------------