Advertisement
FirstFire

start Task Manager on boot and switch to Performance tab

Oct 11th, 2016
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.54 KB | None | 0 0
  1. This AutoIT script will open Task Manager and switch to the Performance tab. Compile the script so you get a .exe and add it to the Task Scheduler like this:
  2.  
  3. >Run with highest privileges
  4. >Triggers: At log on of any user
  5. >Action: Start a program: "C:\Program Files\runmaxtskmgr.aui.exe"
  6.  
  7. ---------------------------------------------
  8.  
  9. #RequireAdmin
  10. Run("C:\Windows\System32\taskmgr.exe")
  11. Local $hWnd = WinWait("Task Manager", "", 10)
  12. WinSetState($hWnd, "", @SW_MAXIMIZE)
  13. Send("^{TAB}")
  14.  
  15. ---------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement