close browser of a web standalone?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Steve
Posts: 30
Joined: Fri Nov 07, 2008 10:46 pm
Contact:

close browser of a web standalone?

Post by Steve » Thu Aug 05, 2010 1:56 am

Greetings,

Is it possible for a Web standalone (i.e., a Revolution stack running via the browser plugin) to not only "quit" the application but close the browser window it's running in?

Currently, the "quit" command just freezes the current card in the browser's window.

I've been exploring shell commands, but have not yet found anything that will accomplish this.

Thanks,

Steve Alessi
Steve Alessi
Associate Professor
The University of Iowa

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10045
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: close browser of a web standalone?

Post by FourthWorld » Thu Aug 05, 2010 2:38 am

I had to so a similar task in straight JavaScript recently (no plugin) and as far as I could turn up it's only possible to close a window from JavaScript if that window was opened by JavaScript (as opposed to the user opening a new window). This may be for security reasons.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply