Jump to content

AutoIt Maxthon Nitro browser


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 comment
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 comment
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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...