Single script to select different things

 From:  Michael Gibson
11127.12 In reply to 11127.11 
Hi Flowgun,

re:
> - if a single object is selected: selects its naked edges. if it has none, it can simply deselect it.

What if the single selected object is named?


> Edit: another behavior: if nothing is selected, then select the result of the last operation:

That conflicts with another condition that you specified originally which was this:

> if nothing is selected {
> // select all curves


= Michael