Copy link to clipboard
Copied
I have a Photoshop script written by Copyright (c) 2006 Rags Gardner. With his permission I reworked his script to generate Photo Collage Template compatible with my Photo Collage Toolkits populating scripts. The Script work with Photoshop CS2 through CC 2014. The script will also work in CC 2015 if launched by the JSX Launcher extension. However if launch via menu File>Scripts>CollageTemplateBuilder in CC 2015 and CC 2015.5 the script dialog briefly flashes in Photoshop window and Photoshop is hung and must be terminated via the windows task manager. Is there a ScriptUI expert that is willing to help find where the problem is?
http://www.mouseprints.net/old/dpr/CollageTemplateBuilder.jsx
Copy link to clipboard
Copied
It opened for me with Win 10 and PS 2015.5:
Copy link to clipboard
Copied
Hang both Photoshop CC 2015 and CC 2015.5 on my windows 10 workstation. Photoshop flashes the dialog. Task manaher shows Photoshop getting less then 1% cpu details shows Photoshop as running 0thee I/O count slowly increasing cpu time slowly increasing. Photoshop UI is non responsive. esc does not break the script . If I click on Photoshop Display my machine beeps. If I skiploadind third party Plug-ins the script still make Photoshop non responsive. If I disable GPU in Photroshop Prreferences abd skip loading plugins its the sane story.
Copy link to clipboard
Copied
Odd. I don't know if this will help, but try adding this at the beginning of the script for 2015.5
#target photoshop-100
or this for PS 2015
#target photoshop-90
Copy link to clipboard
Copied
Made no difference thanks but the still hang Phoroshop on my machine..
Copy link to clipboard
Copied
Is it happening from ESTK too? My Extension hangs PS 2015.2 every 20th or 30th start attempt. I have to kill PS in Win task manager. Try to comment out the code and put back part by part IMHO.
Copy link to clipboard
Copied
I've tried on Mac and got this error:
Davide
Copy link to clipboard
Copied
It looks as if this could be the culprit:-
iconPath = new String($.getenv ("TEMP") + "/"); // try the OS TEMP directory
Copy link to clipboard
Copied
I have been editing image in floating windows for 20 years. If I set my Photoshop Preferences to edit in tabs the Script does not hang Photoshop and works in CC 2015 and CC 2015.5. I Have submmited a problem report ScriptUI hangs Photoshop CC 2015 and CC 2015.5 | Photoshop Family Customer Community
Copy link to clipboard
Copied
JJMack​, if memory doesn't fail me we've had this issue in past versions of Photoshop, with Adobe's own scripts (as well as third party's) breaking randomly if the document wasn't tabbed and/or edit in tabs wasn't in the Preferences.
Yet, as far as I remember, it was solved (don't ask me in which version, I can't say) – now it is back?! Ouch!
Davide
Copy link to clipboard
Copied
That line
iconPath = new String($.getenv ("TEMP") + "/"); // try the OS TEMP directory
will cause the error that you got Davide as it creates an invalid path.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now