Copy link to clipboard
Copied
First prototype of Stroker:
- Download and unzip the file
- Open happy_new_year_2022.ai
- In the Actions palette: Import stroker_1.aia
- Select all objects (all of them are filled and closed paths)
- Run the action stroker_1
- Be a bit patient
Has to be improved, of course. Prototype 2 is underway.
Copy link to clipboard
Copied
,
Copy link to clipboard
Copied
100%K magic! Thanks, Kurt.
Peter
Copy link to clipboard
Copied
Thanks, Peter.
Prototype 2 is supposed to be more colourful. It should preserve different colours when converting the filled paths to open stroked paths.
Also, it should support compound paths.
It's almost done, but there are some minor issues which have to be solved. It's a bit tricky to get it right.
Copy link to clipboard
Copied
If YOU think it's a bit tricky, I'll just take your word for it.
Copy link to clipboard
Copied
I now have a version that basically works while preserving different colours, but it is way too complicated and a bit error-prone.
It's pretty obvious that the action could be simplified by incorporating a little helper script that would swap stroke and fill attributes in conjunction with multiple coloured objects that have additional appearance attributes.
I do know a couple of scripts that can swap stroke and fill attributes with multiple coloured objects, but none of them actually works with the objects I created.
So my question is: If I provide a sample file with some instructions, would one of the scripting experts be willing to take a look at it and tell me if it can be scripted (just the swap stroke/fill part)?
Thanks.
Copy link to clipboard
Copied
I'm sure there would be many but haven't found your post yet.
Copy link to clipboard
Copied
Hi Kurt,
I just found and used the first version of your action and it's brilliant! I dabble pretty heavily with scripts and would be super interested in taking a look to see if I can help you work it out and test.