The attached ZIP file includes an FLA with the code below on a button. This launches a URL and then calls browser.exe from the fscommand folder to make any browser windows it finds the topmost windows.
The browser.exe file (in the fscommand folder) is just a renamed copy of my proxy.exe utility that launches a copy of browser.bat (also in the fscommand folder). The BAT file looks like this.Code:test_btn.onRelease = function() { getURL("http://www.northcode.com"); fscommand("exec", "browser.exe"); }
That just calls topmost looking for windows with "Internet Explorer" or "Mozilla Firefox" in their title and makes them topmost. You can add support for other browsers if they have some fixed text in their title bars that topmost can use to identify them.Code:@echo off set repeat=x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x for %%i in (%repeat%) do call topmost Internet Explorer for %%i in (%repeat%) do call topmost Mozilla Firefox




Reply With Quote
