Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Illustrator Script code for removing selected items

$
0
0

Hello, I have an Illustrator script to go through certain functions and after it runs there are items selected that I need deleted. I cannot figure out the simple script to remove the selected items. I tried

 

var docSelected = app.activeDocument.selection;

docSelected.selected.remove();

 

but to no avail. Please help. I would greatly appreciate any tips and suggestions as I just need to know how to have the script to delete selected items. Thank you very much!


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>