Plugin operation when called from command line / script.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Plugin operation when called from command line / script.

ABird
Hi all,

I have a few plugins which I am planning to develop and use regularly.  The plugins require some user imput, such as paths and limits.  Often these will be well known, and I will want to batch process using the command line options.  When running from the command line, I'll have a macro to call my plugin.  I know how to make macro-aware plugins using the generic dialog box for example, but that would make for a very clunky plugin when not used form the command line.  My Question is this, Can I make my plugin macro-aware, with some sort of IF condition, such that from the command line it uses passed args else uses open file dialog box and/or other more Gui freindly methods?

Many thanks for any help.

Andrew.