packages ideally should be named {{name}}_bigaplugin.ahk in all lowercase
Good:
// ==UserScript== | |
// @name Something-Awful-threadSniper | |
// @version 0.2.0 | |
// @description Highlights threads ready to be sniped | |
// @match *://forums.somethingawful.com/* | |
// @license MIT | |
// @grant none | |
// @namespace http://github.com/Chunjee | |
// @author Chunjee | |
// ==/UserScript== |
packages ideally should be named {{name}}_bigaplugin.ahk in all lowercase
Good:
WinHttpRequest(params*) | |
{ | |
static instance := "" | |
return isObject(instance) | |
? instance | |
: instance := new winhttprequest(params*) | |
} | |
class winhttprequest extends WinHttpRequest.Factory | |
{ |
;#! AHK v2.a122 64 Unicode ; UTF-16_LE_BOM | |
/* | |
∫⣿∫ Braille Bytes (Big-endian) | |
----------------------------------------------------------------------------- | |
⠢⡦⢆⢎⠞⠞⢖⠄⠢⣎⡖⢖⣦ ◷ 2020-08-26 | |
Computers store information in various sized groups of binary bits. | |
If sometime you feel blind, use Braille Bytes to visualize. | |
• Braille Pattern Dots: U+2800 U+28FF | |
https://en.wikipedia.org/wiki/Braille_Patterns |
#SingleInstance, Force | |
#NoEnv | |
SetBatchLines -1 | |
DetectHiddenWindows, On | |
gosub Display | |
Browser_Forward::Reload | |
Display: | |
;**********************gui********************************* | |
gui, +resize |
;/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\ | |
; iterate through chrome tabs example | |
;\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/ | |
;~~~~~~~~~~~~~~~~~~~~~ | |
; Compile Options | |
;~~~~~~~~~~~~~~~~~~~~~ | |
SetBatchLines -1 ;Go as fast as CPU will allow | |
#NoTrayIcon | |
#SingleInstance force |
; /--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\ | |
; Date Parsing | |
; \--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/ | |
fn_DateParser(str) | |
{ | |
date_array := [] | |
d_array := [] | |
;Get the century | |
FormatTime, local_century, A_Now, yyyy |
; Function: Array_Gui | |
; Description: Displays an array as a treeview in a GUI | |
; Syntax: Array_Gui(Array) | |
; Parameters: Param1 - Array | |
; Return Value: Null | |
; Remarks: Resizeable | |
; Related: Array_Print, Array_DeepClone, Array_IsCircle | |
; Example: Array_Gui({"GeekDude":["Smart", "Charming", "Interesting"], "tidbit":"Weird"}) | |
Array_Gui(Array, Parent="") { |
; /--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\ | |
; Misc useful functions | |
; \--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/--\--/ | |
util_misc_ver := 1.2.0 | |
fn_QuickRegEx(para_Input,para_RegEx,para_ReturnValue := 1) | |
{ ;Quick RegEx for quick matches. Remember to include match parenthesis (\d+).+ Returns matched value | |
;fn_QuickRegEx(A_LoopRealLine,"(\d+)") | |
if (para_ReturnValue = 0) { | |
para_RegEx := "O)" para_RegEx |