Skip to content

Instantly share code, notes, and snippets.

View aviaryan's full-sized avatar
:electron:
Working

Avi Aryan aviaryan

:electron:
Working
View GitHub Profile
@aviaryan
aviaryan / ScriptMem [Function].ahk
Last active May 28, 2019 16:34
Reduce memory consumption of your Autohotkey scripts. Works with all Ahk versions.
/*
ScriptMem - Reduce Memory consumption of your AHK Script
by Avi Aryan
Thanks --
HERESY - for EmptyMem function
just me - for GetScriptPID fucntion
Works with all AHK
@aviaryan
aviaryan / Extreme Screen Clipper.ahk
Last active May 28, 2019 16:37
Extreme Screen Clipper - Capture selected area screenshots and resize them on the fly.Save screenshots as jpg, png, tiff .
/*
ProgramName = Extreme Clipper
ProgramVersion = 1
Author = Avi Aryan
Special Thanks = Sean
****************************************************
.......................
INSTRUCTIONS
***************************************************
USE ONLY WITH AHK_L ANSI
@aviaryan
aviaryan / Sublime Text Autocomplete Adder.ahk
Last active December 15, 2015 21:19
Sublime-Text Autocompletions Adder - Add auto-completions (auto-completes) to Sublime Text fastly. Comes with Duplicate-checker and backup facility.
; 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.
;########################################################
@aviaryan
aviaryan / Mouse De-accelerator.ahk
Last active December 15, 2015 21:29
Decrease speed of Mouse Cursor via Autohotkey script
;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:
@aviaryan
aviaryan / Delimeter Replacement.ahk
Created April 8, 2013 06:47
Replace variables denoted by delimiters in Notepad
/*
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.
...
@aviaryan
aviaryan / Random Number Generate.ahk
Created April 9, 2013 12:32
Generate Random numbers based on user input
;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
{
@aviaryan
aviaryan / Github Debug Error Fix.txt
Last active April 13, 2018 17:06
Debug Error - GitHub for Windows, --> debug the state of this repo - Easy Fix
By Avi Aryan
This Text explains how to get around with "debug the state of this repo" Error.
This text does not uses Cmd and Powershell, so it can be followed by a basic user.
If you face the above Error in GitHub for Windows, then ------
* First Go to your local repo i.e. the repo's local folder.
* Show Hidden Files via the Folder Options.
* You will see a ".git" named folder in your local repo as soon as hidden files are set to be seen.
@aviaryan
aviaryan / Everything.ahk
Last active June 8, 2023 23:48
Everything Integration with AutoHotkey - Faster Search in Windows
EverythingPath = ;specify the path here
#IfWinActive ahk_class CabinetWClass
{
F6::
folder := GetFolder()
run, %EverythingPath% -path "%folder%"
return
}
@aviaryan
aviaryan / sublimetextshortcuts.txt
Created April 22, 2013 12:09
My Useful Sublime Text Shortcuts
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
@aviaryan
aviaryan / Autohotkeyupdater.ahk
Last active May 28, 2019 16:37
AutoHotkey Updater - Know when there exists update for Autohotkey_L
/*
AutoHotkey Updater by Avi Aryan
Updated 24/4/13
===============================
For AHK_L
As ahk_basic is not updated anymore . Version stuck to 1.0.48.05
===============================
---------
Know-Hows