This file contains hidden or 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 | |
| #SingleInstance Force | |
| ;;;;;#Persistent | |
| ListLines Off | |
| ;-- Constants | |
| ES_UPPERCASE :=0x8 | |
| ES_LOWERCASE :=0x10 | |
| ES_NUMBER :=0x2000 |
This file contains hidden or 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
| WB.document.write("<body style=""margin:0px;""><img id=""pic"" src=""http://" img """/></body>") |
This file contains hidden or 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
| WB.document.write("<body style=""margin:0px;""><img id=""pic"" src=""http://" img """/></body>") |
This file contains hidden or 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
| ;-- Idea for this example: just me. | |
| ;-- Post: http://www.autohotkey.com/board/topic/88206-inputbox-data-validation-5-characters-or-less/#entry559627 | |
| #NoEnv | |
| #SingleInstance Force | |
| ListLines Off | |
| ;-- Constants | |
| ES_UPPERCASE :=0x8 | |
| ES_LOWERCASE :=0x10 | |
| ES_NUMBER :=0x2000 |
This file contains hidden or 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
| ;-- Thanks to jsherk for the idea for this example | |
| ; Post: http://www.autohotkey.com/forum/viewtopic.php?t=73246 | |
| ;[===============] | |
| ;[ Environment ] | |
| ;[===============] | |
| #NoEnv | |
| #SingleInstance Force | |
| ListLines Off |
This file contains hidden or 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
| ;[=============] | |
| ;[ Ctrl+W ] | |
| ;[ [Notepad] ] | |
| ;[=============] | |
| #IfWinActive ahk_class Notepad | |
| ^w:: | |
| #IfWinActive | |
| ;-- Get current handle to the Edit control | |
| if Edit_GetActiveHandles(hEdit) |
This file contains hidden or 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
| ;[================] | |
| ;[ Convert Case ] | |
| ;[================] | |
| ^#!c:: ;-- Capitalize | |
| ^#!l:: ;-- Lowercase | |
| ^#!t:: ;-- Toggle case | |
| ^#!u:: ;-- Uppercase | |
| ;-- Bounce if an Edit control is not active | |
| if not Edit_GetActiveHandles(hEdit,hWindow,True) |
This file contains hidden or 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
| ;------------------------------ | |
| ; | |
| ; Function: AddToolTip | |
| ; | |
| ; Description: | |
| ; | |
| ; Add/Update tooltips to GUI controls. | |
| ; | |
| ; Parameters: | |
| ; |
This file contains hidden or 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 | |
| #SingleInstance Force | |
| ListLines Off | |
| ;-- Initialize | |
| CoordMode Tooltip,Screen | |
| hFont :=0 | |
| ;-- If not zero, this variable contains the handle to the current font. |
This file contains hidden or 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
| ;------------------------------ | |
| ; | |
| ; Function: Convert2Hex | |
| ; | |
| ; Description: | |
| ; | |
| ; Converts an integer to hexadecimal format. | |
| ; | |
| ; Parameters: | |
| ; |