Why does a Locked Item still appear selected after script is run?
This is the script:
var doc = app.activeDocument;
idoc.selection[0].locked = true;
redraw();
I want to "Lock" the current selection. The script works but does not update the screen, leaving the object appearing still selected.
My workaround is to toggle "Hide Edges" on and off, but that I'm sure that's not the best way to handle the issue.
Your suggestions are appreciated.
