Search found 4 matches

by dpaintArexx
Tue Nov 21, 2023 10:56 am
Forum: Help Me
Topic: Photoshop to Spine Script - customising the settings?
Replies: 5
Views: 3635

Re: Photoshop to Spine Script - customising the settings?

Here is a quick fork that will check if layers are divisible by 16, resize and export the pngs.

I do not have Spine, however, and I haven't checked if the numbers in the JSON are messed up. That would break the rig, of course.

PhotoshopToSpine_20231121-1136.zip
(15.74 KiB) Downloaded 169 times
by dpaintArexx
Wed Nov 15, 2023 3:58 pm
Forum: Photoshop Scripting - General Discussion
Topic: activeDocument.saveAs opens dialog
Replies: 3
Views: 2266

Re: activeDocument.saveAs opens dialog

Oh, yes, that makes sense. Thanks for pointing me to those articles.

The test localFile.copy(networkFile) was done with a fairly small dummy psd, so I will try to use system-calls if problems occur on larger files.
by dpaintArexx
Tue Nov 14, 2023 1:15 pm
Forum: Photoshop Scripting - General Discussion
Topic: activeDocument.saveAs opens dialog
Replies: 3
Views: 2266

Re: activeDocument.saveAs opens dialog

I did found a workaround:

Code: Select all

var localFile = new File("~/Desktop/localFile.psd");
var networkFile = new File("/Volumes/home/Projects/networkFile.psd");
activeDocument.saveAs(localFile, myPsdSaveOptions, true);
localFile.copy(networkFile);
by dpaintArexx
Tue Nov 14, 2023 12:54 pm
Forum: Photoshop Scripting - General Discussion
Topic: activeDocument.saveAs opens dialog
Replies: 3
Views: 2266

activeDocument.saveAs opens dialog

Hi everyone, I use activeDocument.saveAs() supplied with a File- and psdSaveOptions object. It works fine and silently when saving to a local hard disk. But when the file object points to a network drive, I am greeted with a "Save As"-dialog. Any clues to why this happens? var networkFolde...