[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\7]The batch script "taskview.bat" contains:
"ShellExecute"="C:\\dienst\\batches\\taskview.bat"
@echo off(So the batch file will start NirCommand and tell it to do the stuff in the .ncl file.) The Nirsoft command script "taskview.ncl" contains:
nircmdc.exe script "c:\dienst\batches\taskview.ncl"
exit
sendkey lwin down(So the Windows button and the Tab button are pressed together and released. This combo starts the taskview in Windos 10.)
sendkey tab down
sendkey lwin up
sendkey tab up
With e.g. KeyTweak it is also possible to map a function key to one of the AppKeys and by that to make F3 to the Mission Control / Task View key. :)
P.S.: More convenient then the start by the press of a button is the start triggered by moving the mouse into a hot corner of the screen. For this I found a AutoHotKey script.