forked from camerb/AHKs
-
Notifications
You must be signed in to change notification settings - Fork 38
/
BootStrap.ahk
42 lines (31 loc) · 1.17 KB
/
BootStrap.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include FcnLib.ahk
iniMostRecentTime("Ran Bootstrap (most recent time)") ;track the last time it was reloaded
iniPP("Ran Bootstrap (number of times)") ;count all the times it was reloaded
SpiffyMute()
;TODO, make the three numbered supervisionCore files
;Loop, 3
;{
supervisionCore=SupervisionCore%A_Index%.exe
supervisionCore=SupervisionCore1.exe
if FileExist(supervisionCore)
Run, %supervisionCore%
;}
startupAhk=Startup%A_ComputerName%.ahk
if FileExist(startupAhk)
RunAhk(startupAhk)
RunAhk("StartIdleAhks.ahk")
;apps that should run on all my computers
RunProgram("C:\Dropbox\Programs\CLCL\CLCL.exe")
RunProgram("Dropbox.exe")
if NOT IsVM()
{
RunProgram("C:\Program Files\Desktop Sidebar\dsidebar.exe")
RunProgram("C:\Program Files (x86)\WinSplit Revolution\WinSplit.exe")
;TODO turn this into RunProgramOneInstance() or make an options param
if NOT ProcessExist("FindAndRunRobot.exe")
RunProgram("C:\Program Files\FindAndRunRobot\FindAndRunRobot.exe")
RunAhk("ImageIt.ahk")
}
;TODO Openoffice launcher, if available
if (GetOS() = "WIN_7")
RunProgram("C:\Dropbox\Programs\Aura Beta 2\Aura.exe")