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
SetWorkingDir, % A_ScriptDir | |
cj := new Clipjump() | |
cj.blockMonitoring(1) | |
msgbox % cj.version | |
Clipboard := "changes" | |
Clipboard := "morechanges" | |
msgbox % "Clipboard has " Clipboard ". But Clipjump has ? " | |
cj.blockMonitoring(0) |
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
package class1; | |
public class DiamondNegative { | |
public static void main(String [] args){ | |
int sz = 11; | |
int i,j,k,l,r; | |
for (i=0; i<sz; i++) System.out.print("* "); | |
System.out.println(); | |
for (i=0; i<sz-2; i++){ | |
k = 2*i+1; |
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
SetWorkingDir, % A_ScriptDir | |
cj := new Clipjump() | |
cj.runLabel("disable_clipjump") ; toggles clipjump disable status | |
ExitApp | |
#include S:\Portables\AutoHotkey\My Scripts\ClipStep\publicAPI.ahk | |
; I should rather create an API function for this.. |
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
; INSTRUCTIONS ########################################## | |
;Sublime-Text Autocomplete Adder | |
;By Avi Aryan | |
; | |
;Place in it in directory of Sublime-Text.exe | |
;Tested with Sublime-Text 2 | |
;Absolutely No guarranty | |
;Make sure to create a backup before going | |
;Dont worry about Duplicates, they will not be added again. | |
;######################################################## |
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
;By Avi Aryan | |
;Set that 4 [line 8] to lower if you want finer results. | |
#Persistent | |
CoordMode,Mouse | |
SetBatchLines, -1 | |
SetMouseDelay, -1 | |
SetTimer,mouseslow,4 | |
mouseslow: |
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
/* | |
Program Author = Avi Aryan | |
USAGE:: | |
Run the Script | |
Open your text file with all variables in NOTEPAD..By Notepad , i mean Notepad | |
Hit Ctrl+Alt+F to start. | |
When First Match is found,Change the text to required text and then hit F6 . Spaces will be automatic. | |
... | |
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
;Random Number Generate | |
;Avi | |
MsgBox, 36, Choose, Yes for A`, No for B | |
IfMsgBox yes | |
{ | |
loop, | |
{ | |
StringRight,rightest,a_tickcount,1 | |
if rightest in 1,2,3,4,5 | |
{ |
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
Sublime Text 2 Shortcuts | |
======================= | |
The List is not complete. | |
It's just the shortcuts I know and I find useful | |
================================================= | |
WINDOWS | |
================================================= | |
Ctrl + Click - Add Multiple Cursors |
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
; INSTRUCTIONS ########################################## | |
;Sublime-Text Autocomplete Adder | |
;By Avi Aryan | |
; | |
;Tested with Sublime-Text 2 | |
;Absolutely No guaranty | |
;Make sure to create a backup before going | |
;Don't worry about Duplicates, they will not be added again. | |
;######################################################## | |
;Write your completes in listed form, one auto-complete in a line. |
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
;The Speeling Errors are done intentionally to show how HParse() manages them. | |
msgbox % Hparse("Cntrol + ass + S", false) ;returns {blank} As 'ass' is out of scope and RemoveInvaild := false | |
msgbox % Hparse("Contrl + At + S") ;returns ^!s | |
msgbox % Hparse("^!s") ;returns ^!s as the function-feed is already in Autohotkey format. | |
msgbox % Hparse("LeftContrl + X") ;returns Lcontrol & X | |
msgbox % Hparse("Contrl + Pageup + S") ;returns {blank} As the hotkey is invalid | |
msgbox % HParse("PagUp + Ctrl", true) ;returns ^PgUp as ManageOrder is true (by default) | |
msgbox % HParse("PagUp + Ctrl", true, false) ;returns {blank} as ManageOrder is false and hotkey is invalid | |
msgbox % Hparse("Ctrl + Alt + Ctrl + K") ;returns {blank} as two Ctrls are wrong |