From: Andrew Kingston <andrew@peerless.co.uk>
Subject: Re: fancy submit gui's
   Date: Wed, 09 May 2007 06:37:21 -0700
Msg# 1542
View Complete Thread (6 articles) | All Threads
Last Next
Greg Ercolano wrote:
Greg Ercolano wrote:
	Yep. I recently added a similar 'updatecommand' feature
	to the browse menu, so that when a new file was 'browsed',
	the update command would automatically be executed.

	Doing this for the pulldown menus would be similar.. I'll try
	to attack it today, if possible.

   Done.

   Andrew, please try:
   http://www.seriss.com/rush/releases/patches-for-102.42a8/input-with-choice-updatecommand.tar.gz

   Contents:

-rwxr-xr-x root/root      2644 2007-05-08 18:47:17 test-choice-updatecommand.pl
-rwxr--r-- root/root   1175552 2007-05-08 18:47:27 input.exe
-rwxr-xr-x root/root   1169516 2007-05-08 18:07:38 input-mac
-rwxr-xr-x root/root   1307324 2007-05-08 17:10:51 input.fedora3

   There's one 'input' executable for each platform; just rename out
   your old input program, and install the new with a matching filename
   to try it out.

   The perl script is one that I used to test the feature; feel free
   to try it. (Be sure to invoke it with an absolute path, for the same
   reason the rush scripts need to be) Note that you can simply add
   an 'updatecommand' into the 'choice' section. Whenever the choice
   is changed by the user, the updatecommand is executed. Script shows
   how this works.

   To rename out the old, and install the new:

WINDOWS
    move c:\rush\examples\bin\input.exe c:\rush\examples\bin\input-orig.exe
    copy input.exe c:\rush\examples\bin\input.exe

LINUX
    mv /usr/local/rush/examples/bin/input /usr/local/rush/examples/bin/input-orig
    cp input.fedora3 /usr/local/rush/examples/bin/input

MAC
    ( cd /usr/local/rush/examples/bin/; mv input input-orig )
    ( cd /usr/local/rush/examples/bin/input.app/Contents/MacOS/; mv input input-orig )
    cp input-mac /usr/local/rush/examples/bin/input
    cp input-mac /usr/local/rush/examples/bin/input.app/Contents/MacOS/input

    Let me know if you have any questions.
    Note the special four-step commands are needed for the MAC.
Wow - so quick.  I've downloaded it - I'll let you know how I get on.

Cheers
Andrew

Last Next