Weird multimedia controls behaviour

@VIKINGS
Sorry, copy the

#!/bin/sh
# skip to a launched app. for 5 seconds and return back 
until
	kdotool windowactivate "$ACTWIN"

to kate and save as au.sh in your home directory
chmod +x ~/au.sh
Super Shortcuts / Add New Command and scripts and Chose au.sh from your Home directory.
Click to Add Custom shortcut Press Ctrl+U
You are good to go.
The input_event_codes.h is not needed at the moment. It contains codes with those you can produce with ydotool mouse or key events. I send you an example later. It’s not so easy.
Edit:
Here is a much ado about a tiny problem with ydotool
how to find codes:

 #define KEY_TOUCHPAD_ON	0x213 #531 Decimal
#define KEY_TOUCHPAD_OFF	0x214