batch file - activate task view programmatically windows 10 -
is there way activate task view programmatically in windows 10?
there way activate flip3d programmatically in win7 using following copied vbscript sendkeys ctrl+lwin+tab?
createobject("wscript.shell").run "rundll32 dwmapi #105"
i want make .vbs or .bat file activates windows 10 task view.
ok found way c#
- install visual studio
- install nuget http://docs.nuget.org/consume/installing-nuget
- file > new project
- name taskview
- visual c# > console application
- file > save all
- tools > nuget package manager > package manager console
- type "install-package inputsimulator" in package manager console window
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 debug in release
- build > build solution
- build > build taskview
it should in: documents\visual studio 2015\projects\taskview\taskview\bin\release\taskview.exe
Comments
Post a Comment