Skip to content

Instantly share code, notes, and snippets.

@Baztoune
Created September 27, 2011 12:29
Show Gist options
  • Save Baztoune/1244935 to your computer and use it in GitHub Desktop.
Save Baztoune/1244935 to your computer and use it in GitHub Desktop.
;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: A.N.Other <myemail@nowhere.com>
;
; Script Function:
; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
F12::myFunc()
myFunc(){
clipboard =
Send, ^c
ClipWait, 2
Sort, clipboard
Run, %A_ProgramFiles%\notepad++\notepad++.exe %clipboard%
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment