StringCaseSense, On ;|Off|Locale
Got some problems with that too. Is now added in the Template i design atm.
Code: Select all
;************************************************
; AHK _ SCRIPT STRUCTURE TEMPLATE v1.1
; by HinkerLoden
; 25/03/2016
; OS --> Win 10 / etc.
;AHK Version --> 1.1.23.05
;************************************************
;************************************************
;Script Global Settings
;************************************************
#NoEnv ; Clear All Systemvariables
#Persistent ;Keeps a script permanently running until ExitApp execute
#SingleInstance force ;The word FORCE skips the dialog box and replaces the old instance automatically, which is similar in effect to the Reload command.
;************************************************
;Performance PARAMETERS - if you need speed
;************************************************
;SetBatchLines, -1
;Process, Priority, , L ;A - Max Speed
;************************************************
; Input PARAMETERS
;************************************************
SendMode Input ;Default = Event , Play - for Speed -> Set Keydelay to -1 & Setmousedely to -1
;----
SetKeyDelay, 10, 10 ; for speed -1, -1,
SetMouseDelay, 25 ;0 recommend / -1 for max speed
SetDefaultMouseSpeed, 0 ;0-100
;************************************************
;History Protocols
;Switch setting for more Speed
;************************************************
#KeyHistory 1 ; 0 - No Keyhistory
ListLines On ; Off - for more speed
;************************************************
;Window detection
;************************************************
SetTitleMatchMode, 2
SetTitleMatchMode Fast ;slow detect hidden windows
SetWinDelay, 200 ;0 - for more speed
;StringCaseSense, On|Off|Locale
;DetectHiddenWindows, On ; | Off
;i double the standard settings to be on the save side
;####################### #######################
; Script Parameter
;####################### #######################
SetWorkingDir %A_ScriptDir% ;Ensures a consistent starting directory.
;#Include %A_ScriptDir%\YourLibrarys2integrate.ahk
CoordMode, Pixel, Screen ;relative/Window - active Window
CoordMode, Mouse, Screen
;WinMinimizeAll ;Optional
;####################### #######################
; Try to avoid pure numbers inside the code - adress all Vars here
;=============================================================
; Variable Section
;=============================================================
;####################### #######################
;global / static
;EnvUpdate ; --> Notifies the OS and all running applications that environment variable(s) have changed.
;####################### #######################
;=============================== TimerVars
Variable_01 =
Variable_02 =
Variable_03 =
Variable_04 =
Variable_05 =
Variable_06 =
Variable_07 =
Variable_08 =
Variable_09 =
Variable_10 =
;####################### #######################
;=============================================================
; CODE
;=============================================================
;####################### #######################
;=============================================================
; GUI
;=============================================================
;=============================================================
;####################### #######################
;=============================================================
;=============================================================
; gLabel
;=============================================================
;ButtonX
;=============================================================
;EditX
;=============================================================
;
;=============================================================
;=============================================================
; TIMER
;=============================================================
;TimerX
;=============================================================
return
; Timer2
;=============================================================
Timer2:
return
;=============================================================
; HOTKEYS
;=============================================================
; Hotkey1
;=============================================================
; Hotkey2
;=============================================================
; Exit
;=============================================================
Exit:
!x:: ; Hotkey ALT+x.
GuiEscape:
GuiClose:
ExitApp
;####################### #######################
;=============================================================
; FUNCTIONS
;=============================================================
;####################### #######################