Skip to content

Commit 50792c6

Browse files
committed
added script dir ref
1 parent 7d9e491 commit 50792c6

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

CSV Text Expander/CSV Text Expander.ahk

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@ SetWorkingDir %A_ScriptDir% ; Set starting directory to the directory with t
77
SetTitleMatchMode,2 ;Easily find window titles.
88

99

10-
; This app works but is incomplete. still needs filtering of special characters and referential file location instead of typing it into the file.
11-
12-
1310
MsgBox, 1, AutoHotkey Text Expander, This text expander allows you to automatically convert short phrases into long blocks of text. New shortcuts can be added in the included hotstrings.csv file.`n`nExample, typing <ate will expand into "AutoHotkey Text Expander"`n`nBuilt In Hotstring:`n<now = DateTime(MM/dd/yyyy hh:mm:ss)
1411
IfMsgBox, Cancel
1512
ExitApp
1613
IfMsgBox, OK
1714
; loop through the csv file one line at a time
18-
Loop, read, hotstrings.csv
15+
Loop, read, %A_ScriptDir%\hotstrings.csv
1916
{
2017
; save the line number to a variable
2118
LineNumber := A_Index -1
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)