PDA

View Full Version : Exiting the Application with HTML or Java?


ajones14
04-18-2003, 12:16 PM
hi,
I am making an application through the internet browser function and wondering if I can insert a command line that will shut the appl. down with using a button in MediaStudio. I tried the "close window" script but that didn't do the trick. thanks for any help!

Corey
04-18-2003, 05:23 PM
yes, make an anchored page link, i..e #exit and then simply use your web browser object's GET PROPERTY > URL action OnNavigateComplete and then you can parse that string using a STRING > RIGHT action and exit if it = "exit". Very easy stuff, might sound hard but if you get in there and try I think you'll find it easy to do.

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)