🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #1946

Re: Save without dialog

#1946
From: Mick_Murphy
Date: Tue, 29 Jun 2004 15:20
8 lines
1281 bytes
I haven't time to experiment right now so I'm not sure why that is not working. I generally use SaveAs rather than Save and I'm pretty sure that SaveAs should simply overwrite the existing file without a dialog if you pass the existing file name as an argument with dialogs set to none.

However, If you don't mind closing the document at the same time, then a surefire way to save without a dialog is as follows (in VB):

Dim saveOptionsRef As Photoshop.PsSaveOptions

saveOptionsRef = Photoshop.PsSaveOptions.psSaveChanges
docRef.Close(saveOptionsRef)
Technical Details
Message-ID: <3bb4d068.5@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.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: Mick_Murphy@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.photoshop.scripting
Subject: Re: Save without dialog
Message-ID: <3bb4d068.5@webx.la2eafNXanI>
Date: Tue, 29 Jun 2004 08:20:07 -0700
References: <3bb4d068.-1@webx.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit