-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added old files from 2011 preso so I can tag them.
- Loading branch information
Showing
22 changed files
with
638 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
; AutoHotkey Version: 1.x | ||
; Language: English | ||
; Platform: Win9x/NT/Win7 | ||
; Author: Jim Priest ([email protected]) | ||
; | ||
; // KEY SHORTCUTS // | ||
; # = Windows Key | ||
; ^ = Control | ||
; ! = Alt | ||
; + = Shift | ||
; | ||
; // SCRIPT FUNCTION // | ||
#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. | ||
; // END | ||
|
||
;/// JIM TEXT REPLACEMENTS | ||
#Include %A_ScriptDir%\jim\jim_txtreplace.ahk | ||
|
||
;/// GLOBAL TEXT REPLACE | ||
#Include %A_ScriptDir%\txtreplace.ahk |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
;///// TEXT REPLACEMENTS - WORK ///// | ||
; # = Windows Key | ||
; ^ = Control | ||
; ! = Alt | ||
; + = Shift | ||
|
||
|
||
|
||
|
||
;/// WORDPRESS SNIPPETS /// | ||
:*:;code:: | ||
SendInput, [sourcecode language="TEXT"]{Enter} | ||
SendInput, [/sourcecode] | ||
return | ||
|
||
;/// CFECLIPSE /// | ||
:*:;bug:: | ||
SendInput, Can you provide us with more detail on your setup?{Enter} | ||
SendInput, {Enter} | ||
SendInput, http://trac.cfeclipse.org/cfeclipse/wiki/ReportingBugs{Enter} | ||
SendInput, ------------{Enter} | ||
SendInput, When submitting a bug or if you email the mailing list with an issue, please provide as much information as possible:{Enter} | ||
SendInput, {Enter} | ||
SendInput, * Eclipse version: Help > About Eclipse SDK{Enter} | ||
SendInput, * CFEclipse version: Help > About Eclipse SDK > Plug-in Details{Enter} | ||
SendInput, * Java version: From a command line type "java -version"{Enter} | ||
SendInput, * OS - Windows? OSX? Linux?{Enter} | ||
SendInput, * Error log information {Enter} | ||
SendInput, ------------{Enter} | ||
return |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
;///// TEXT REPLACEMENTS - GLOBAL ///// | ||
; # = Windows Key | ||
; ^ = Control | ||
; ! = Alt | ||
; + = Shift | ||
|
||
|
||
;/// SIGNATURES /// | ||
:*:;sig1:: | ||
Send, | ||
( LTrim | ||
Thanks, | ||
Jim | ||
) | ||
return | ||
|
||
:*:;sig2:: | ||
Send, | ||
( LTrim | ||
-- | ||
Jim Priest - thecrumb.com | ||
Triangle Area ColdFusion User Group - tacfug.org | ||
-- | ||
See me at: | ||
NCDevCon (Raleigh, NC May 22-23) | ||
CFUnited (Leesburg, VA July 28-31) | ||
-- | ||
Without deviation from the norm, progress is not possible. ~ Frank Zappa | ||
) | ||
return | ||
|
||
;/// TEXT REPLACEMENTS/// | ||
::cf:: | ||
SendInput, ColdFusion | ||
return |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
; AutoHotkey Version: 1.x | ||
; Language: English | ||
; Platform: Win9x/NT/Win7 | ||
; Author: Jim Priest ([email protected]) | ||
; | ||
; // KEY SHORTCUTS // | ||
; # = Windows Key | ||
; ^ = Control | ||
; ! = Alt | ||
; + = Shift | ||
; | ||
; // SCRIPT FUNCTION // | ||
#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. | ||
; // END | ||
|
||
;/// COLDFUSION RELATED SHORTCUTS | ||
#Include %A_ScriptDir%\work\coldfusion.ahk | ||
|
||
;/// FOR MICROSOFT ERGO KEYBRD FUNC KEYS | ||
#Include %A_ScriptDir%\work\microsoftkeys.ahk | ||
|
||
;/// DIARY POPUP TIMER | ||
#Include %A_ScriptDir%\work\timer.ahk | ||
|
||
;/// WORK TEXT REPLACE | ||
#Include %A_ScriptDir%\work\work_txtreplace.ahk | ||
|
||
;/// GLOBAL TEXT REPLACE | ||
#Include %A_ScriptDir%\txtreplace.ahk |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
;///// COLDFUSION / CODING ///// | ||
; # = Windows Key | ||
; ^ = Control | ||
; ! = Alt | ||
; + = Shift | ||
|
||
:*:;cfif:: | ||
Send, <cfif >{Enter}{Enter}<cfelse>{Enter}{Enter}</cfif> | ||
Send {UP 3} | ||
Send {LEFT 2} | ||
|
||
SetKeyDelay, 20 ;in millisceonds | ||
InputBox, attName, Attribute Prompt, Attribute Name..., , 300, 150 | ||
If ErrorLevel = 1 ; They clicked cancel | ||
return | ||
InputBox, attValue, Attribute Prompt, Attribute Value..., , 300, 150 | ||
If ErrorLevel = 1 ; They clicked cancel | ||
return | ||
Sleep, 100 | ||
SendRaw, %attName% = %attValue% | ||
return | ||
|
||
;-- Wrap selected text in a href --- | ||
!a:: | ||
clipboard = | ||
send ^c | ||
clipwait, 1 | ||
If ErrorLevel = 0 | ||
{ | ||
clipboard = <a href="" title="%clipboard%">%clipboard%</a> | ||
send ^v | ||
} | ||
return | ||
|
||
;-- Wrap selected text cfif/else with nbsp --- | ||
!l:: | ||
clipboard = | ||
send ^c | ||
clipwait, 1 | ||
StringReplace, clipboard, clipboard, #, , All | ||
If ErrorLevel = 0 | ||
{ | ||
clipboard = <cfif Len(%clipboard%)>#%clipboard%#<cfelse> </cfif> | ||
send ^v | ||
} | ||
return | ||
|
||
;-- Wrap selected text in Ucase() --- | ||
^u:: | ||
clipboard = | ||
send ^c | ||
clipwait, 1 | ||
If ErrorLevel = 0 | ||
{ | ||
clipboard = Ucase(%clipboard%) | ||
send ^v | ||
} | ||
return | ||
|
||
;-- Wrap selected text in Upper() --- | ||
!u:: | ||
clipboard = | ||
send ^c | ||
clipwait, 1 | ||
If ErrorLevel = 0 | ||
{ | ||
clipboard = Upper(%clipboard%) | ||
send ^v | ||
} | ||
return | ||
|
||
|
||
;-- Wrap selected text in Trim() --- | ||
!t:: | ||
clipboard = | ||
send ^c | ||
clipwait, 1 | ||
If ErrorLevel = 0 | ||
{ | ||
clipboard = Trim(%clipboard%) | ||
send ^v | ||
} | ||
return | ||
|
||
|
||
;-- Wrap selected text in QueryParam (will first strip ' or ") --- | ||
!q:: | ||
clipboard = | ||
send ^c | ||
clipwait, 1 | ||
If ErrorLevel = 0 | ||
StringReplace, clipboard, clipboard, ', , All | ||
{ | ||
clipboard = <cfqueryparam value="%clipboard%" cfsqltype="cf_sql_varchar"> | ||
send ^v | ||
} | ||
return | ||
|
||
;-- Wrap selected text in QueryParam (will first strip ' or ") --- | ||
#q:: | ||
clipboard = | ||
send ^c | ||
clipwait, 1 | ||
If ErrorLevel = 0 | ||
StringReplace, clipboard, clipboard, ', , All | ||
{ | ||
clipboard = <cfqueryparam value="%clipboard%" cfsqltype="cf_sql_numeric"> | ||
send ^v | ||
} | ||
return | ||
|
||
|
||
;-- Wrap selected text in CFDump/CFAbort --- | ||
SC03B:: | ||
clipboard = | ||
send ^c | ||
clipwait, 1 | ||
If ErrorLevel = 0 | ||
{ | ||
clipboard = <!--- TODO - for debugging --->`n<cfdump var="#%clipboard%#" top=5 label="My Dump">`n<cfabort> | ||
send ^v | ||
} | ||
return | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
;///// FOR MICROSOFT ERGO KEYBOARD - FUNCTION KEYS ///// | ||
; # = Windows Key | ||
; ^ = Control | ||
; ! = Alt | ||
; + = Shift | ||
|
||
|
||
;/// MICROSOFT FUNCTION KEYS /// | ||
;------------------------------- | ||
; SC03B:: | ||
; MsgBox, %A_ThisHotKey%- F1 .. was pressed. | ||
; return | ||
;------------------------------- | ||
; SC03C:: | ||
; MsgBox, %A_ThisHotKey%- F2 .. was pressed. | ||
; return | ||
;------------------------------- | ||
;SC03D:: | ||
;MsgBox, %A_ThisHotKey%- F3 .. was pressed. | ||
;return | ||
;------------------------------ | ||
;SC03E:: | ||
;MsgBox, %A_ThisHotKey%- F4 .. was pressed. | ||
;return | ||
|
||
;F5------------------------------ | ||
;SC03F:: | ||
;don't program this - used for window refresh | ||
|
||
;F6 CFECLIPSE ------------------- | ||
SC040:: | ||
ifwinexist, CFEclipse | ||
WinActivate | ||
else | ||
Run C:\eclipse\eclipse.exe -vm "C:\Program Files\Java\jdk1.6.0_16\jre\bin\javaw" vmargs -Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m | ||
return | ||
|
||
;F7 SQL Developer---------------- | ||
SC041:: | ||
Run C:\Program Files\Oracle\sqldeveloper\sqldeveloper.exe | ||
return | ||
|
||
;F8 Powerbuilder----------------- | ||
;SC042:: | ||
;Run C:\Program Files\Sybase\PowerBuilder 10.0\Pb100.exe | ||
;return | ||
|
||
;F9 - Run IIS Console ----------- | ||
SC043:: | ||
Run %SystemRoot%\system32\inetsrv\iis.msc | ||
return | ||
|
||
;------------------------------ | ||
;SC044:: | ||
;MsgBox, %A_ThisHotKey%- F10 .. was pressed. | ||
;return | ||
;------------------------------ | ||
;SC057:: | ||
;MsgBox, %A_ThisHotKey%- F11 .. was pressed. | ||
;return | ||
;------------------------------ | ||
;SC058:: | ||
;MsgBox, %A_ThisHotKey%- F12 .. was pressed. | ||
;return | ||
;------------------------------ | ||
|
||
|
||
|
||
|
||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
;///// TIMER APP ///// | ||
; # = Windows Key | ||
; ^ = Control | ||
; ! = Alt | ||
; + = Shift | ||
|
||
|
||
|
||
;//// TIMER APP //// | ||
;-------------------------------- | ||
SetTimer, #a,900000 | ||
#a:: | ||
; Show the Input Box to the user. | ||
inputbox, text, Diary,,,300,100 | ||
|
||
; Format the time-stamp. | ||
FormatTime, CurrentDateTime,, MM/dd | ||
|
||
; Write this data to the diary.txt file. | ||
if (StrLen(text) > 0) { | ||
fileappend ** %CurrentDateTime% %text%`n, D:\diary.txt | ||
} | ||
return | ||
|
||
|
Oops, something went wrong.