Jump to content

Internet.Application (Options)


SnYder
 Share

Recommended Posts

Need help! I'm new to scripting in general and very new to AutoIT. I have developed an automation tool for some routine functions that involve using excel spreadsheets and IE. The tool is used by many users and I have run into some problems with mouse clicks. The tool was developed using my desktop and my preferences. I have no control on how other users have their browsers configured (small icons with text or large icons with text, etceteras).

Question: Is there a way I can select how I want the IE browser set up while I run my script (only for the session)? In my code I'm using the following ...

$oIE=ObjCreate("InternetExplorer.Application.1")

With $oIE

.Visible=1

.Left = 0

.Top = 0

.Height=600

.Width=900

.Silent=1

EndWith

Are there any other options where I can say turn off links, make icons small (or the way I want)? This is so that the mouse click is exactly where it is intended. I'm using absolute screen coordinates and have tried the relative screen coordinates without any success.

Thanks for all the help.

Snyder

Link to comment
Share on other sites

Just another voice chiming in to the "stay away from mouse clicks" chorus.

-S

(Yet Another) ExcelCOM UDF"A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly...[indent]...specialization is for insects." - R. A. Heinlein[/indent]
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...