Lorenzo501

Minimized uTorrent (redundant).ahk

Mar 1st, 2024 (edited)
26
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;disable the startup item in Task Manager > Startup,
  2. ;and then add Minimized uTorrent.ahk to the startup folder or something
  3.  
  4. ;not sure why I needed this script though
  5. ;maybe it was before I figured out how to patch WinSize2
  6. ;or maybe it gets rid of an utorrent window that sometimes appears once for a split second at startup
  7.  
  8.  
  9. #Requires AutoHotkey 2.0
  10. #NoTrayIcon
  11. A_DetectHiddenWindows := true
  12. WinWaitClose("Minimized Tabs Outliner.ahk ahk_class AutoHotkey")
  13. A_DetectHiddenWindows := false
  14. hWnd := WinExist("A")
  15. Run(A_AppData "\uTorrent\uTorrent.exe /MINIMIZED",,, &pid)
  16. WinWait("ahk_pid " pid)
  17. WinActivate(hWnd)
Comments
  • Lorenzo501
    108 days
    # text 0.17 KB | 0 0
    1. AWNr_3=Torrent4795816011334200001100001Β΅Torrent4823DF041B09{Return}0Z
    2. is the setting I used when the sidebar was included, which can be shown again with F7
Add Comment
Please, Sign In to add comment