Skip to content

Commit ff24892

Browse files
authored
Update EC-Autoclicker.ahk
1 parent e3285b0 commit ff24892

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

EC-Autoclicker.ahk

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Warn
2-
#Requires AutoHotkey v2.0-beta
2+
#Requires AutoHotkey v2.0
33
#NoTrayIcon
44
#SingleInstance Force
55

@@ -168,7 +168,7 @@ Menus.Add SZ_TABLE.Menu_Options, OptionsMenu
168168
Menus.Add SZ_TABLE.Menu_Help, HelpMenu
169169
AutoclickerGui.MenuBar := Menus
170170

171-
AutoclickerGui.AddTab3 "w250 h205 vTab", [
171+
AutoclickerGui.AddTab3 "w250 h208 vTab", [
172172
SZ_TABLE.Tabs.General,
173173
SZ_TABLE.Tabs.Scheduling,
174174
SZ_TABLE.Tabs.Positioning,
@@ -224,7 +224,7 @@ AutoclickerGui.AddGroupBox "xs ys+25 w226 h148 Section", "Stop after"
224224
makeCheckable "Scheduling_StopAfterNumClicks_Checkbox", AutoclickerGui.AddCheckbox("xs+10 yp+20", "&Number of clicks:")
225225
, Scheduling_StopAfterNumClicksToggled
226226

227-
AutoclickerGui.AddEdit "xp+100 yp-2 w45 vScheduling_StopAfterNumClicks_NumEdit Disabled Limit Number", "50"
227+
AutoclickerGui.AddEdit "xp+104 yp-2 w45 vScheduling_StopAfterNumClicks_NumEdit Disabled Limit Number", "50"
228228

229229
makeCheckable "Scheduling_StopAfterDuration_Checkbox", AutoclickerGui.AddCheckbox("xs+10 yp+25", "D&uration:")
230230
, Scheduling_StopAfterDurationToggled
@@ -235,7 +235,7 @@ AutoclickerGui.AddText "xp+48 yp+2 vScheduling_StopAfterDuration_UnitText Disabl
235235
makeCheckable "Scheduling_StopAfterTime_Checkbox", AutoclickerGui.AddCheckbox("xs+10 yp+25", "&Time:")
236236
, Scheduling_StopAfterTimeToggled
237237

238-
AutoclickerGui.AddDateTime "xp+48 yp-2 w80 vScheduling_StopAfterTime_DateTime Disabled", "Time"
238+
AutoclickerGui.AddDateTime "xp+48 yp-2 w100 vScheduling_StopAfterTime_DateTime Disabled", "Time"
239239

240240
AutoclickerGui.AddDropDownList "xs+10 yp+26 w206 vScheduling_StopAfterMode_DropDownList AltSubmit Choose1 Disabled", [
241241
"Whichever comes first",
@@ -275,21 +275,21 @@ PerBoundaryConfigControls := { %SZ_TABLE.Positioning_Boundary_Mode.None%: [], %S
275275
]
276276
}
277277

278-
AutoclickerGui.AddGroupBox "xs yp+40 w226 h45 Section", "Mouse position relative to"
278+
AutoclickerGui.AddGroupBox "xs yp+44 w226 h45 Section", "Mouse position relative to"
279279
makeRadioGroup "Positioning_RelativeTo_Radio", [
280280
AutoclickerGui.AddRadio("xs+10 yp+20 vPositioning_RelativeTo_Radio Checked", "Entire &screen"),
281281
AutoclickerGui.AddRadio("yp", "Focused &window")
282282
]
283283

284284
AutoclickerGui["Tab"].UseTab(SZ_TABLE.Tabs.Hotkeys)
285285

286-
AutoclickerGui.AddListView("w226 h135 vHotkeys_HotkeyList_ListView -LV0x10 Sort", ["Action", "Global", "Hotkey"])
286+
AutoclickerGui.AddListView("w226 h140 vHotkeys_HotkeyList_ListView -LV0x10 Sort", ["Action", "Global", "Hotkey"])
287287
.OnEvent("ItemSelect", Hotkeys_ItemSelectionChanged)
288288
AutoclickerGui["Hotkeys_HotkeyList_ListView"].ModifyCol(1, 50)
289-
AutoclickerGui["Hotkeys_HotkeyList_ListView"].ModifyCol(2, 40)
290-
AutoclickerGui["Hotkeys_HotkeyList_ListView"].ModifyCol(3, 132)
289+
AutoclickerGui["Hotkeys_HotkeyList_ListView"].ModifyCol(2, 42)
290+
AutoclickerGui["Hotkeys_HotkeyList_ListView"].ModifyCol(3, 130)
291291

292-
AutoclickerGui.AddButton("xm+10 yp+145 w72 vHotkeys_AddHotkey_Button", "&Add")
292+
AutoclickerGui.AddButton("xm+10 yp+147 w72 vHotkeys_AddHotkey_Button", "&Add")
293293
.OnEvent("Click", Hotkeys_AddHotkey)
294294
AutoclickerGui.AddButton("yp wp vHotkeys_RemoveHotkey_Button Disabled", "&Remove")
295295
.OnEvent("Click", Hotkeys_RemoveHotkey)
@@ -966,11 +966,12 @@ AboutOpen(*) {
966966
AboutGui.OnEvent "Escape", hideOwnedGui
967967
AboutGui.OnEvent "Close", hideOwnedGui
968968

969-
AboutGui.AddPicture "w40 h40", A_IsCompiled ? A_ScriptFullPath : "C:\Program Files\AutoHotkey\v2\AutoHotkey64.exe"
969+
AboutGui.AddPicture "w40 h40", A_IsCompiled ? A_ScriptFullPath : A_ProgramFiles "\AutoHotkey\v2\AutoHotkey.exe"
970970
AboutGui.SetFont "s12 bold"
971971
AboutGui.AddText "xp+50 yp", "EC Autoclicker version " (A_IsCompiled ? SubStr(FileGetVersion(A_ScriptFullPath), 1, -2) : "?")
972972
AboutGui.SetFont
973-
AboutGui.AddLink "xp", "<a>https://github.com/Expertcoderz/EC-Autoclicker</a>"
973+
AboutGui.AddText "xp wp", "An open-source configurable autoclicking utility for Windows."
974+
AboutGui.AddLink "xp", "<a href=`"https://github.com/Expertcoderz/EC-Autoclicker`">https://github.com/Expertcoderz/EC-Autoclicker</a>"
974975

975976
add_log "Created About GUI"
976977
}

0 commit comments

Comments
 (0)