Skip to content
Browse files

Use variable for version number - only one place to change for future…

… versions
  • Loading branch information...
1 parent e77733d commit a468ecd17bfa9843970a85ca4d05916e0c9ebea0 dustin committed
Showing with 4 additions and 3 deletions.
  1. +4 −3 texter.ahk
7 texter.ahk
@@ -215,6 +215,7 @@ Send,{SC77}
+Version = 0.4
EnterCSV = %A_ScriptDir%\Active\bank\enter.csv
TabCSV = %A_ScriptDir%\Active\bank\tab.csv
SpaceCSV = %A_ScriptDir%\Active\bank\space.csv
@@ -239,7 +240,7 @@ IfNotExist Active
FileCreateDir, Active\replacements
FileCreateDir, Active\bank
cancel := GetValFromIni("Cancel","Keys","{Escape}") ;keys to stop completion, remember {}
ignore := GetValFromIni("Ignore","Keys","{Tab}`,{Enter}`,{Space}") ;keys not to send after completion
@@ -443,7 +444,7 @@ Gui,4: Add,Picture,x200 y0,%TexterPNG%
Gui,4: font, s36, Courier New
Gui,4: Add, Text,x10 y35,Texter
Gui,4: font, s8, Courier New
-Gui,4: Add, Text,x171 y77,0.4
+Gui,4: Add, Text,x171 y77,%Version%
Gui,4: font, s9, Arial
Gui,4: Add,Text,x10 y110 Center,Texter is a text replacement utility designed to save`nyou countless keystrokes on repetitive text entry by`nreplacing user-defined abbreviations (or hotstrings)`nwith your frequently-used text snippets.`n`nTexter is written by Adam Pash and distributed`nby Lifehacker under the GNU Public License.`nFor details on how to use Texter, check out the
Gui,4:Font,underline bold
@@ -1061,7 +1062,7 @@ IfNotExist texter.ini
updatereply = 0
update := GetValFromIni("Preferences","UpdateCheck",updatereply)
if (update = 1)

0 comments on commit a468ecd

Please sign in to comment.
Something went wrong with that request. Please try again.