New answers tagged illustrator-scripting
I've accomplished my goal, however my solution does not involve Illustrator scripts. I simply use Photoshop actions and batch processing: Open a typical image in Photoshop and create a new action. While it's recording, choose the magic wand tool. Right click on the image and click "Color range". Select "Highlights" from the dropdown and set both sliders ...
No problemo. #target illustrator layer = app.activeDocument.layers.getByName("Toggle") layer.visible = ! layer.visible Put this in a action and bind action to shortcut. NOTE: Adobe has no quality control for their scripting environment so the actions pallete will forget the script each time you start Illustrator so to get this working reload the default ...
Uncomment the line pngExportOpts.matte = true; and change the value to false. The value of pngExportOpts.matte defaults to true, so you must set it explicitly in the script. [Note: I used the original Adobe script and modified it, but I didn't at a glance see any differences between it and your edited version.]
Top 50 recent answers are included