Skip to main content
Glama

AHK_File_Create

Create AutoHotkey v2 scripts with automatic directory creation, overwrite protection, and preview options for safe file management.

Instructions

Create a new AutoHotkey v2 script on disk with full path interception support.

• Validates .ahk extension (case-insensitive) • Automatically creates parent directories (configurable) • Prevents accidental overwrite unless explicitly allowed • Supports dry-run previews and active file management

📎 Active File: Not set. Use AHK_File_Active to select a target.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesAbsolute or relative path to the new AutoHotkey file
contentNoInitial content to write into the file
overwriteNoAllow overwriting an existing file
createDirectoriesNoCreate parent directories if they are missing
dryRunNoPreview the operation without writing to disk
setActiveNoSet the newly created file as the active file

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TrueCrimeDev/ahk-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server