Page 1 of 1

Accessing other apps in livecode-made app

Posted: Tue Jan 25, 2022 6:05 am
by Xero
So... I have seen this question asked a little while ago, but not in this context.
If I made an app with something else (Unity, etc.) and made a separate "app" for want of a better term, can I access it from within an app I have made with Livecode.
If I were doing it within Livecode, I would just make 2 stacks, and link them together as substacks, accessing one with an "open stack" command.
Is there any way of opening another standalone stack in that way that would open seamlessly and be able to go back to the original stack?
There has been a suggestion that an app be made and run through html5 on a webpage, and that webpage being played in a browser widget, which may be viable.
I am developing an AR app through Unity which does allow for publishing on their server, so it's a possibility if I have a card with a browser widget that is full-screen, but the webpage would also need to be formatted to be full screen, or you will see all of the other stuff too. Would be better if I could just call up an app to run parallel or within a livecode-generated app.
Else, I just use Unity for go-to-woe app development, meaning I will need to learn it from scratch (which I am doing BTW, it's got some pretty cool AR through Vuforia and 3D capabilities.)
Thanks,
XdM

Re: Accessing other apps in livecode-made app

Posted: Tue Jan 25, 2022 2:58 pm
by dunbarx
I think you may be talking about the "open process" command. Read about it in the dictionary.

Craig

Re: Accessing other apps in livecode-made app

Posted: Tue Jan 25, 2022 7:27 pm
by jacque
The launch command opens apps.

Re: Accessing other apps in livecode-made app

Posted: Tue Jan 25, 2022 7:38 pm
by dunbarx
Jacque.

"Launch". That seems simpler and better. But what is the difference?

Craig

Re: Accessing other apps in livecode-made app

Posted: Wed Jan 26, 2022 12:15 am
by Xero
Thanks guys. I will look them up
XdM

Re: Accessing other apps in livecode-made app

Posted: Wed Jan 26, 2022 12:32 am
by jacque
dunbarx wrote:
Tue Jan 25, 2022 7:38 pm
"Launch". That seems simpler and better. But what is the difference?
As I understand it, which I don't entirely, open process usually is for background processes that are not visible by the user (shell commands, maybe.) The docs say it will also open apps. Launch is just for apps and includes an optional parameter that will open a specific document with the specified app.

Re: Accessing other apps in livecode-made app

Posted: Wed Jan 26, 2022 12:36 am
by FourthWorld
If the Unity part of this is server-side rendered in a browser, couldn't you just display that within your LiveCode app in a Browser widget?

Re: Accessing other apps in livecode-made app

Posted: Wed Jan 26, 2022 4:56 am
by Xero
FourthWorld wrote:
Wed Jan 26, 2022 12:36 am
If the Unity part of this is server-side rendered in a browser, couldn't you just display that within your LiveCode app in a Browser widget?
That's what I am considering. It has a WebGL component that may be able to be be displayed in a browser element. Apparently that's how you do it with a webpage.
XdM