13 posts
PCI (Peter) wrote:
I'm trying to figure out how to make a script/macro
How or where can I find out what functions exist, what they do and the proper syntax/sub options?
Right now i'm trying to figure out a script that does:
Select layers by layer name = Manual input A -> *string1*string2*string3*
For each layer that is true on above search:
Replace in layer name = Manual input B *string6*string8*
So basically I want to be able to do a Search & replace for all my layer names.
For example all springs TH-12-7 need to become TH-12~7
I want to be able to do:
Search layer names for *TH-12-7*
Change for all results layer name part *TH-12-7* for *TH-12~7*
Mainly I would like to know, how I can figure out how to make such a script.