Code Monkey home page Code Monkey logo

ahk-library-setup's Introduction

AHK-Library-Setup

A Tool for AHK Library writers to ensure people using their library are set up correctly.

###Why would I want it? If you distribute an Autohotkey library, for example via GitHub, and you wish to make it super-easy for people to use it from any folder, then this tool will reduce your documentation and support burden.

###What does it do? This tool has 4 main purposes

  1. Ensure the user can include the library from any folder using the #include <lib> syntax. This is acheived by insterting an .ahk file into C:\Program Files\AutoHotkey\Lib that contains the line #include filename\to\source\file.ahk.
    This way, the user can keep the library file in the GitHub repo folder (And easily update it as the library updates) but always be able to include the latest version via the #include <lib> syntax.
  2. Ensure The AHK Lib folder exists.
  3. Ensure that AutoHotkey is installed
    Note this is possible because the script is designed to be compiled to an EXE, so AHK is not required to run the Setup script.
  4. Ensure that AutoHotkey is not a version from autohotkey.com, and thus incompatible with newer versions from ahkscript.org (The bane of the #ahk IRC channel).

###How do I use it? Simply edit the values in the section at the start of the script, compile it and include it with your project.

Run it first to simulate the user using it - it makes several checks to make sure YOU are all set up properly ;)

ahk-library-setup's People

Contributors

evilc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pa-0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.