Open Program with RR

Jan Schenkel janschenkel at yahoo.com
Thu Nov 14 02:05:01 EST 2002


--- Gary Aitcheson <gary_aitcheson at sbcglobal.net>
wrote:
> A question that I know has been asked before, but I
> can't find the answer. I want to open a program
> automatically each time I open RR. How do I do this?
> 
> TIA - Gary
>

Hi Gary,

Check out the 'launch' command. Set the script of your
mainStack to something like:

on openStack
  -- automatically open companion application
  launch "MyFavouriteApp"
  -- do other stuff here
  -- ...
end openStack

If you're looking for a solution that will run _every
time_ you open RunRev, you could write a small plug-in
that is basically a field of which every line is
executed with the 'do' command in the plug-in's
'openStack' handler.

And if nobody's going to write a plug-in like that
this time around, I'll post it over the weekend.

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! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com



More information about the use-livecode mailing list