
Hi,
Is it possible to set the min/max param attribute values for an .inx file from within its associated Python scrip? E.g. when an int type param is not declared with min/max attribute values, the default values 0, and 10 are applied, and I would like to overwrite these, or whatever the values declared in the .inx file may be, from the associative Python script.
I am guessing this may prove difficult, if the .inx file is parsed on loading Inkscape.
Many thanks in anticipation. -u

Hi -u You can see this (int) http://wiki.inkscape.org/wiki/index.php/INX_Parameters#Available%20types
Cheers, Jabier.
El mar, 31-05-2016 a las 15:59 +0000, ugajin escribió:
Hi,
Is it possible to set the min/max param attribute values for an .inx file from within its associated Python scrip? E.g. when an int type param is not declared with min/max attribute values, the default values 0, and 10 are applied, and I would like to overwrite these, or whatever the values declared in the .inx file may be, from the associative Python script.
I am guessing this may prove difficult, if the .inx file is parsed on loading Inkscape.
Many thanks in anticipation. -u
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659 582;e _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel

Sorry I missundertand you :( I'm not sure if posibol but maybe you can create hidden parameters to use with CLI only, removing his limits or changed it.
Cheers, Jabier.
El mar, 31-05-2016 a las 15:59 +0000, ugajin escribió:
Hi,
Is it possible to set the min/max param attribute values for an .inx file from within its associated Python scrip? E.g. when an int type param is not declared with min/max attribute values, the default values 0, and 10 are applied, and I would like to overwrite these, or whatever the values declared in the .inx file may be, from the associative Python script.
I am guessing this may prove difficult, if the .inx file is parsed on loading Inkscape.
Many thanks in anticipation. -u
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659 582;e _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel

Thanks.
---- On Tue, 31 May 2016 16:22:32 +0000 Jabiertxo Arraiza Cenoz<jabier.arraiza@...2893...> wrote ----
Sorry I missundertand you :( I'm not sure if posibol but maybe you can create hidden parameters to use with CLI only, removing his limits or changed it.
Cheers, Jabier.
El mar, 31-05-2016 a las 15:59 +0000, ugajin escribió: > Hi, > > Is it possible to set the min/max param attribute values for an .inx > file from within its associated Python scrip? E.g. when an int type > param is not declared with min/max attribute values, the default > values 0, and 10 are applied, and I would like to overwrite these, or > whatever the values declared in the .inx file may be, from the > associative Python script. > > I am guessing this may prove difficult, if the .inx file is parsed on > loading Inkscape. > > Many thanks in anticipation. > -u > > > > > ------------------------------------------------------------------- > ----------- > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and > protocols are > consuming the most bandwidth. Provides multi-vendor support for > NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using > capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659 > 582;e > _______________________________________________ > Inkscape-devel mailing list > Inkscape-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/inkscape-devel

Hi u,
the .inx files are loaded on startup, the .py files are loaded dynamically.
If you want to give anything back to the interface, I have seen people use a shell script and zenity (e.g. http://wiki.colivre.net/Aurium/InkscapeGenerator - link is dead at the moment... :/, but it's available in the debian repos: http://ftp.uni-erlangen.de/mirrors/debian/pool/main/i/ink-generator/, as far as I understand, that will only work on Linux) and I've read someone thinking about using tkinter.
Kind Regards, Maren
Am 31.05.2016 um 17:59 schrieb ugajin:
Hi,
Is it possible to set the min/max param attribute values for an .inx file from within its associated Python scrip? E.g. when an int type param is not declared with min/max attribute values, the default values 0, and 10 are applied, and I would like to overwrite these, or whatever the values declared in the .inx file may be, from the associative Python script.
I am guessing this may prove difficult, if the .inx file is parsed on loading Inkscape.
Many thanks in anticipation.
-u
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel

Thanks,
One for the wish list, perhaps!
-u
---- On Tue, 31 May 2016 16:37:32 +0000 Maren Hachmann<maren@...3165...> wrote ----
Hi u,
the .inx files are loaded on startup, the .py files are loaded dynamically.
If you want to give anything back to the interface, I have seen people use a shell script and zenity (e.g. http://wiki.colivre.net/Aurium/InkscapeGenerator - link is dead at the moment... :/, but it's available in the debian repos: http://ftp.uni-erlangen.de/mirrors/debian/pool/main/i/ink-generator/, as far as I understand, that will only work on Linux) and I've read someone thinking about using tkinter.
Kind Regards, Maren
Am 31.05.2016 um 17:59 schrieb ugajin: > > Hi, > > Is it possible to set the min/max param attribute values for an .inx > file from within its associated Python scrip? E.g. when an int type > param is not declared with min/max attribute values, the default values > 0, and 10 are applied, and I would like to overwrite these, or whatever > the values declared in the .inx file may be, from the associative Python > script. > > I am guessing this may prove difficult, if the .inx file is parsed on > loading Inkscape. > > Many thanks in anticipation. > > -u > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > > > _______________________________________________ > Inkscape-devel mailing list > Inkscape-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/inkscape-devel >
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel

Well, yes I can see that adding a feature request may be a good idea.
The colour param, is a bit of a beast, and it is especially hard to find information on how to use it. You probably know, there are a couple of functions here that may be useful: http://www.hoboes.com/Mimsy/hacks/parsing-and-setting-colors-inkscape-extens....
-u
---- On Wed, 01 Jun 2016 10:32:41 +0000 Mark Schafer<mschafer@...2596...> wrote ----
There is a request in for tkinter to be included with the python bundling. If this was in then users could build their own and control this. (But main reason for asking was to get a file browser to select (say) csv files for an extension). However the same inx parameter baseda approach is apparently used inside inkscape for dialogs. So this means that any changes have far-reaching consequences. (e.g. I asked for color to return a #RRGGBB string but it cannot be changed from a long because inkscape internally would need a lot of modifications. So yes - create a bug report and label as a feature request.
On 6/1/2016 4:46 AM, ugajin wrote:
Thanks,
One for the wish list, perhaps!
-u
---- On Tue, 31 May 2016 16:37:32 +0000 Maren Hachmann<maren@...3165...> wrote ----
Hi u,
the .inx files are loaded on startup, the .py files are loaded dynamically.
If you want to give anything back to the interface, I have seen people use a shell script and zenity (e.g. http://wiki.colivre.net/Aurium/InkscapeGenerator - link is dead at the moment... :/, but it's available in the debian repos: http://ftp.uni-erlangen.de/mirrors/debian/pool/main/i/ink-generator/, as far as I understand, that will only work on Linux) and I've read someone thinking about using tkinter.
Kind Regards, Maren
Am 31.05.2016 um 17:59 schrieb ugajin: > > Hi, > > Is it possible to set the min/max param attribute values for an .inx > file from within its associated Python scrip? E.g. when an int type > param is not declared with min/max attribute values, the default values > 0, and 10 are applied, and I would like to overwrite these, or whatever > the values declared in the .inx file may be, from the associative Python > script. > > I am guessing this may prove difficult, if the .inx file is parsed on > loading Inkscape. > > Many thanks in anticipation. > > -u > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > > > _______________________________________________ > Inkscape-devel mailing list > Inkscape-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/inkscape-devel >
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7598 / Virus Database: 4591/12332 - Release Date: 05/31/16
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e____________________... Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel

Yes, I have seen that one, too.
---- On Fri, 03 Jun 2016 04:57:46 +0000 Mark Schafer <mschafer@...2596...> wrote ----
yes thanks - I found that one. The template extension includes color and how to use it. Along with all the others. (Its referred to on the website under https://inkscape.org/en/develop/extensions)
On 6/3/2016 3:33 AM, ugajin wrote:
Well, yes I can see that adding a feature request may be a good idea.
The colour param, is a bit of a beast, and it is especially hard to find information on how to use it. You probably know, there are a couple of functions here that may be useful: http://www.hoboes.com/Mimsy/hacks/parsing-and-setting-colors-inkscape-extens....
-u
---- On Wed, 01 Jun 2016 10:32:41 +0000 Mark Schafer<mschafer@...2596...> wrote ----
There is a request in for tkinter to be included with the python bundling. If this was in then users could build their own and control this. (But main reason for asking was to get a file browser to select (say) csv files for an extension). However the same inx parameter baseda approach is apparently used inside inkscape for dialogs. So this means that any changes have far-reaching consequences. (e.g. I asked for color to return a #RRGGBB string but it cannot be changed from a long because inkscape internally would need a lot of modifications. So yes - create a bug report and label as a feature request.
On 6/1/2016 4:46 AM, ugajin wrote:
Thanks,
One for the wish list, perhaps!
-u
---- On Tue, 31 May 2016 16:37:32 +0000 Maren Hachmann<maren@...3165...> wrote ----
Hi u,
the .inx files are loaded on startup, the .py files are loaded dynamically.
If you want to give anything back to the interface, I have seen people use a shell script and zenity (e.g. http://wiki.colivre.net/Aurium/InkscapeGenerator - link is dead at the moment... :/, but it's available in the debian repos: http://ftp.uni-erlangen.de/mirrors/debian/pool/main/i/ink-generator/, as far as I understand, that will only work on Linux) and I've read someone thinking about using tkinter.
Kind Regards, Maren
Am 31.05.2016 um 17:59 schrieb ugajin: > > Hi, > > Is it possible to set the min/max param attribute values for an .inx > file from within its associated Python scrip? E.g. when an int type > param is not declared with min/max attribute values, the default values > 0, and 10 are applied, and I would like to overwrite these, or whatever > the values declared in the .inx file may be, from the associative Python > script. > > I am guessing this may prove difficult, if the .inx file is parsed on > loading Inkscape. > > Many thanks in anticipation. > > -u > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > > > _______________________________________________ > Inkscape-devel mailing list > Inkscape-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/inkscape-devel >
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7598 / Virus Database: 4591/12332 - Release Date: 05/31/16
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e____________________... Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7598 / Virus Database: 4591/12344 - Release Date: 06/02/16
participants (4)
-
Jabiertxo Arraiza Cenoz
-
Maren Hachmann
-
Mark Schafer
-
ugajin