Miralyon Posted March 12, 2021 Share Posted March 12, 2021 Hi there I would like to open browser called MxMitro reason why I want this browser beacuse he is pepflashplayer plugin and fast browser. I can open browser like this when browser and script in same folder #RequireAdmin Run(@ScriptDir& '\MxNitro.exe') But it just uses as a application can I use it as like other browsers and do like this ? $oIE.Visible = 1 $oIE.Left = 0 $oIE.Top = 0 $oIE.Width = @DesktopWidth $oIE.Height = @DesktopHeight $oIE.Navigate ( "https://www.google.com" ) Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted March 12, 2021 Moderators Share Posted March 12, 2021 Hi, @Miralyon welcome to the forum. If you are using the IE UDF, $oIE is specifically the Internet Explorer object; you cannot use the same parameters for any other browser. You might want to look into the UIAutomation thread (below) for this browser. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
orbs Posted March 13, 2021 Share Posted March 13, 2021 (edited) although the post above is indeed the right way to go for automating programs that do not offer API or any other scripting or automaton capabilities, for this topic specific example you might be satisfied with simple WinMove() for positioning the window or WinSetState() for maximize the window, and passing the desired URL as a command line argument for navigation. Edited March 13, 2021 by orbs Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now