🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #1957

Re: Save without dialog

#1957
From: Allen_Ormond
Date: Wed, 30 Jun 2004 20:42
15 lines
1428 bytes
Thanks for all the help, but I'm still unable to get this to work. Among other things, I've tried (in JS):

docRef.close(SaveOptions.SAVECHANGES);

But the jpeg options dialog continues to pop up. I've even thrown in "app.displayDialogs = DialogModes.NO;" in various ways without any luck.

I thought I had a solution when I found this:
 <http://www.icehousedesigns.com/community/viewtopic.php?t=1144&view=previous>
But that didn't work either.

I'm starting to think that the only solution is to save the files to a temporary folder, and then copy them back into their original folder, overwriting the original files. But that seems sloppy (not to mention I don't know if that's possible to script).

Any more ideas? I feel like I'm going bonkers.

edit: Forgot to mention that I've also tried the scriptlistener, with no luck.
Technical Details
Message-ID: <3bb4d068.10@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.moat.net!newsfeed01.sul.t-online.de!t-online.de!webx
References: <3bb4d068.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,24f0370148ff59ba
X-Google-Attributes: gidf5839,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Allen_Ormond@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.moat.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.photoshop.scripting
Subject: Re: Save without dialog
Message-ID: <3bb4d068.10@webx.la2eafNXanI>
Date: Wed, 30 Jun 2004 13:42:49 -0700
References: <3bb4d068.-1@webx.la2eafNXanI>
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit