Hi @Filou. Take a look at the macro below. It is disabled when you import it, so make sure you enable it first (tick the "Triggered by any of the following" checkbox). This is an example of how you can display the pressed key. The important part is the token %TriggerValue% that returns information about the current macro's trigger, when the macro runs.
You can use that token in anything really, but I've chucked it into a Display text briefly action so that it shows a system notification. Changing the options in the dropdown within the action can give you other results. You could also use the trigger value for things other than just display if that would be useful for you.
As I hoped it the macro works also on my MacBook Air... 'ouf !'
But, with F12, I obtain no response ...
(shift-F12 is ok, thus I think that the hardware key is ok)
I suppose that there is a conflict with another application but which ?
How to identify it ...
I'll go to examine each loaded application... and system preferences/keyboard
On the MacBook, press F12. Then go to KM, select All Macros in the Group column, then choose View > Sort Macros by > Date Used. If there is anything that F12 activates within KM, then it will appear near the top of the list in the Macros column.
I recreated your macro and I also get the beep (on an iMac with macOS 10.15.2 and KM 9.0.4). To me it seems that nvALT somehow doesnāt get the F11 keystroke from KM.
No need to setup a hotkey in nvALT, since the KM action brings nvALT to the front if itās running, and if itās not running it will launch it and bring it to the front.
ā¦unless Iām missing something.
By the way, if you uploaded your macro, it would be easier for others to quickly test your macro. Recreating a macro from a screenshot, even if itās simple, always takes a minute or more. Uploading a macro takes you 10 seconds
Hi Tom.
Thank you for the test
(and sorry for the inconvenience, i'll try to upload the macro the next time).
I have no more time to response today. It will be for tomorrow... Sorry again
I tryed your alternative macro and some other things, without complete success.
But I think that I have now the 'explanation'.
As of today, I used nvALT with the the option 'Hide Dock Icon' (in the prefs of the application).
Today, I tryed it without that option and...
tadam ... it works on both MBA & iMac !
I don't understand exactly Why but it works.
PS:
in your alternative version, I just changed "if already at the front - Leave it at the front" -> "Hide the application" (to obtain the toggle display effect)
Yep, correct. With this the single KM action should do exactly what nvALTās integrated shortcut is doing, with the additional benefit that it launches the app if it is not running.