Skip to content

Instantly share code, notes, and snippets.

@jNizM
jNizM / example.ahk
Created October 4, 2024 09:58
ahk example gui with left slider menu
#Requires AutoHotkey v2.0
UseGDIP()
IBStyles := Map()
IBStyles["slider"] := [ [0xFF1F1F1F,, 0xFFF7F7F7, 0, 0xFF1F1F1F, 1] ; normal
, [0x803C3C3C,, 0xFFF7F7F7, 0, 0x803C3C3C, 1] ; hover
, [0x8075768F,, 0xFFF7F7F7, 0, 0x8075768F, 1] ; pressed
, [0x806265A2,, 0xFFF7F7F7, 0, 0x806265A2, 1] ] ; disabled (default)
@jNizM
jNizM / cyclope_monkey.ahk
Last active August 9, 2024 09:01
[AHK] nonsense with gdi+
#Requires AutoHotkey v2.0
#DllLoad "GdiPlus.dll"
#DllLoad "shlwapi.dll"
s := Map("w", 800, "h", 600, "a", 0, "b", 0, "hue", 0, "x0", 0, "x1", 0, "y1", 0, "y2", 0)
NumPut("UInt", 1, SI := Buffer(24, 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 / ahk_gui_gradient.ahk
Last active August 10, 2024 01:04
[AHK] Create Gardient in GUI
; GLOBAL SETTINGS ===============================================================================================================
#NoEnv
#SingleInstance Force
SetBatchLines -1
; GUI ===========================================================================================================================
Gui, +LastFound +hwndhMyGUI
Gui, Margin, 0, 0
@jNizM
jNizM / Class_ProcessExplorer.ahk
Created May 9, 2016 08:41
[AHK] ProcessExplorer (v0.07 beta)
; ===============================================================================================================================
; Title .........: ProcessExplorer
; AHK Version ...: 1.1.23.05 x64 Unicode
; Win Version ...: Windows 10 Professional - x64
; Description ...: Log Remote Session Information
; Version .......: v0.07 Beta
; Modified ......: 2016.04.20-1653
; Author(s) .....: jNizM
; ===============================================================================================================================
;@Ahk2Exe-SetName ProcessExplorer
@jNizM
jNizM / NtQuerySystemInformation.h
Last active November 6, 2023 04:19
Undocumented NtQuerySystemInformation Structures
// http://www.exploit-monday.com/2013/06/undocumented-ntquerysysteminformation.html
// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
enum _SYSTEM_INFORMATION_CLASS
{
SystemBasicInformation = 0x0000,
SystemProcessorInformation = 0x0001,
SystemPerformanceInformation = 0x0002,
SystemTimeOfDayInformation = 0x0003,
@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 / 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 / gist:019696878590071cf739
Created July 17, 2015 12:25
[AHK] GUI - How-to draw a line / frame
; http://ahkscript.org/boards/viewtopic.php?f=7&t=8846
; https://dl.dropboxusercontent.com/u/186419968/Scripte/Gui/Gui_Draw_Line.png
; GLOBAL SETTINGS ===============================================================================================================
#Warn
#NoEnv
#SingleInstance Force
SetBatchLines -1