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
SetTitleMatchMode 2 | |
MsgBox % Acc_Get("Value", "4.20.2.4.2", 0, "Firefox") | |
MsgBox % Acc_Get("Value", "application1.property_page1.tool_bar2.combo_box1.editable_text1", 0, "Firefox") | |
Acc_Get(Cmd, ChildPath="", ChildID=0, WinTitle="", WinText="", ExcludeTitle="", ExcludeText="") { | |
static properties := {Action:"DefaultAction", DoAction:"DoDefaultAction", Keyboard:"KeyboardShortcut"} |
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
WM_KEYDOWN = 0x100 | |
GoSub, GetHTML | |
OnMessage(WM_KEYDOWN, "WM_KeyDown") | |
Gui Add, ActiveX, w350 h300 x0 y0 vdoc, HTMLFile | |
doc.write(html) | |
Gui, Show, w310 h265 Center, HTML Based GUI | |
doc.all.type.focus | |
ComObjConnect(doc, "Doc_") | |
return |
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
; AutoHotkey_L: | |
IEGet(name="") { | |
IfEqual, Name,, WinGetTitle, Name, ahk_class IEFrame ; Get active window if no parameter | |
Name := (Name="New Tab - Windows Internet Explorer")? "about:Tabs":RegExReplace(Name, " - (Windows|Microsoft) Internet Explorer") | |
for WB in ComObjCreate("Shell.Application").Windows | |
if WB.LocationName=Name and InStr(WB.FullName, "iexplore.exe") | |
return WB | |
} |
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
#include <windows.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
void USAGE() | |
{ | |
puts("\ | |
用法: switchCG.exe \"exe文件路径\" [/c | /g]\r\n\ | |
参数:\r\n\ |
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
/* | |
Usage: | |
GuiAddF(oText = "", oEdit = "", oFSel = "") | |
Parameters: | |
oText := {Opt: "", Text: ""} | |
oEdit := {Opt: "", Text: ""} | |
oFSel := {Opt: "", defPath: "", Prompt: "", Filter: "", cmd: "", OnFinish: ""} | |
Return: | |
{HEdit: HEdit, HBtn_Browse: HBtn_Browse, HBtn_Open: HBtn_Open} |
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: Notifies about changes within folders. | |
; This is a rewrite of HotKeyIt's WatchDirectory() released at | |
; http://www.autohotkey.com/board/topic/60125-ahk-lv2-watchdirectory-report-directory-changes/ | |
; Tested with: AHK 1.1.22.02 (A32/U32/U64) | |
; Tested on: Win 8.1 Pro x64 | |
; Usage: WatchFolder(Folder, UserFunc[, SubTree := False[, Watch := 3]]) | |
; Parameters: | |
; Folder - The full qualified path of the folder to be watched. | |
; Pass the string "**PAUSE" and set UserFunc to either True or False to pause respectively resume watching. |
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
{ | |
"description" : "test description", | |
"name" : "test name", | |
"version" : "1.0", | |
"content_scripts": [ | |
{ | |
"matches": ["*://*/*"], | |
"js": ["myscript.js"], | |
"run_at": "document_end" | |
} |
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
{ | |
"description" : "Remove [color] tags on www.autohotkey.com forum", | |
"name" : "Remove [color] tags", | |
"version" : "1.0", | |
"content_scripts": [ | |
{ | |
"matches": ["http://www.autohotkey.com/board/topic/*"], | |
"js": ["myscript.js"], | |
"run_at": "document_end" | |
} |
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: IPv4 ping with name resolution, based upon 'SimplePing' by Uberi -> | |
; http://www.autohotkey.com/board/topic/87742-simpleping-successor-of-ping/ | |
; Parameters: Addr - IPv4 address or host / domain name. | |
; ---------- Optional: | |
; Result - Object to receive the result in three keys: | |
; - InAddr - Original value passed in parameter Addr. | |
; - IPAddr - The replying IPv4 address. | |
; - RTTime - The round trip time, in milliseconds. | |
; Timeout - The time, in milliseconds, to wait for replies. |
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
/* | |
Modified version by tmplinshi (2015-7-25) | |
Added: | |
- "Contains" checkbox. | |
- Double-click cell to copy text. | |
- Auto select text in edit box when focused. | |
- "Always On Top" checkbox. | |
Modified: | |
- Trim keyword, etc... | |
Fixed: (2019-11-05) |