vanheartnet

Custom App Startup

Aug 10th, 2021
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1.  
  2. ;@Ahk2Exe-SetCompanyName VANHEARTNET LTD. INC.
  3. ;@Ahk2Exe-SetCopyright All rights reserved © VANHEARTNET
  4. ;@Ahk2Exe-Set FileDescription, Custom App Startup © VANHEARTNET
  5. ;@Ahk2Exe-Set FileVersion, 1.0.0.0
  6. ;@Ahk2Exe-SetInternalName Custom App Startup
  7. ;@Ahk2Exe-SetName Valorant
  8. ;@Ahk2Exe-SetOrigFileName Custom App Startup
  9. ;@Ahk2Exe-Set ProductName, Custom App Startup
  10. ;@Ahk2Exe-Set ProductVersion, 1.0.0.0
  11. ;@Ahk2Exe-Set Description, Custom App Startup
  12. ;@Ahk2Exe-Set Comments, Software Created by : VANHEARTNET
  13. ;@Ahk2Exe-Obey U_au, = "%A_IsUnicode%" ? 2 : 1 ; Script ANSI or Unicode?
  14. ;@Ahk2Exe-PostExec "BinMod.exe" "%A_WorkFileName%"
  15. ;@Ahk2Exe-Cont "%U_au%2.>AUTOHOTKEY SCRIPT<.01VANHEARTNET "
  16. ;@Ahk2Exe-SetMainIcon icon1.ico
  17. ;@Ahk2Exe-AddResource Icon1.ico, 160 ; Replaces 'H on blue'
  18. ;@Ahk2Exe-AddResource Icon1.ico, 206 ; Replaces 'S on green'
  19. ;@Ahk2Exe-AddResource Icon1.ico, 207 ; Replaces 'H on red'
  20. ;@Ahk2Exe-AddResource Icon1.ico, 208 ; Replaces 'S on red'
  21.  
  22.  
  23. #SingleInstance,Ignore
  24. ;~#SingleInstance,Force
  25. #Persistent
  26. #NoEnv
  27. Menu,tray, NoStandard
  28. ;~Menu, Tray, Tip, Custom App Startup
  29. ;~ Menu, Tray, Add, Exit,Exit1
  30. SetWorkingDir, %A_ScriptDir%
  31. SetBatchLines, 20ms
  32. #MaxHotkeysPerInterval 99000000
  33. #HotkeyInterval 99000000
  34. #KeyHistory 0
  35. ListLines Off
  36. Process, Priority, , A
  37. SetKeyDelay, -1, -1
  38. SetMouseDelay, -1
  39. SetDefaultMouseSpeed, 0
  40. SetWinDelay, -1
  41. SetControlDelay, -1
  42. DetectHiddenWindows, On
  43. SetTitleMatchMode, 3
  44. SendMode Input
  45. if not A_IsAdmin
  46. {
  47. Run, *RunAs "%A_ScriptFullpath%"
  48. ExitApp
  49. }
  50.  
  51. IfNotExist, COMPUTER NAME
  52. FileCreateDir, COMPUTER NAME
  53. Loop, COMPUTER NAME\*.* ,2
  54. {
  55. Computername:=A_LoopFilename
  56. if (A_Username=Computername)
  57. {
  58. Loop, COMPUTER NAME\%Computername%\*.*,1
  59. {
  60. ;~ MsgBox, % A_LoopFileName
  61. Run, cmd.exe /c "COMPUTER NAME\%Computername%\%A_LoopFileName%",,Hide
  62. }
  63. }
  64. }
  65.  
  66. ExitApp
  67.  
  68.  
  69.  
  70. ;~ Esc::
  71. ;~ Exit1:
  72. ;~ ExitApp
  73.  
Advertisement
Add Comment
Please, Sign In to add comment