-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathVars.ahk
96 lines (84 loc) · 3.35 KB
/
Vars.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
; General variables
EnvGet, ProgFiles32, ProgramFiles(x86)
if ProgFiles32 = ; Probably not on a 64-bit system.
EnvGet, ProgFiles32, ProgramFiles
EnvGet, ProgFiles64, ProgramW6432
; Use ProgFiles32 var on any OS architecture x86/x64 to get to "Program Files x86" on x64 and "Program Files" on x86
; Example eventghost := ProgFiles32 . "\EventGhost\EventGhost.exe -e"
; Computers - add as many as you like, remmember to define Folders also for each computer
global workPC := "YOUR-WORK-COMPUTER-NAME"
global homePC := "YOUR-HOME-COMPUTER-NAME"
;global HomeServer := "YOUR-SERVER-COMPUTER-NAME"
; Folders
global DropBox, PortableApps, SysInternals, NirSoft
DropBox := A_ScriptDir . "\..\..\" ; use this is if this AHK script reside in DropBox or enter an absolute path like "x:\PATH\TO\DROPBOX"
If A_ComputerName = %workPc%
{
PortableApps := "X:\PATH\TO\PortableApps"
SysInternals := "X:\PATH\TO\SysinternalsSuite"
NirSoft := "X:\PATH\TO\NirSoft"
}
else if A_ComputerName = %homePC%
{
PortableApps := "X:\PATH\TO\PortableApps"
SysInternals := "X:\PATH\TO\SysinternalsSuite"
NirSoft := "X:\PATH\TO\NirSoft"
}
;else if A_ComputerName = %HomeServer%
; {
; PortableApps := "X:\PATH\TO\PortableApps"
; SysInternals := "X:\PATH\TO\SysinternalsSuite"
; NirSoft := "X:\PATH\TO\NirSoft"
; }
else
{
MsgBox PortableApps, SysInternals and NirSoft folders are not defined for this computer %A_ComputerName% `n`nPlease edit %A_ScriptDir%\Vars.ahk
}
; Tools
global curl := A_ScriptDir . "\..\..\Tools\curl32.exe"
global eventghost := ProgFiles32 . "\EventGhost\EventGhost.exe -e" ; send message to eventghost cmd
; Custom CMD console
global CustomCMD := A_ScriptDir . "\..\..\Tools\cmder\Cmder.exe" ; cmder
global CustomCMD_args := "/start" ; cmder open path argument
; home server
global RemoteComputer := "IP-ADDRESS"
global PsExecUser := "WINDOWS USER"
global PsExecPass := "PASSWORD"
global ConnectVPN := "Rasdial VPNNAME USERNAME PASSWORD" ; VPNNAME is the name of the connection you create on Windows
global CloseVPN := "Rasdial VPNNAME /DISCONNECT"
global MacList := "HomePc|nn-nn-nn-nn-nn-nn,RaspberryPi|nn-nn-nn-nn-nn-nn"
; uTorrent
global uTorrentIP := "IPADDRESS-TORRENT"
global uTorrentPort := "PORT"
global Magnet := "%Clipboard%"
global uTorrentUser := "USER"
global uTorrentPass := "PASSWORD"
global uTorrentGui
uTorrentGui = http://%uTorrentUser%:%uTorrentPass%@%uTorrentIP%:%uTorrentPort%/gui/
; xmbc
global xbmcuser := "" ; leave blank if you don't have username set on xbmc
global xbmcpass := "" ; leave blank if you don't have password
global xbmcIP := "IPADDRESS-XBMC"
global xbmcJSONPort := "PORT"
global xbmcRPC
xbmcRPC = http://%xbmcIP%:%xbmcJSONPort%/jsonrpc
; AutoRemote
global AR_TargetKey, AR_Message
global AR_URL := "https://autoremotejoaomgcd.appspot.com"
global ARkey_homeServer := "PUT-YOUR-KEY-HERE"
global ARKey_Main := "PUT-YOUR-KEY-HERE"
; Pushover
global PO_PushoverURL := "https://api.pushover.net/1/messages.json"
global PO_Token := "PUSHOVER-TOKEN"
global PO_User := "PUSHOVER-USER"
global PO_Device := "SOME-DEVICE"
global PO_Message
; PushBullet
global PB_Key := "PUT-YOUR-KEY-HERE"
global PB_PushUrl := "https://api.pushbullet.com/api/pushes"
global PB_Chrome := "YOUR-DEVICE-ID"
global PB_HTCOne := "YOUR-DEVICE-ID"
global MessageTitle, MessageBody, JsonUser, PB_Device
; Other variables
global GMusicTabTitle := "Google Play Music"
global JsonURL, JsonMessage