Perhaps I am overlooking the simple. But, when I script a series of events
that are to be done on each of the images in a directory, I dont see a way
to deal with the halt on each and every file, that I get when I run the
script in FILE/BATCH mode. It seems to want to halt with each EXPORT file
save to ask me to verify the file over-write. That is a normal process, so
it doesnt disturb me that the request is there to verify a file over-write.
It does seem that it should be scriptable. It is an undesireable taks to
manually key respond to, in this particular case, 87 requests to verify file
overwrites when the decision to do those over-writes was already made once
and applies to ALL files.
Is there a checkbox or some way to record the file over-write ok?
|
|
0
|
|
|
|
Reply
|
rfrohrer326 (2)
|
7/2/2004 3:03:25 AM |
|
news.frontiernet.net wrote:
> Perhaps I am overlooking the simple. But, when I script a series
> of events that are to be done on each of the images in a
> directory, I dont see a way to deal with the halt on each and
> every file, that I get when I run the script in FILE/BATCH mode.
Your script is fighting with the way the batch processor is intended
to work. Write the script to process just one image. Leave out
everything about opening and closing files. When that script runs in
the batch processor, the BP does the file opening and saving part.
Do set up the BP to save the changed files with new names, in a
different folder, or whatever suits to avoid over-writing the
originals.
--
Fred Hiltz, fhiltz at yahoo dot com
|
|
0
|
|
|
|
Reply
|
Fred
|
7/2/2004 12:20:26 PM
|
|
Why cannot one set it up ot automatically over-write the old image. This is
the usual pattern when working manually. It is logical for automation to
follow the accepted manual process.
So, setting a check mark somewhere to automatically over-write the original,
would be a time saver, rather than having to respond to zillions of
over-write request . . to which one routinely reponds "yes".
"Fred Hiltz" <not@home.ca> wrote in message
news:7dKdnf2cSseTznjdRVn-vA@adelphia.com...
> news.frontiernet.net wrote:
> > Perhaps I am overlooking the simple. But, when I script a series
> > of events that are to be done on each of the images in a
> > directory, I dont see a way to deal with the halt on each and
> > every file, that I get when I run the script in FILE/BATCH mode.
>
> Your script is fighting with the way the batch processor is intended
> to work. Write the script to process just one image. Leave out
> everything about opening and closing files. When that script runs in
> the batch processor, the BP does the file opening and saving part.
>
> Do set up the BP to save the changed files with new names, in a
> different folder, or whatever suits to avoid over-writing the
> originals.
> --
> Fred Hiltz, fhiltz at yahoo dot com
>
|
|
0
|
|
|
|
Reply
|
news
|
7/5/2004 1:24:44 AM
|
|
Wasn't it news.frontiernet.net who wrote:
>Why cannot one set it up ot automatically over-write the old image. This is
>the usual pattern when working manually. It is logical for automation to
>follow the accepted manual process.
You previously said you were using EXPORT, not SAVE.
EXPORT asks for confirmation in the manual process, even if the file
name happens to be the same, and in a script. The same happens with SAVE
and SAVE_AS.
SAVE doesn't ask for confirmation in the manual process or in a script.
In each case, the automation follows the manual process.
--
Mike Williams
Gentleman of Leisure
|
|
0
|
|
|
|
Reply
|
Mike
|
7/5/2004 4:41:24 AM
|
|
Wasn't it Mike Williams who wrote:
>Wasn't it news.frontiernet.net who wrote:
>>Why cannot one set it up ot automatically over-write the old image. This is
>>the usual pattern when working manually. It is logical for automation to
>>follow the accepted manual process.
>
>You previously said you were using EXPORT, not SAVE.
>
>EXPORT asks for confirmation in the manual process, even if the file
>name happens to be the same, and in a script. The same happens with SAVE
>and SAVE_AS.
Sorry, that's a typo. I meant to say that the same happens with SAVE_AS
and SAVE_COPY_AS.
>SAVE doesn't ask for confirmation in the manual process or in a script.
>
>In each case, the automation follows the manual process.
--
Mike Williams
Gentleman of Leisure
|
|
0
|
|
|
|
Reply
|
Mike
|
7/5/2004 7:49:11 AM
|
|
news.frontiernet.net wrote:
> "Fred Hiltz" <not@home.ca> wrote in message
> news:7dKdnf2cSseTznjdRVn-vA@adelphia.com...
>> Do set up the BP to save the changed files with new names, in a
>> different folder, or whatever suits to avoid over-writing the
>> originals.
>> --
>> Fred Hiltz, fhiltz at yahoo dot com
>
> Why cannot one set it up ot automatically over-write the old
> image. This is the usual pattern when working manually. It is
> logical for automation to follow the accepted manual process.
>
> So, setting a check mark somewhere to automatically over-write
> the original, would be a time saver, rather than having to
> respond to zillions of over-write request . . to which one
> routinely reponds "yes".
You certainly can set the batch processor to over-write the starting
file. I don't recommend it because losing the original is so often
cause for grief. Your choice, though.
--
Fred Hiltz, fhiltz at yahoo dot com
|
|
0
|
|
|
|
Reply
|
Fred
|
7/5/2004 12:38:40 PM
|
|
|
5 Replies
214 Views
(page loaded in 0.091 seconds)
Similiar Articles: Saving variable view contents - comp.soft-sys.stat.spssScript-Fu: ERROR: unbound variable - comp.graphics.apps.gimp ... How do you script with a file save OK? - comp.graphics.apps.paint ... Calling file-raw-save from the ... How to call Save As Dialog by using Script ??? - comp.lang ...When I press the OK Button of the Save as Dialog ..... I have to get the File name selected and set it as TextBox Text ... How to do this by Java Script.And I need to ... Batch/Script: Save XCF as JPG at 100% - help please! - comp ...... How many multi-layer xcf-s do you have ... in display) seem to come out OK ... Scripting saving of a file to a new directory in another format. 5. Batch/Script: Save XCF as ... Script to save a file and use the auto incremented filename - comp ...Script to save a file and use the auto incremented filename - comp ... Need help With Scrolling Text into About Dialog Credits - comp ... that you can increment it during ... how do I make this dialog save as, scriptin filesytemobject - comp ...How to call Save As Dialog by using Script ??? - comp.lang ... Script to save a file and use the auto incremented filename - comp ... how do I make this dialog save as ... window.document.execCommand("SaveAs" - comp.lang.javascript ...OK here is my quandry .... I have a jsp generated page that if i go in and do a file "save as" it will save the html, complete just fine. First probl... Tries to save the file, instead of executing it - comp.lang.php ...... anything, >> including the header that says 'interpret this as displayable HTML' >> >> Probably a context sensitive bug in the script. > > If I say "save file", or ... Premature end of JPEG file - comp.soft-sys.matlabI am running a script to load in some jpegs from an ... corrupt file, however I am still able to open the file ok. ... Automating saving files in matlab - comp.soft-sys.matlab ... How to make the 'default route' permanent across reboots? - comp ...... gateway 192.168.1.1 Now it's ok ... be a pain. > If all else fails, you could write a script ... 192.168.1.1 The only thing you need to do is get it right :-) File ... How to save e-mail or attachment to a file on UNIX OS from the ...I am looking for a script, on unix platform using mailx, to read my e-mail and for a certain user I want to save the message to a file with a unique n... V.I.P.Click OK. You should now have scene numbers on every scene heading! How do I ... If you would like someone on the to view your script you must save the file Scripting FAQOK. So then why would I want to learn scripting? Do you ever find yourself typing ... Copy the following script, paste it into Notepad, and save it with a .VBS file ... 7/16/2012 3:41:42 PM
|