Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 99bfe6b4d2
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (23 sloc) 0.917 kb
/*
This script basically loads all the plugins after they've been vetted by the main script.
The main script will check all plugins and put move any non-working ones into a subfolder called "plugins\disabled".
Because plugins may contain a "return", a list of #includes will not work, as it will stop after the first #include.
Berbans' method overcomes this by first doing a gosub label before including the files....
*/
#Persistent
#SingleInstance Force
#ErrorStdOut ; to prevent errors annoying the users
#NoTrayIcon
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
ini_file = %1%
if ini_file =
return
IniRead, Plugins, %ini_file%, Plugins, LoadList, ; collect the previously checked variable from the ini file
Loop, Parse, Plugins, |
{
if A_LoopField =
break
Gosub %A_LoopField%
}
#include *i %A_ScriptDir%\plugin_list.ahk
return
Jump to Line
Something went wrong with that request. Please try again.