Full Version: ArcCAM
Show messages:
1-7
8-27
28-47
48-67
68-73
From: Michael Gibson
Hi Len,
re:
> Can I use
moi://appdata/ or %appdata% as part of the path to AdditionalCommandsDirs?
Unfortunately no, it can only take a regular file system path there, not a
moi:// URL or environment variable.
How about a new mechanism that would scan through any folders under say appdata/plugins and look for a commands folder inside of there.
So then the install would be to put your stuff inside appdata/plugins/ArcCAM and your commands would be under appdata/plugins/ArcCAM/commands and I could also look for startup scripts inside appdata/plugins/ArcCAM/startup ?
And you could put images inside appdata/plugins/ArcCAM/icons and those would work already using
moi://appdata/plugins/ArcCAM/icons/file.png .
- Michael
From: probotix
Michael,
I like it!
I've been messing around with NSIS today, and it is able to fiddle with moi.ini, but I don't feel comfortable with that. Having a plug-in container seems much safer.
>Len
From: Michael Gibson
Hi Len, ok I will set this up for the next v5 beta. So it will look for commands in directories inside appdata/plugins/<PluginName>/commands and will also look for startup scripts (scripts to run when MOI is launched) under appdata/plugins/<PluginName>/startup.
So you won't have to modify moi.ini for that and to install you can have it in a .zip and unzip it under appdata/plugins.
- Michael
From: pressure (PEER)
Hi Michael,
Will it also look for appdata/plugins/<PluginName>/
scripts ?
- Peer
From: Michael Gibson
Hi Peer,
re:
> Will it also look for appdata/plugins/<PluginName>/scripts ?
I should be able to make that work too.
- Michael
From: pressure (PEER)
Thanks Michael. I like this new plugin folder idea of yours.
- Peer
Show messages:
1-7
8-27
28-47
48-67
68-73