Message 1 of 16

Not applicable
08-31-2015
06:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I'm new to lisps and the syntax is a little confusing to me so I'm having a little trouble. I have a text layer that contains around 500 text and mtext strings. I need to search for a string within the text and if it matches, change the layer. Here's an example of the logic:
find "HW"
change object layer to "HW-TXT"
find "WFI"
change object layer to "WFI-TXT"
find "CHWS"
change object layer to "CHWS-TXT"
ect...
If possible, it would be nice to be able to view the object before the layer is changed similar to how you can view all of the text when you use find and replace before replacing it but it's not absolutely necessary.
Thanks in advance
Solved! Go to Solution.