Launch another app from my application folder

Jim Bufalini jim at visitrieve.com
Tue Apr 14 15:11:11 EDT 2009


Hi Adrian,

If all you have is your standalone, you can use *the defaultFolder* which is
set to where your application launches from. If you have other stacks, you
can use:

Set the itemdelim to slash
Get item 1 to -2 of the filename of stack "<the known stack name>" 

Don't forget to add an *& slash* to either of the above and then the other
app's name.

Then you can use launch or another option is shell, which would allow you to
execute a series of commands.

One last note. If using the defaultFolder, be aware that while working in
the IDE, this is set to the Rev directory. When you launch a standalone, it
will be the standalone directory.

Aloha from Hawaii,

Jim Bufalini

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] On Behalf Of Adrian Williams
> Sent: Tuesday, April 14, 2009 6:05 AM
> To: How to use Revolution
> Subject: Launch another app from my application folder
> 
> Hi All,
> 
> I am trying the Launch another application with "launch
> SomeOtherApplication" as described in the docs.
> No luck.
> AppleScript can do it, but must have the  full path. The User may
> store the main app folder anywhere, so that's no good.
> The app I want to launch will be inside my standalone's folder.
> Do I need to get the path to the folder first, then supply it to the
> "launch..." command?
> If so, how can I do that?
> 
> Thanks,
> Adrian
> ______________________
> Club Type
> http://www.clubtype.co.uk
> <adrian at clubtype.co.uk>
> 
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list