Hi, > On 06.10.2014 13:28, Michael Michaud wrote: >> Hi, >> >> Macro recording an action on a selected layer : >> >> There is an interesting question about plugins executed on a selected layer >> or category (some are dialogless like delete or copy/paste) >> User starts a macro, delete selected layer A and stop the macro. >> What is the expected behaviour when the macro is run again ? >> - should it delete the selected layer (whatever its name is) >> - or should it delete layer A, regardless of whether it is selected or not. >> >> Use cases are welcome to try to define a behaviour both consistent >> and useful. >> > as the plugin works with selected layers i'd expect the recorded plugin to > work on a selected layer as well. this, of course, raises the question how to > control selection during macro playing. Just thinking aloud about this problem... A solution could be - record the layer name (more information in the layer name than in "selected layer" option - choose named layer or selected layer (interactive mode) at execution time as a global option of the macro if interactive mode is chosen for each parameter named "LayerName" (or any other convention) open a MultiInputDialog to make the user choose the layer
Michaƫl > > ..ede > > ------------------------------------------------------------------------------ > Slashdot TV. Videos for Nerds. Stuff that Matters. > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel