For scripters: Unlock Screen
Download (1kb) -- Put it in the Macro folder in the scripts folder.
More than once while working on my Numeric Transform script (and thought I was finished), it would hit an error and leave the UI locked. After the nth time closing and reopening the window to get around that, I decided to write a quick fix instead.
It's very simple -- all it does is this:
but it's saved me a lot of hassle. Hope it will for you, too.
Download (1kb) -- Put it in the Macro folder in the scripts folder.
More than once while working on my Numeric Transform script (and thought I was finished), it would hit an error and leave the UI locked. After the nth time closing and reopening the window to get around that, I decided to write a quick fix instead.
It's very simple -- all it does is this:
Code:
function main(doc){
doc.releaseRedrawLock();
doc.redrawAll();
}