Skip to content

Commit

Permalink
configParser-set-ini-defaults.ahk
Browse files Browse the repository at this point in the history
  • Loading branch information
sl5net committed Nov 11, 2020
1 parent 1fa0359 commit 125474e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions configParser-set-ini-defaults.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@ 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
Expand Down

0 comments on commit 125474e

Please sign in to comment.