Jump to content

Recommended Posts

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 post
Share on other sites
  • Moderators

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 post
Share on other sites

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 by orbs
Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...