Skip to content

Instantly share code, notes, and snippets.

@anonymous1184
anonymous1184 / Message.ahk
Last active January 8, 2024 14:49
WM_COPYDATA Messaging

; Version: 2023.05.17.1
; https://gist.github.com/cd70e009792fc2eb866f9f5caf1e395a
/*
Message.Listen(Callback) ; Listen
Message.Listen() ; Stop listening
Message.Send(Message, Target[, Timeout := 7000ms])
ErrorLevel
-1 = Target not found
@anonymous1184
anonymous1184 / Acc.ahk
Last active May 15, 2024 13:51
Acc.ahk
#Requires AutoHotkey v2.0
; Version: 2023.09.22.1
; https://gist.github.com/58d2b141be2608a2f7d03a982e552a71
; Private
Acc_Init(Function) {
static hModule := DllCall("LoadLibrary", "Str", "oleacc.dll", "Ptr")
return DllCall("GetProcAddress", "Ptr", hModule, "AStr", Function, "Ptr")
}
@anonymous1184
anonymous1184 / README.md
Last active January 19, 2024 04:58
WinHttpRequest.ahk

WinHttpRequest Wrapper

Usage and information: https://redd.it/mcjj4s

AutoHotkey v2.0

  • [WinHttpRequest.ahk]

AutoHotkey v1.1

@shinofara
shinofara / 20160501_2044_main.py
Last active January 25, 2021 11:47
webスクレイピングして、slackに通知
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urllib2 as request
from bs4 import BeautifulSoup
import re
import urllib
import datetime
import json
@ailispaw
ailispaw / patch.fix.tumblr.getTumblelogs.tbrl.js
Last active December 28, 2021 04:33
Fix Tumblr.getTumblelogs 2021.10
// ==Taberareloo==
// {
// "name" : "Fix Tumblr.getTumblelogs 2021.12"
// , "description" : "Fix Tumblr.getTumblelogs 2021.12"
// , "include" : ["background"]
// , "version" : "0.5.2"
// , "downloadURL" : "https://gist.githubusercontent.com/ailispaw/3aef8857c274e22f2b41/raw/patch.fix.tumblr.getTumblelogs.tbrl.js"
// }
// ==/Taberareloo==
@YungSang
YungSang / patch.model.tumblr.post.tbrl.js
Last active February 6, 2021 05:33
[Deprecated] Taberareloo 用パッチ: Tumblr のポストの仕様変更に対応させる。 *Taberareloo v3.0.7 で対応されました。と思ったら、完全版では無かったので、再度有効化。v3.0.9 で対応。
// ==Taberareloo==
// {
// "name" : "Fix Post to Tumblr"
// , "description" : "Follow the latest change to post to Tumblr"
// , "include" : ["background"]
// , "version" : "0.2.6"
// , "downloadURL" : "https://gist.github.com/YungSang/7920406/raw/patch.model.tumblr.post.tbrl.js"
// }
// ==/Taberareloo==
;PrintScreenでクリップボードに格納した画像を保存
SetTitleMatchMode, 2
; 置換しておく
arg = %1%
; 保存するファイル名を置換できる。
; hoge→test
MBS_StringReplace(arg, arg, "hoge" ,"test")
; 保存ファイルはexeと同じフォルダ
SavePath=%A_ScriptDir%\%arg%.png