-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigParser-set-ini-defaults.ahk
More file actions
43 lines (31 loc) · 1.05 KB
/
Copy pathconfigParser-set-ini-defaults.ahk
File metadata and controls
43 lines (31 loc) · 1.05 KB
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
yourUserName := A_UserName
pathHome := "Z:\home\" ; dont change this. its same for all users
path := pathHome yourUserName "\ahk\github\lintalist\" ; configure folder where lintalist is stored
iniPath := path "Settings.ini"
; WinWait, Untitled - Notepad, , 3
if !FileExist(iniPath){
; path := pathHome yourUserName "\ahk\github\lintalist\" ; configure folder where lintalist is stored
run, % path "lintalist.ahk"
sleep,1000
reload
MsgBox, %iniPath% file does not exist.
exit
}
; /home/m/ahk/github/lintalist/Settings.ini
;# config['Settings']['QuickSearchHotkey'] = 'F11' # create or update
; IniWrite, Value, Filename, Section, Key
IniWrite, F11, % iniPath, Settings, QuickSearchHotkey
IniWrite, 2, % iniPath, Settings, PasteMethod
IniWrite, 2, % iniPath, Settings, SearchMethod
IniWrite, Part1-Logical, % iniPath, Settings, ColumnSort
IniWrite, 10, % iniPath, Settings, PasteDelay
IniWrite, 1, % iniPath, Settings, AutoExecuteOne
; MsgBox,% iniPath
; 20:11:10 12:54:00
; :time
; 20:11:10 12:54:23
; :time
; :time
; :time
; :time
; :time