Running an executable from within a LiveCode application.

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Googie85
Posts: 199
Joined: Tue Aug 05, 2014 10:07 am

Running an executable from within a LiveCode application.

Post by Googie85 » Fri Jan 06, 2017 9:46 am

Hello All!!

Can someone assist me in launching an application (.exe file) form within LC?

Many Thanks!

Googie85
Posts: 199
Joined: Tue Aug 05, 2014 10:07 am

Re: Running an executable from within a LiveCode application

Post by Googie85 » Fri Jan 06, 2017 9:48 am

open file "c:/windows/system32/mspaint.exe" does not work...

AxWald
Posts: 578
Joined: Thu Mar 06, 2014 2:57 pm

Re: Running an executable from within a LiveCode application

Post by AxWald » Fri Jan 06, 2017 3:12 pm

Hi,

lookup "shell" in the dictionary!

Have fun!
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Running an executable from within a LiveCode application

Post by Klaus » Fri Jan 06, 2017 3:34 pm

Hi Google85,

on my Mac I can use "launch" (go figure :D ):
...
launch "/Applications/Espresso.app"
...
Should also work on windows!


Best

Klaus

Post Reply

Return to “Windows”