Skip to content

Instantly share code, notes, and snippets.

@moravsky
moravsky / snip-path.ahk
Last active April 4, 2026 21:22
Windows screenshot-to-filepath for Claude Code (AHK v2)
; snip-path.ahk — Windows screenshot-to-filepath for Claude Code
; Author: Petr Moravsky + Claude
;
; Requires: AutoHotkey v2, Windows 11 Snipping Tool (auto-saves to Screenshots folder)
;
; Setup:
; 1. Install AutoHotkey v2 from https://www.autohotkey.com
; 2. Save this file as snip-path.ahk
; 3. Double-click to run (AHK icon appears in system tray)
; 4. Optional: drop a shortcut into shell:startup for auto-start
@moravsky
moravsky / gist:bc062c09b6d0473241487d8ad756db76
Created December 28, 2025 22:24
Displaying Time & Sales data in Alert Log
using TradingPlatform.BusinessLayer;
using System;
public class MNQTimeAndSalesToAlerts : Strategy
{
private Symbol symbol;
protected override void OnRun()
{
// Get connection