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
#Requires AutoHotkey v2.0 | |
OnMessage( 0xF, PaintTitle) | |
OnMessage( 0x14, EraseBkgnd) | |
OnMessage( 0x83, NcCalcSize) | |
OnMessage( 0x84, NcHitTest) | |
OnMessage( 0xA4, NcRButtonDown) | |
OnMessage( 0x2A2, NcMouseLeave) |
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
; Example 1: Add some code and import a function. | |
v1 ' | |
( | |
MakeProgress(Param1:="", Sub:="", Main:="", Title:="", Font:="") { | |
Progress % Param1, % Sub, % Main, % Title, % Font | |
} | |
)' | |
Progress := v1_func('MakeProgress') | |
Progress , "Imaginative subtext", "Loading example ..." |
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
/* | |
WarnLegacy(filename := A_ScriptFullPath) | |
Prints a warning to stdout for each detected use of the following: | |
var = value ; legacy assignment | |
if var = value ; legacy IF with any of these operators: = < > <= >= <> != | |
excluding: | |
if var = n ; where n is any literal number, and = is any of the above operators. | |
Also handles #Include or #IncludeAgain if passed a directory or filename, but does |
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
-- AutoComplete v0.8 by Lexikos | |
--[[ | |
Tested on SciTE4AutoHotkey 3.0.06.01; may also work on SciTE 3.1.0 or later. | |
To use this script with SciTE4AutoHotkey: | |
- Place this file in your SciTE user settings folder. | |
- Add the following to UserLuaScript.lua: | |
dofile(props['SciteUserHome'].."/AutoComplete.lua") | |
- Restart SciTE. | |
]] |
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
/* Title: IPC | |
*Inter-process Communication*. | |
*/ | |
/* | |
Function: Send | |
Send the message to another process (receiver). | |
Parameters: | |
PidOrName - Process name or ID |
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
<!DOCTYPE html> | |
<meta http-equiv="X-UA-Compatible" content="IE=8"> | |
<script src="toc.js"></script> | |
<script> | |
var fso = new ActiveXObject("Scripting.FileSystemObject") | |
var f = fso.OpenTextFile("toc.json", 2, true) | |
f.Write(JSON.stringify(toc)) | |
f.Close() | |
window.close() | |
</script> |
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
; Converts HTML content on the Clipboard to BBCode for ahkscript.org | |
; Requires AutoHotkey v1.1 | |
; Produces best results when copying from Internet Explorer | |
if html := GetClipboardHTMLFragment() | |
Clipboard := ConvertHTMLFragmentToBBCode(html) | |
ConvertHTMLFragmentToBBCode(html) | |
{ | |
repl := [[ |
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
/* Custom styles for AutoHotkey forum, by Lexikos. Tested only on Firefox 13. | |
License (or whatever): http://creativecommons.org/publicdomain/zero/1.0/ */ | |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url-prefix("http://www.autohotkey.com/community/") { | |
/* Some of the styles in the next section could be moved here, but then I'd have to do more | |
testing on the various forms/pages. Most of my time is spent on viewtopic.php anyway. */ |