Mini-Framework for AutoHotkey
Library of Mini-Framework Copyright (c) 2013 - 2017 Paul Moss Licensed under the GNU General Public License GPL-2.0
Requires AutoHotkey {v1.1.21+}
Mini-Framework is as collection of classes built for AutoHotkey that help give functionality similar to a strongly typed language.
Mini-Framework attempts to bridge the gap between the powerful scripting language of AutoHotkey and a more strongly typed language. The classes are built in a Mono/.Net style.
The MfType class can be used to get information from an object. All objects have a GetType() method that returns an instance of the MfType class. All object inherit from MfObject and therefore inherit all the methods of MfObject.
The Mini-Framework classes are built with the power of strongly type objects while maintaining flexibility with AutoHotkey variables. Many of the classes accept variables as parameters in their methods. Overloades are made possible Mini-Framework.
All the Classes are prefixed in Root System Namespace with Mf to help avoid any conflicts with naming conventions and variables in existing projects.
There is also a package available for Sublime Text to give intellisense and syntax highlighting to Mini-Framework.
All list and collectins use a Zero-Based index.
There are classes that represent Object, Boolean, String, Byte, Int16, Int32, Int64 and Float.
Mini-Framework also has many built in Exceptions as well for refined error control.
There are many other classes incldued in the Mini-Framework as well.
Installation of Mini-Framework is simple and can be installed with a single installer.
Download the latest version of MfSetup.exe
If required AutoHotkey {v1.1.21+} version of AutoHotkey is not installed then MfSetup.exe will automatically download and installed it first.
There is a package available for Sublime Text intellisense for user of Sublime Text. Get the Sublime Text package Here
Help is available online and as a separate help file and can also be accesed online here.
A program named AutoHotKey Snippit is built in part upon Mini-Framework and can be download here. AutoHotkey Snippit come with a preinstalled template named AutoHotkey that contains plugins to quickly bring up the help file for Mini-Framework or AutoHotkey. By selecting a word in your favourite AutoHotkey editor you can simply click a shortcut key to get help on that word.
Shortcut keys can be set to what ever you want in AutoHotkey Snippit but the defaults for help are ctl+F1
to get help on a Mini-Framework class or method and ctl+F2
to get help on an AutoHotkey keyworkd.
Note: User of AHS Studio may need to compile AHS Studio before AutoHotKey Snippit can act upon it.
Adding Mini-Framework to your project is as simple as adding #Include <inc_mf_0_4>
in the top of your script.
To include othe namespaces sucas as System.IO and the include for theat namespace.
#Include <inc_mf_System_IO_0_4>
AutoHotkey Snippit is an automation program that also has a template available to quickly accesss help for kewords in both AutoHotkey and Mini-Framework. Onece AutoHotkey Snippit is installed and the templet is set you can simply get help for any AutoHotkey keyworkd or any Mini-Framework class / keyword by pressing a shortcut key. AutoHotkey Snippit can be set to work with any editor that you choose to write AutoHotkey code in.
Future version of Mini-Framework will not interfere with current versions as each version in separated.
See the help file for information on how to distribute with your application or project.