Monday, 22 February 2016

"Windows 10 Task view" button start

Using a multimedia keyboard the additional buttons can be remapped. I remapped the Web/Home button using the following registry settings:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\7]
"ShellExecute"="C:\\dienst\\batches\\taskview.bat"
The batch script "taskview.bat" contains:
@echo off
nircmdc.exe script "c:\dienst\batches\taskview.ncl"
exit
(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:
sendkey lwin down
sendkey tab down
sendkey lwin up
sendkey tab up
(So the Windows button and the Tab button are pressed together and released. This combo starts the taskview in Windos 10.)
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.