General Category > ASL Scripts

SCRIPT REQUEST! - 2D cell shading (AUTO GENERATOR)

<< < (6/6)

daniel99:
Cool. Too bad you've changed the icon. It was funny and I was getting use to it :D

neirao:
Thanks again Raxx!

how i say before:
if the script works "only in objects selecteds with mouse" this is time saved!
with it, no need the "_noOutline" parameter! :)

Raxx:
daniel99, yeah I liked it too, but the script was getting to be less turd-ly so I figured I'd change it. It's commented out in the script, so if you reeeeallly want it then you can change

function selectText(containerid){if(document.selection){var range = document.body.createTextRange();range.moveToElementText(document.getElementById(containerid));range.select();}else if (window.getSelection){var range = document.createRange();range.selectNode(document.getElementById(containerid));window.getSelection().removeAllRanges();window.getSelection().addRange(range);}}ASL Snippet/*#button(26, 26, 2, 0x00000000, 0x00410200, 0x00420100, 0x00422108, 0x00206110, 0x0010e210, 0x0020c010, 0x0221b808, 0x0203fc08, 0x0107fc08, 0x0107cf00, 0x001f8040, 0x003e03a0, 0x007c3ff0, 0x00787ff8, 0x00fdfffc, 0x01fffffc, 0x01fffffe, 0x01fffffe, 0x01fffff6, 0x01ffffe2, 0x01ffff04, 0x00ffc008, 0x007ffff0, 0x00000000, 0x00000000);*/#button(32, 32, 2, 0xfffffffffe000000, 0xffffffffffc00000, 0xfffffffffff80000, 0xfffffffffffc0000, 0x01fe0000, 0x007f8000, 0x001fc000, 0x1007f000, 0x3803f800, 0x5400fc00, 0x10007e00, 0x101c3f00, 0x000c1f80, 0xfffffffff8140fc0, 0xffffffffaf2007c0, 0x55c003e0, 0xffffffffaaa001e0, 0x555001f0, 0xffffffffaaa838f8, 0x55541878, 0xffffffffa22a287c, 0x4881403c, 0xffffffffa20a803e, 0x2820801e, 0x4402401f, 0x1080421f, 0xffffffff8004a10f, 0x00002f8f, 0x00001107, 0x00009207, 0x00001007, 0x00001007);
to
function selectText(containerid){if(document.selection){var range = document.body.createTextRange();range.moveToElementText(document.getElementById(containerid));range.select();}else if (window.getSelection){var range = document.createRange();range.selectNode(document.getElementById(containerid));window.getSelection().removeAllRanges();window.getSelection().addRange(range);}}ASL Snippet#button(26, 26, 2, 0x00000000, 0x00410200, 0x00420100, 0x00422108, 0x00206110, 0x0010e210, 0x0020c010, 0x0221b808, 0x0203fc08, 0x0107fc08, 0x0107cf00, 0x001f8040, 0x003e03a0, 0x007c3ff0, 0x00787ff8, 0x00fdfffc, 0x01fffffc, 0x01fffffe, 0x01fffffe, 0x01fffff6, 0x01ffffe2, 0x01ffff04, 0x00ffc008, 0x007ffff0, 0x00000000, 0x00000000);

In a text editor.

neirao, sadly a parametric shape deselects all other shapes before it is created, so there's no way for the script to determine what was selected or not. I submitted a feature request that would fix this. I have v0.4 ready and waiting with it already implemented, on the off chance that Steve can get to it.

neirao:
all right, :)
I understand the programming limitations.
your script is already very good, very helpful! only I asked about the change even if it is not possible to be able to go on record here in the forum! :)
thank you anyway!

daniel99:
Raxx: I was thinking to look for that! :D Thanks, bro! Great job!

Navigation

[0] Message Index

[*] Previous page

Go to full version