Hi
>
>> 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.
Yes, difficult question. I think it would be easier to rely on the layer 
name by default
(and it would make macro more independant from the UI),
But maybe it would be possible to add an option to switch from layerName to
selectedLayer during macro recording when it is really needed (the 
parameter value
would be changed from "MyLayer" to "${SelectedLayer}" for example.

The question becomes even more complex with selected features...

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
>
>


------------------------------------------------------------------------------
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

Reply via email to