Is there a way to activate task view programmatically in windows 10?
There was a way to activate Flip3D programmatically in win7 using the following copied from VBScript SendKeys CTRL+LWIN+TAB?
CreateObject("WScript.Shell").Run "rundll32 DwmApi #105"
I just want to make a .vbs or .bat file that activates windows 10 Task View.
OK Found a way to do it with C#
Paste Following text in taskview.cs window
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WindowsInput.Native;// Importante
namespace taskview
{
class Program
{
static void Main(string[] args)
{
WindowsInput.InputSimulator kb = new WindowsInput.InputSimulator();
kb.Keyboard.ModifiedKeyStroke(VirtualKeyCode.LWIN, VirtualKeyCode.TAB);
Console.Read();// Keep console window open
}
}
}
Change Dropdown with Debug in it to Release
It should be in: My Documents\Visual Studio 2015\Projects\taskview\taskview\bin\Release\taskview.exe
Now tested on windows11 that command shell:::{3080F90E-D7AD-11D9-BD98-0000947B0257}
can directly open Task View.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With