From: Abraham Schneider <aschneider@(email surpressed)>
Subject: Re: Deactivating parts of submit-scripts?
   Date: Tue, 27 Sep 2005 06:39:05 -0700
Msg# 1051
View Complete Thread (4 articles) | All Threads
Last Next
Greg Ercolano schrieb:
    However, you /could/ add this single line of code to the .common.pl
    script to make it honor '#' comments in the GUI section.

    Search for 'sub CreateInputForm' in the .common.pl, and then
    find the following section, and add the single line 'ADD THIS LINE'
    below:

---- snip
[..]
    # PARSE EACH LINE OF THE TEXT LAYOUT
    my $s;
    foreach $s ( split('\n', $form, -1 ) )
    {
    if ( $s =~ /^#/ ) { next; }        #### ADD THIS LINE ####

        # HANDLE RAW-INPUT MODE
        #    This allows caller to insert raw input(1) commands
        #    into the screen definition.
        #
[..]
---- snip

    I believe that's all that's needed to enable '#'s in the GUI section.

Ok, that works almost, but not completely: if I do this with the "Image Command" line, I always get this error message when starting the script:

input: /mnt/homes/aschneid/.rush/.shaketest-last: Line 13: unknown field 'ImageCommand'

that also happens if I delete the .xyz-last file.

Any ideas about that?

Thanks, Abraham

--
Abraham Schneider
VFX Compositor

ARRI Film & TV Services GmbH
Tuerkenstr. 89
D-80799 Muenchen

Phone: +49 89 3809-1269
Mobile: +49 173 5719842
Email: aschneider@(email surpressed)

Last Next