Launching several applications via shell...

Barry G. Sumpter barrysum at bigpond.net.au
Wed Mar 28 14:52:24 EDT 2012


Have a go at:

launch url urlToLaunch

Summary: 
Launches a url in the appropriate manner for the current system.

Example: 
launch url "http://www.runrev.com"
launch url "file:/Users/ben/Desktop/test.pdf"
launch url "tel:44 7818 8822"
	
-----
maybe
Launch app A that launches app A1, A2, A3
Then close app A
?

hth

------------------------------

Message: 16
Date: Wed, 28 Mar 2012 17:21:29 +0200
From: Thierry Douez <th.douez at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Subject: Re: Launching several applications via shell...
Message-ID:
	<CAO8ucO7YaV_CHnBKeCB=EmvpP8kaM_C=NG+-73xBmnAOqQoEdQ at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

2012/3/28 Glen Bojsza <gbojsza at gmail.com>

I am trying to have a simple application launcher (on Linux) where the user
> can launch different applications but a clicking the associated button.
>
> The problem is that once the user has launched one application none of 
> the others will launch until they close the application they just opened.
>
> I would like to allow all applications to remain open even if the 
> Livecode application closes... is this possible.
>
> So far all I am using is the shell command in each button for an 
> individual application.
>
> thanks,
>
> Glen
>

 Did you try this one:

       get shell("trafficgen & disown ")
       ....
       get shell("editor & disown")

HTH,

Thierry


------------------------------

Message: 17
Date: Wed, 28 Mar 2012 09:34:30 -0600
From: Glen Bojsza <gbojsza at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Subject: Re: Launching several applications via shell...
Message-ID:
	<CACW8NbCWd_WydYONamqAz2aeKZ8+6PzFVbVOdJAR045NE=bBKw at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi Thierry,

I just tried your idea but with the same problem... unless I close the first
application that has been opened the other won't open.



On Wed, Mar 28, 2012 at 9:21 AM, Thierry Douez <th.douez at gmail.com> wrote:

> 2012/3/28 Glen Bojsza <gbojsza at gmail.com>
>
> I am trying to have a simple application launcher (on Linux) where the 
> user
> > can launch different applications but a clicking the associated button.
> >
> > The problem is that once the user has launched one application none 
> > of
> the
> > others will launch until they close the application they just opened.
> >
> > I would like to allow all applications to remain open even if the
> Livecode
> > application closes... is this possible.
> >
> > So far all I am using is the shell command in each button for an
> individual
> > application.
> >
> > thanks,
> >
> > Glen
> >
>
>  Did you try this one:
>
>       get shell("trafficgen & disown ")
>       ....
>       get shell("editor & disown")
>
> HTH,
>
> Thierry
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>






More information about the use-livecode mailing list