Page 1 of 1

Finding out if my app runs as a web or standalone version

Posted: Sat Apr 30, 2011 10:29 am
by wvtbon
I have written an application that I use both inside a webpage and as a standalone application. I need to use some platform specific code. The application needs to find out if I am running the stand alone version or the web version. The Platform function of LiveCode only returns the platform from which I open the web version and not if I am running the web version or the standalone version.

In what direction should I seek the solution?

Re: Finding out if my app runs as a web or standalone version

Posted: Sat Apr 30, 2011 10:45 am
by Dixie
wvthon...

Look at 'environment' in the dictionary.

be well

Dixie

Re: Finding out if my app runs as a web or standalone version

Posted: Sat Apr 30, 2011 10:50 am
by wvtbon
Great thanks!