Launch stack at a selected card.

Jan Schenkel janschenkel at yahoo.com
Tue Sep 28 12:49:42 EDT 2004


--- Glen Bojsza <gbojsza at mac.com> wrote:
> I was wondering if I had a stack with 5 cards on it
> is there a way to 
> launch the stack to a particular card from the
> command line.
> 
> ie. car.exe 2   (to launch the stack application car
> starting with card 
> 2)
> 
> later car.exe 4 (to launch the stack application car
> starting with card 
> 4)
> 
> thanks,
> 
> Glen
> 

Hi Glen,

Check the content of the environment variable $1
Example :
--
on preOpenStack
  if $1 is a number then go card $1
end preOpenStack
--

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


More information about the use-livecode mailing list