This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gui,Add,Text, x2 y5 w45 h20, //Type your Website Here// | |
Gui,Add,Edit, x50 y5 w48 h20 vMyEdit, | |
gui,add,button,x35 y30 w30 h20Default,Showit | |
gui,show, w100 | |
return | |
GuiClose: | |
gui,destroy | |
exitapp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#SingleInstance Force | |
;double key short press and long press example: | |
~n & h:: ;pressing s while holding down n is the hotkey |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance force | |
; Example: On-screen display (OSD) via transparent window: | |
CustomColor = FF8080 ; The transparent background color of the window, set this to something close to your text colour to avoid white highlighting | |
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow +E0x20 ; +ToolWindow avoids a taskbar button and an alt-tab menu item. | |
Gui, Color, %CustomColor% | |
Gui, Font, s50 ; Set a large font size (12-point). | |
errorTail := "hello" | |
Gui, Add, Text, x0 y-10 vMyText cRed , %errorTail% ; add it, colour is Red, R5 sets 5 rows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Inputbox, key, Enter a number | |
Random, numChar, 2, 8 | |
count := 0 | |
charInside := 0 | |
parameter := (numChar - charInside) | |
Loop | |
{ | |
If (key >= parameter) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xp := 820 | |
yp := 420 | |
F16:: | |
If !Wait | |
{ | |
Wait := 1 | |
yt := yp | |
Send {4} | |
;while Wait |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FileName := "default2.ahk" | |
FileRead, FileIn, %FileName% | |
Loop, Parse, FileIn, `n, `r | |
{ | |
If (A_Index < 2 || A_Index > 10) | |
Continue | |
else If !A_LoopField ; Test for "empty" line and skip it | |
Continue | |
lst .= A_LoopField . "`n`r" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SetTitleMatchMode, 2 | |
#IfWinActive Pencil | |
^y:: Send, ^+z | |
#IfWinActive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InputBox, Input | |
Modifiers := Input | |
Hotkey, %Modifiers%1, Hotkey1 | |
Hotkey, %Modifiers%2, Hotkey2 | |
return | |
Hotkey1: | |
msgbox, you pressed %A_ThisHotkey% | |
Return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
ComputerNames := "Computer1,Computer2,Computer3" | |
Loop, parse, ComputerNames,`, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
Gui, Add, Text,, Only play/reads/passed in A: | |
Gui, Add, Edit, gGetTotal vONlyA | |
Gui, Add, Text,, Only play/reads/passed in B: | |
Gui, Add, Edit, gGetTotal vOnlyB | |
Gui, Add, Text,, Play/read/passed in Both: | |
Gui, Add, Edit, gGetTotal vBC |
NewerOlder