Copy link to clipboard
Copied
Hi there,
I'm a little useless when it comes to scripting but I need a self-contained script that simply unlocks all the layers in a current document.
I'm using a script that batch exports a folder to RTF (batch_convert.jsxbin) but it's having a few problems with locked layers. Luckily, it allows you to run a script on each document it opens before it exports. If I had a script that would simply unlock all the layers first I reckon it could do the job nicely.
Thanks,
Dan
Copy link to clipboard
Copied
app.documents[0].layers.everyItem().locked = false;
Copy link to clipboard
Copied
Thank you
Copy link to clipboard
Copied
I didn't take a look at your posted link but if it is an exported binary then you may be out of look… Check and contact the original author…
Edit. OK, I think I see your direction now… Shut up mark u is still a muppet… sorry
Copy link to clipboard
Copied
Thanks for the code, for some reason I can't get the script to pick up on its existence though. I have sent an email to the author and did a bit of reading up on jsxbin files. Which of course are binary encrypted.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more