PDA

View Full Version : launching a pre-sized browser window automatically


Mary Anne
04-07-2005, 04:14 AM
Hi,

I have a folder containing HTML files and swfs. I need to create a single executable out of this folder, and I also need this executable to simply open up a browser window with no menu, no browser buttons, etc. at a set width and height. Is this possible with AutoPlay?

Thank you,

Mary Anne

Corey
04-07-2005, 04:36 AM
Hi. Handling title-free pop-up browser windows can be tricky. By far the best way to handle this is "pure AMS", i.e. create a project with a web object on the page and simply set the PROJECT > WINDOW SETTINGS to flat or bordered. See attached example...

Note, you will have to use ALT + F4 to close the window in the example since there's no title bar... :yes

TJ_Tigger
04-07-2005, 08:43 AM
Here (http://www.indigorose.com/forums/showthread.php?t=10565&highlight=luacom) is a post that describes just how to do that. :) It will require the LuaCOM plugin which can be downloaded for free from IcyNorth (http://www.icynorth.com).

Tigg

Mary Anne
04-07-2005, 11:21 PM
Thank you very much - I will try out both of these things. (Just a small clarification to Corey, though, I do want a title bar - but no other browser controls.)

Mary Anne

Corey
04-07-2005, 11:49 PM
Hi. OK if you don't mind a title bar you could also do this with javascript. See attached example. Hope that helps. :)