[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users 01413] Re: Feature Request/Problem: %system



Hi David,

Well, I think the button directive is not a bad idea. 
Maybe I will try to implement it in the next release
or I will enhance the system directive so that a user
can specify whether it re-exec commands after reloading 
or not. 

Thanks,
--
Yoshifumi Nishida
nishida@csl.sony.co.jp



From: David Ronis <ronis@ronispc.chem.mcgill.ca>
Subject: [mgp-users 01412] Feature Request/Problem: %system
Date: Wed, 16 Mar 2005 18:38:02 -0500
Message-ID: <>

 > Hi Yoshifumi
 > 
 > I recently used mgp in a presentation and got into a bit of trouble.
 > My presentaion had one page that tried to show a mp3 movie.  I do this
 > as follows:
 > 
 > %page
 > %system "./demo"
 > %page
 > 
 > where demo is a shell script that runs the movie in full-screen mode.
 > This workes, but when the movie is finished and I quit out of the mp3
 > player, the page reloads and the movie starts again.
 > 
 > 
 > I added the following after the 1st system call
 > 
 > %system "mv ./demo ./demo.bak"
 > 
 > which works, but is tricky if I want to go back a slide or accidently
 > skip over the movie slide before the movie plays.  
 > 
 > You mentioned this problem in the SYNTAX documention.
 > 
 > What I'd like is some way to be able to have a button to start the
 > script, maybe a clickable image of my choice/size, as part of the
 > %system directive.  The system call would trigger only after the
 > botton was pressed.
 > 
 > As usual, thanks in advance.
 > 
 > 
 > David
 >