Skip to content

Instantly share code, notes, and snippets.

@Aatoz
Aatoz / DragDrop_Sample.ahk
Created April 29, 2016 18:33
Drag n Drop Sample Script
#SingleInstance Force
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
_DragDrop() ; Init stb lib.
Loop 2
{
if (A_Index == 1)
sTitle := "Drag n Drop with GUIDropFiles"
@Aatoz
Aatoz / _DragDrop.ahk
Created April 29, 2016 18:31
Drag n Drop onto AutoHotKey GUI
/*
*************************************************************************************
***************************** Drag n Drop Like a Boss *****************************
*************************************************************************************
This class supports Drag n Drop from EXPLORER windows to AutoHotKey GUIs -- that's it.
I recommend having your GUI still retain the label for GUIDropFiles for 2 reasons:
1. Win7 and earlier natively support DnD. It's better to NOT use this class when you don't need to.
2. The mouse becomes a No/X icon when you try to drag & drop onto the AutoHotKey GUI
In this case, drag & drop *does* still work, but that's unintuitive to the user.
@Aatoz
Aatoz / Leap_Sample.ahk
Created October 15, 2013 02:32
Leap_Sample.ahk
#SingleInstance Force
#Persistent
/*
This type of INI file would be generated either from your GUI, or the CLeapModule GUI
It should be noted that CLeapModule GUI *only* Add/Modifies Sections and the Gesture key within each section
This means that, with however you choose to interface your scripts with this API,
it is safe for you to actually modify Gestures.ini in conjunction with your script
(just as long as you don't mess with the section names or the Gesture keys).
@Aatoz
Aatoz / CLeapModule.ahk
Last active December 25, 2015 09:59
CLeapModule.ahk
; License: public domain
; Feel free to modify and improve upon the work herein, but be certain to give credit me (Verdlin) when using my scripts
; Credits:
; Tidbit: st.ahk lib
; tkoi: ILButton.ahk
; If you see your work and you are not credit, this is not deliberate. Notify me and I will credit you ASAP
class CLeapModule
{
@Aatoz
Aatoz / AutoLeap.ahk
Last active December 25, 2015 09:59
AutoLeap.ahk
; License: public domain
; Feel free to modify and improve upon the work herein, but be certain to give credit me (Verdlin) when using my scripts
; Credits:
; Tidbit: st.ahk lib
; tkoi: ILButton.ahk
; If you see your work and you are not credit, this is not deliberate. Notify me and I will credit you ASAP
/*
TODOs: