Skip to content

Commit

Permalink
Merge pull request #18 from LudwikJaniuk/master
Browse files Browse the repository at this point in the history
Issue #9, prettier settings
  • Loading branch information
benwoodman committed Jul 26, 2015
2 parents 8954f98 + 2cc96ab commit 72a5c6a
Showing 1 changed file with 46 additions and 38 deletions.
84 changes: 46 additions & 38 deletions DevKeyboard.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -112,70 +112,78 @@ IfNotExist %A_AppData%\DevKeyboard\P.txt
IfNotExist %A_AppData%\DevKeyboard\OpenAuto.txt
FileAppend,, %A_AppData%\DevKeyboard\OpenAuto.txt



Gui, Add, Text,, Hold Down Time:
Gui, Add, Edit, R1 vTimeSetting

Gui, Add, Text,, Edit G:
Gui, Add, Edit, r1 vGEdit
Gui, Add, Text,, Edit H:
Gui, Add, Edit, r1 vHEdit
Gui, Add, Text,, Edit F:
Gui, Add, Edit, r1 vFEdit
Gui, Add, Text,, Edit J:
Gui, Add, Edit, r1 vJEdit
Gui, Add, Text,, Edit D:
Gui, Add, Edit, r1 vDEdit
Gui, Add, Text,, Edit K:
Gui, Add, Edit, r1 vKEdit
Gui, Add, Text,, Edit S:
Gui, Add, Edit, r1 vSEdit
Gui, Add, Text,, Edit A:
Gui, Add, Edit, r1 vAEdit
Gui, Add, Text,ym, Edit L:
Gui, Add, Edit, r1 vLEdit
Gui, Add, Text,, Edit L:
Gui, Add, Text,, Edit Z:
Gui, Add, Edit, r1 vZEdit
Gui, Add, Text,, Edit X:
Gui, Add, Edit, r1 vXEdit
Gui, Add, Text,, Edit C:
Gui, Add, Text,, Edit Q:


Gui, Add, Edit, r1 vGEdit ym
Gui, Add, Edit, r1 vHEdit
Gui, Add, Edit, r1 vFEdit
Gui, Add, Edit, r1 vJEdit
Gui, Add, Edit, r1 vDEdit
Gui, Add, Edit, r1 vKEdit
Gui, Add, Edit, r1 vSEdit
Gui, Add, Edit, r1 vAEdit
Gui, Add, Edit, r1 vLEdit
Gui, Add, Edit, r1 vZEdit
Gui, Add, Edit, r1 vXEdit
Gui, Add, Edit, r1 vCEdit
Gui, Add, Edit, r1 vQEdit

Gui, Add, Text, ym, Edit W:
Gui, Add, Text,, Edit E:
Gui, Add, Text,, Edit R:
Gui, Add, Text,, Edit T:
Gui, Add, Text,, Edit Y:
Gui, Add, Text,, Edit U:
Gui, Add, Text,, Edit I:
Gui, Add, Text,, Edit O:
Gui, Add, Text,, Edit P:
Gui, Add, Text,, Edit V:
Gui, Add, Edit, r1 vVEdit
Gui, Add, Text,, Edit B:
Gui, Add, Edit, r1 vBEdit
Gui, Add, Text,, Edit N:
Gui, Add, Edit, r1 vNEdit
Gui, Add, Text,, Edit M:
Gui, Add, Edit, r1 vMEdit
Gui, Add, Text,, Edit Comma:
Gui, Add, Edit, r1 vCommaEdit
Gui, Add, Text,ym, Edit Q:
Gui, Add, Edit, r1 vQEdit
Gui, Add, Text,, Edit W:
Gui, Add, Edit, r1 vWEdit
Gui, Add, Text,, Edit E:


Gui, Add, Edit, r1 vWEdit ym
Gui, Add, Edit, r1 vEEdit
Gui, Add, Text,, Edit R:
Gui, Add, Edit, r1 vREdit
Gui, Add, Text,, Edit T:
Gui, Add, Edit, r1 vTEdit
Gui, Add, Text,, Edit Y:
Gui, Add, Edit, r1 vYEdit
Gui, Add, Text,, Edit U:
Gui, Add, Edit, r1 vUEdit
Gui, Add, Text,, Edit I:
Gui, Add, Edit, r1 vIEdit
Gui, Add, Text,, Edit O:
Gui, Add, Edit, r1 vOEdit
Gui, Add, Text,ym, Edit P:
Gui, Add, Edit, r1 vPEdit
Gui, Add, Edit, r1 vVEdit
Gui, Add, Edit, r1 vBEdit
Gui, Add, Edit, r1 vNEdit
Gui, Add, Edit, r1 vMEdit

; +Section creates a "section", so further columning done with ys or ym
; (instead of ym and xm) works relative to only that section and the objects
; int it. In short, useful for nesting columns.
Gui, Add, Text, ym +Section, Edit Comma:
Gui, Add, Text,, Hold Down Time:


Gui, Add, Edit, r1 vCommaEdit ym
Gui, Add, Edit, R1 vTimeSetting

Gui, Add, Checkbox, vSemicolonEdit, Enable semicolon`nshortcut key
Gui, Add, Text, xs, DevKeyboard Version 1.4
Gui, Add, Checkbox, vSemicolonEdit, Enable semicolon shortcut key
Gui, Add, Checkbox, vOpenAutoEdit, Enable AutoStart
Gui, Add, Button, gYouPressed, Save
Gui, Add, Text,, DevKeyboard Version 1.4

FileRead, FileContents, %A_AppData%\DevKeyboard\time.txt
time = %FileContents%
Expand Down Expand Up @@ -337,7 +345,7 @@ if var FileContentsOpenAuto = "true"
}

Gui, +Resize
Gui, Show, w535 h440, Settings
Gui, Show,, Settings
return

YouPressed:
Expand Down

0 comments on commit 72a5c6a

Please sign in to comment.