Skip to content

Instantly share code, notes, and snippets.

Jason Davis jasondavis

Block or report user

Report or block jasondavis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jasondavis
jasondavis / openSublimeProject.ahk
Created Apr 16, 2018 — forked from noahcoad/openSublimeProject.ahk
Fixes Sublime Text 2 open project odd behavior on Windows by making sure the selected project receives focus. Will also open files in a specific project window.
View openSublimeProject.ahk
;
; Opens Sublime Text 2 and makes the wanted project have focus
; If additional files are specified, they'll be opened in the specified project
; Useful for scripting, global hotkeys, command launchers, etc
;
; Example:
; openSublimeProject.ahk c:\sites\blog\blog.sublime-project c:\sites\blog\.gitignore c:\sites\blog\Gemfile
;
; Problems this script fixes:
; 1. If sublime is already open with the requested project, it creates an empty window and makes that active
@jasondavis
jasondavis / Multi_Column_Menu_in_AutoHotKey.ahk
Last active Apr 1, 2018
Multi-Column Menus in AutoHotKey Demo
View Multi_Column_Menu_in_AutoHotKey.ahk
; AutoHotKey Multi Column Menu Example
; Forum URL - https://autohotkey.com/board/topic/69553-menu-with-columns-problem-with-adding-column-separator/#entry440866
; https://autohotkey.com/board/topic/25008-multi-column-menu/
; GitHub Gist URL - https://gist.github.com/jasondavis/d5d3e8437241c27d99f583259484f667
- File Path -
; Image - https://www.apollowebstudio.com/screenshots/2018/04/2018-04-01_01-13-01.png
Menu, main, Add, Item 1, MenuHandler
Menu, main, Add, Item 2, MenuHandler
@jasondavis
jasondavis / Sidebar for notes in autohotkey
Created Mar 3, 2018 — forked from CCCBBBAAAHIGHSCORE/Sidebar for notes in autohotkey
Sidebar for notes in autohotkey (work in progress)
View Sidebar for notes in autohotkey
gui_state = closed
Return ; end of autoexecute
ScrollLock::
if gui_state != closed
{
; If the GUI is already open, close it.
gui, Destroy
@jasondavis
jasondavis / onTop.ahk
Created Feb 26, 2018 — forked from davebrny/onTop.ahk
🎩 (autohotkey) - manage 'always on top' windows from a context menu
View onTop.ahk
#noEnv
#singleInstance, force
return ; end of auto-execute
#space::goSub, onTop_menu ; show menu
#!space::goSub, toggle_onTop ; toggle the active window
^#!space::goSub, minimise_all_onTop
View drag-and-drop-tasks.markdown
View ClipboardHistory.ahk
; Pulover's Clipboard History
#NoEnv
#SingleInstance force
#InstallKeybdHook
Menu, Tray, Add, Show Clipboard History, ShowHistory
Menu, Tray, Add, Options, Options
Menu, Tray, Add, Pause, PauseScript
Menu, Tray, Add, Exit, Exit
@jasondavis
jasondavis / Markdown_2_HTML.ahk
Created Feb 23, 2018
AutoHotScript (AHK) Markdown 2 HTML GUI App
View Markdown_2_HTML.ahk
#NoEnv
#SingleInstance force
#Include jsonFormatter.ahk
SetBatchLines, -1
Gui, Add, Text, X10 Y10, Markdown:
Gui, Add, Edit, x10 y36 w400 h600 vmarkdown
Gui, Add, Text, X420 y10, HTML Text Result:
Gui, Add, Edit, X420 y36 w400 h600 vresult ReadOnly
@jasondavis
jasondavis / Markdown_2_HTML.ahk
Last active Feb 23, 2018
AutoHotScript (AHK) Markdown 2 HTML GUI App
View Markdown_2_HTML.ahk
/*
AutoHotScript (AHK) Markdown 2 HTML GUI App
- AutoHotScript GUI Window to Convert Markdown 2 HTML
1) Markdown text Edit GUI
2) HTML Text Edit GUI parsed from above Markdown text
3) HTML Activex GUI Webpage with above parsed Markdown as HTML for preview
- Based on:
- Markdown2HTML code in GenDocs library - https://github.com/fincs/GenDocs/blob/master/Lib/Markdown2HTML.ahk
- jsonFormatter - JSON Beautifier/Pretty Print Script using JavaScript here https://autohotkey.com/board/topic/94687-jsonformatter-json-pretty-print-using-javascript/
- Github Gist - https://gist.github.com/jasondavis/157d0fa2ce47086c30fd1c8ca83f4785
View IconEx.ahk
/* _______________________________________________________________________________________
_____ ______ __ _
|_ _| | ____| /_ || | _ _ _ SKAN (Suresh Kumar A N)
| | ___ ___ _ __ | |__ __ __ | || |_| | | | | | arian.suresh@gmail.com
| | / __/ _ \| '_ \| __| \ \/ / | ||___| | | ' | |
_| || (_| (_) | | | | |____ > < | | | | | |__| | Created on : 13-May-2008
|_____\___\___/|_| |_|______/_/\_\ |_|(_) |_| \.___/ Last Modified : 10-Aug-2012
[ I C O N E X P L O R E R A N D E X T R A C T O R ] Version : 1.4u
_______________________________________________________________________________________
@jasondavis
jasondavis / volume.ahk
Created Feb 19, 2018 — forked from BGMcoder/volume.ahk
Volume Control hotkeys via ahk
View volume.ahk
;control your system volume via hotkeys
;# is the win key
;^ is the control key
;sound controls
#[::setVolume("-5") ;lower volume by 5%
#]::setVolume("+5") ;raise volume by 5%
^#[::setVolume("10") ;set volume to minimum
^#]::setVolume("80") ;set volume to loud
SetVolume(whatvolume){
You can’t perform that action at this time.