Plugins » History » Version 19
Per Amundsen, 05/25/2017 09:09 PM
1 | 1 | Per Amundsen | h1. Plugins |
---|---|---|---|
2 | |||
3 | 5 | Per Amundsen | See [[Scripting DLL|here]] for native DLL support. |
4 | |||
5 | 18 | Per Amundsen | See https://www.adiirc.com/docs/ for API |
6 | 6 | Per Amundsen | |
7 | 18 | Per Amundsen | Docs can also be downloaded as a Help file here https://www.adiirc.com/docs/Documentation.chm |
8 | 2 | Per Amundsen | |
9 | If you want an API for something not covered by the current API, please open an issue. |
||
10 | 3 | Per Amundsen | |
11 | 18 | Per Amundsen | You can find the current AdiIRCAPI.dll in your [[Config_Files|AdiIRC config folder]] or "here":https://www.adiirc.com/AdiIRCAPI.dll, this is the glue between AdiIRC and the plugin. |
12 | 10 | Per Amundsen | |
13 | 14 | Per Amundsen | Plugins can load and use any DLL's including referencing all .NET frameworks DLL's and do P/Invoke, just like a regular .NET program. |
14 | 12 | Per Amundsen | |
15 | 16 | Per Amundsen | If you get a "System.NotSupportedEception: An attempt was made to load an essembly from a network location" error, try unblock the dll file as shown here "here":https://blogs.msdn.microsoft.com/drew/2009/12/23/xunit-and-td-net-fixing-the-attempt-was-made-to-load-an-assembly-from-a-network-location-problem/ |
16 | 15 | Per Amundsen | |
17 | 8 | Per Amundsen | ----------------------------------------------------------------------------- |
18 | |||
19 | 4 | Per Amundsen | _Added in 1.8_ |
20 | |||
21 | 19 | Per Amundsen | */plugins [-luixo] [filename]* |
22 | 3 | Per Amundsen | |
23 | 19 | Per Amundsen | With no switches, Opens or focuses the [[Plugins_Dialog|Plugin Manager dialog]]. |
24 | 1 | Per Amundsen | |
25 | 19 | Per Amundsen | *Switches* |
26 | |||
27 | -l - Loads a installed plugin file. |
||
28 | -u - Unloads a loaded plugin file. |
||
29 | -i - Installs a new plugin to the plugin folder. |
||
30 | -x - Uninstalls a installed plugin in the plugin folder. |
||
31 | -o - Used with -i, allows overwriting a installed plugin, if the plugin is not loaded. |
||
32 | |||
33 | *Parameters* |
||
34 | |||
35 | [filename] - Filename/path of the plugin. |
||
36 | |||
37 | *Example* |
||
38 | |||
39 | <pre> |
||
40 | ; Installs the plugin 'MyPlugin.dll' from the folder 'C:\User<\Nick\Desktop' to the Plugins folder. |
||
41 | /plugins -i C:\User<\Nick\Desktop\MyPlugin.dll |
||
42 | |||
43 | ; Loads 'MyPlugin.dll' |
||
44 | /plugins -l MyPlugin.dll |
||
45 | </pre> |