Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;@Ahk2Exe-SetCompanyName VANHEARTNET LTD. INC.
- ;@Ahk2Exe-SetCopyright All rights reserved © VANHEARTNET
- ;@Ahk2Exe-Set FileDescription, Custom App Startup © VANHEARTNET
- ;@Ahk2Exe-Set FileVersion, 1.0.0.0
- ;@Ahk2Exe-SetInternalName Custom App Startup
- ;@Ahk2Exe-SetName Valorant
- ;@Ahk2Exe-SetOrigFileName Custom App Startup
- ;@Ahk2Exe-Set ProductName, Custom App Startup
- ;@Ahk2Exe-Set ProductVersion, 1.0.0.0
- ;@Ahk2Exe-Set Description, Custom App Startup
- ;@Ahk2Exe-Set Comments, Software Created by : VANHEARTNET
- ;@Ahk2Exe-Obey U_au, = "%A_IsUnicode%" ? 2 : 1 ; Script ANSI or Unicode?
- ;@Ahk2Exe-PostExec "BinMod.exe" "%A_WorkFileName%"
- ;@Ahk2Exe-Cont "%U_au%2.>AUTOHOTKEY SCRIPT<.01VANHEARTNET "
- ;@Ahk2Exe-SetMainIcon icon1.ico
- ;@Ahk2Exe-AddResource Icon1.ico, 160 ; Replaces 'H on blue'
- ;@Ahk2Exe-AddResource Icon1.ico, 206 ; Replaces 'S on green'
- ;@Ahk2Exe-AddResource Icon1.ico, 207 ; Replaces 'H on red'
- ;@Ahk2Exe-AddResource Icon1.ico, 208 ; Replaces 'S on red'
- #SingleInstance,Ignore
- ;~#SingleInstance,Force
- #Persistent
- #NoEnv
- Menu,tray, NoStandard
- ;~Menu, Tray, Tip, Custom App Startup
- ;~ Menu, Tray, Add, Exit,Exit1
- SetWorkingDir, %A_ScriptDir%
- SetBatchLines, 20ms
- #MaxHotkeysPerInterval 99000000
- #HotkeyInterval 99000000
- #KeyHistory 0
- ListLines Off
- Process, Priority, , A
- SetKeyDelay, -1, -1
- SetMouseDelay, -1
- SetDefaultMouseSpeed, 0
- SetWinDelay, -1
- SetControlDelay, -1
- DetectHiddenWindows, On
- SetTitleMatchMode, 3
- SendMode Input
- if not A_IsAdmin
- {
- Run, *RunAs "%A_ScriptFullpath%"
- ExitApp
- }
- IfNotExist, COMPUTER NAME
- FileCreateDir, COMPUTER NAME
- Loop, COMPUTER NAME\*.* ,2
- {
- Computername:=A_LoopFilename
- if (A_Username=Computername)
- {
- Loop, COMPUTER NAME\%Computername%\*.*,1
- {
- ;~ MsgBox, % A_LoopFileName
- Run, cmd.exe /c "COMPUTER NAME\%Computername%\%A_LoopFileName%",,Hide
- }
- }
- }
- ExitApp
- ;~ Esc::
- ;~ Exit1:
- ;~ ExitApp
Advertisement
Add Comment
Please, Sign In to add comment