Skip to content

Instantly share code, notes, and snippets.

@jNizM
jNizM / gist:16a68ff558222253add9
Created November 27, 2014 07:24
[AHK] BitCalc (Visual Bitwise Operations)
; GLOBAL SETTINGS ===============================================================================================================
;#Warn
#NoEnv
#SingleInstance Force
global WS_VSCROLL := 0x00200000
; GUI ===========================================================================================================================
@jNizM
jNizM / gist:c3b0793f0be669faa0a5
Created February 12, 2015 17:21
[AHK] SpeedTest - Define the Variables
#NoEnv
SetBatchLines -1
; =========================================================================================================
QPC(1)
loop 1000000
{
t1a := 1
@jNizM
jNizM / gist:5af2a189a8421f0f66b4
Last active May 16, 2019 17:34
[AHK] Get Dropbox Status
; Return Values
; 0 [NOT_IN_DROPBOX] ==> Folder is not in Dropbox
; 1 [UP_TO_DATE] ==> Up to Date
; 2 [SYNCHRONIZING] ==> Sync in Progress
; 99 [NOT_RUNNING] ==> Dropbox is not running
MsgBox % GetDropboxStatus("C:\Users\" A_UserName "\Dropbox") ; ==> return e.g. 1
MsgBox % GetDropboxStatus("C:\Users\" A_UserName "\Dropbox", 1) ; ==> return e.g. UP_TO_DATE ;
@jNizM
jNizM / gist:45f03cfe747b47ed962c
Created July 15, 2015 08:17
[AHK] WM_WTSSESSION_CHANGE / SessionChange / SessionNotification
; ===============================================================================================================================
; Title .........: WM_WTSSESSION_CHANGE / SessionChange / SessionNotification
; AHK Version ...: 1.1.22.03 x64 Unicode
; Win Version ...: Windows 7 Professional x64 SP1
; Description ...:
; Version .......: v1.01
; Modified ......: 2015.07.14-2014
; Author(s) .....: jNIzM
; ===============================================================================================================================
@jNizM
jNizM / Gui.ahk
Last active May 16, 2019 17:33
[AHK] GUI Test for Win 8.1 & Win 10
; http://ahkscript.org/boards/viewtopic.php?f=17&t=9057
; 2015-07-30 10:52
; TODO ==========================================================================================================================
; - add child
; GLOBAL SETTINGS ===============================================================================================================
#Warn
#NoEnv
@jNizM
jNizM / class_dropbox.ahk
Last active May 16, 2019 17:32
[AHK] Dropbox Class (GetPath / GetStatus / GetPID)
; License: Unlicense (http://unlicense.org/)
/*
* Function DropBox.GetPath()
*
* Parameters
* Account: can be "personal" or "business" (personal if omitted)
*
* Return Values
* if the function succeeds ==> PATH
@jNizM
jNizM / ahk_gui_gradient.ahk
Last active May 16, 2019 17:30
[AHK] Create Gardient in GUI
; GLOBAL SETTINGS ===============================================================================================================
#NoEnv
#SingleInstance Force
SetBatchLines -1
; GUI ===========================================================================================================================
Gui, +LastFound +hwndhMyGUI
Gui, Margin, 0, 0
@jNizM
jNizM / W1709N.ps1
Last active March 28, 2018 14:18
[UNFINISHED] Create a windows 10 iso without crappy and useless windows appx packages
<#
.WINDOWS 10 ENTERPRISE N
todo todo todo
.UNZIP ISO
->
.RUN .PS1 SCRIPT
@jNizM
jNizM / nvapi-debug.ahk
Last active October 18, 2017 10:10
[AHK] NvAPI Debug
; GLOBAL SETTINGS ===============================================================================================================
#NoEnv
#SingleInstance Force
#NoTrayIcon
SetBatchLines -1
global app := { name: "NvAPI_Debug", version: "2016.375.00025", author: "jNizM", licence: "MIT" }
@jNizM
jNizM / gist:6080135
Last active December 20, 2015 05:39
[AHK] CoD4 - delete black Punkbuster screenshots
; ===================================================================================
; AHK Version ...: AHK_L 1.1.11.02 x64 Unicode
; Win Version ...: Windows 7 Professional x64 SP1
; Description ...: Delete Black Screenshots
; Version .......: 2013.08.07-1722
; Author ........:
; License .......: WTFPL
; License URL ...: http://www.wtfpl.net/txt/copying/
; ===================================================================================
;@Ahk2Exe-SetName del_blackscreens