POV-Ray : Newsgroups : povray.beta-test : Post_Scene_Command problems Server Time
1 Nov 2024 19:14:48 EDT (-0400)
  Post_Scene_Command problems (Message 1 to 3 of 3)  
From: Stephen Dartnall
Subject: Post_Scene_Command problems
Date: 20 Mar 2002 06:38:46
Message: <3c9874c6@news.povray.org>
Win98SE 512MB POV3.5.beta.13.icl.win32

Hi,

I have been having trouble getting the Post_Scene_Command function to work.
For example, using the following line in an INI file should make POV-Ray
start Notepad once it has finished rendering:

Post_Scene_Command=C:\Windows\Notepad.exe

With POV3.1 this works as expected. With POV3.5 it doesn't do anything. (I
have set the Options/IO Restrictions to 'No Restrictions' and the 'Disable
Starting Other Programs' is unchecked).

Incidentally, by also using the 'Create_Ini' option the new INI file has a
blank entry for the Post_Scene_Command - I wonder whether the scene parser
is reading the Post_Scene_Command line at all?

Regards,

Stephen


Post a reply to this message

From:
Subject: Re: Post_Scene_Command problems
Date: 20 Mar 2002 06:49:17
Message: <7ltg9uskt63daj91nfl7r2novkd5063qdn@4ax.com>
On Wed, 20 Mar 2002 11:38:42 -0000, "Stephen Dartnall"
<ste### [at] dartnallcouk> wrote:
> Post_Scene_Command=C:\Windows\Notepad.exe

works as expected on POV 3.5 b 13 icl on WinNT Sp 6 PII 233 with 128 MB as
Post_Scene_Command=C:\WinNT\Notepad.exe and
Post_Scene_Command=Notepad.exe when placed in command box

ABX


Post a reply to this message

From: Stephen Dartnall
Subject: Re: Post_Scene_Command problems
Date: 20 Mar 2002 07:10:09
Message: <3c987c21@news.povray.org>
Win98SE 512MB POV3.5.beta.13.icl.win32

I've just been testing a bit more and have found that the Post_Scene_Command
DOES work, but only if the INI file *doesnt* have a Post_Scene_Return
statement *after* the Post_Scene_Command. For example:

This INI file works:

Input_File_Name=F:\Scene.POV
Output_File_Name=F:\Scene.TGA
Post_Scene_Return=I
Post_Scene_Command=C:\Windows\NotePad.exe

This INI file doesn't work:

Input_File_Name=F:\Scene.POV
Output_File_Name=F:\Scene.TGA
Post_Scene_Command=C:\Windows\NotePad.exe
Post_Scene_Return=I

Furthermore, if the top INI file has the 'Create_INI' option set, then the
new INI file has the Post_Scene_Return statement after the
Post_Scene_Command, and hence will then not work properly!


Post a reply to this message

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