Skip to content

Instantly share code, notes, and snippets.

;push win+3 to show your autohotkey information and copy it to your clipboard so you can paste it
#3::ahkinfo()
ahkinfo(){
isunicode := a_isunicode ? "Unicode" : "ANSI"
thisinfo:= "AutoHotkey " . a_ahkversion . " " . isunicode . " on Windows 7 Pro x64"
clipboard := thisinfo
alert(thisinfo)
}
@BGMcoder
BGMcoder / AX.cfg
Last active August 29, 2015 14:17
My AX char config with customizations for Latin and Chant; You can get AX here: http://vulpeculox.net/ax/
;Brother Gabriel-Marie's AX char config
;March 17, 2015
;You can get AX here: http://vulpeculox.net/ax/
; -------------------------------------------------------------------
; HOTKEY
; -------------------------------------------------------------------
; Tells which hot key to use.
; Possible values are F1 ••• F12
; -------------------------------------------------------------------
KEY=F9
@BGMcoder
BGMcoder / compile-tex.ahk
Created March 17, 2015 02:56
Simple Compile Script for tex files via AutoHotkey
;Simple Compile Script for tex files.
;Monday, March 16, 2015
;by Brother Gabriel-Marie
;Just a simple script to compile a tex file to pdf;
;easily modifiable to accomodate multiple scripts in multiple directories.
#SingleInstance,Force
#noenv
fileencoding, UTF-8
@BGMcoder
BGMcoder / RotatePDF.tex
Created March 17, 2015 02:44
Rotate Every Page in a PDF By Any Degree
%Rotate a pdf file by any degree
%Works on every page of a multi-page pdf file
%You can't even buy software that will do this!
%http://tex.stackexchange.com/questions/233513/how-to-rotate-a-pdf
\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages={-},angle=0.7]{yourPDFfile.pdf}
\end{document}
@BGMcoder
BGMcoder / freepbx.userscript
Created March 11, 2015 03:32
Greasemonkey userscript to provides some interface fixes for FreePBX Admin.
// ==UserScript==
// @name FreePBX
// @namespace @bgm-freepbx
// @description freepbx interface mods
// @include http://YOUR_SERVER_HERE/admin/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @version 1
// @grant GM_addStyle
// @run-at document-end
// ==/UserScript==
@BGMcoder
BGMcoder / instantbirder.ahk
Created March 11, 2015 03:30
Switch between Instantbird and any other program with a hotkey
#singleinstance force
#noenv
;directives
coordmode, mouse, screen ;set mouse to get coords from screen
settitlematchmode 2
;-------------------------------------------------------------------
;variables for the Instantbird focuser
instantbird := " - Instantbird" ;the title of the typing window is something like "Name of Person - Instantbird" --I confirm that the " - " is always in the title, complete with the two spaces on either side of the hyphen.
curwin := ""
@BGMcoder
BGMcoder / Score.gabc
Created March 11, 2015 03:19
Gregorio score template
name: incipit;
gabc-copyright: copyright on this gabc file;
score-copyright: copyright on the source score;
office-part: introitus/...;
occasion: in church calendar;
meter: for metrical hymns;
commentary: source of words;
arranger: name of arranger;
gabc-version: 0.9.3;
author: if known;
@BGMcoder
BGMcoder / GregoCompileAHK.ahk
Last active August 29, 2015 14:16
Gregorio Compilation Script via Autohotkey
;Simple Compile Script for Gregorio.
;Tuesday, March 10, 2015
;by Brother Gabriel-Marie
;Just a simple script to compile a gabc file to pdf; easily modifiable to accomodate multiple scripts in multiple directories.
#SingleInstance,Force
#noenv
fileencoding, UTF-8
;filename variables - just set the names here - without file extensions