SnYder Posted November 1, 2006 Share Posted November 1, 2006 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 More sharing options...
Moderators big_daddy Posted November 1, 2006 Moderators Share Posted November 1, 2006 I would suggest staying away from using mouse click, instead try to use only the IE.au3 function to accomplish your automation. If you are having troubles with a specific page post a link or the source and I'm sure we can provide assistance. Link to comment Share on other sites More sharing options...
Locodarwin Posted November 1, 2006 Share Posted November 1, 2006 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 More sharing options...
SnYder Posted November 2, 2006 Author Share Posted November 2, 2006 Thanks for the suggestions. I have been able to accomplish it with Mouseclicks. I do agree that it is probably not the best way but gets the job done. I was able to use one more object ... ".Toolbar=False" 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