POV-Ray : Newsgroups : povray.newusers : Show result in default image editor after rendering : Re: Show result in default image editor after rendering Server Time
1 May 2024 16:07:57 EDT (-0400)
  Re: Show result in default image editor after rendering  
From: Raiford, Michael
Date: 11 Dec 2014 09:58:10
Message: <5489b102$1@news.povray.org>
On 12/11/2014 7:03 AM, Dicko wrote:
> Hi all,
>
> I'm wondering how I can do that.
> I use the /EXIT parameter in the command line, so I probably need to shell to
> Windows as soon as the render is done.
> How I do that exactly I don't know. I tried to put
>
> Post_Scene_Command = explore %o
>
> in the INI file, but that does not seem to work.
> Any help is appreciated.
>
> Regards,
> Dick
>
>

A couple things will need to happen:

1) In the options menu under script I/O restrictions uncheck the 
"Disable starting other prorgams" item, if it is checked.

2) You'll need to do this in a batch file:

--- batch file content ---

start %1

-- end batch file content

Place the batch file in a known location, then alter your post-scene 
command to the following:

Post_Scene_Command = [path where you dropped the batch 
file]\openimage.bat %o

Explore isn't a command I know of, but start will open the file in the 
default editor.

Have fun!

~Mike


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.