Jump to content

automatic click-script for internet explorer


Maus
 Share

Recommended Posts

hi!

I created a script for internet explorer that visit some pages an help me to receive actual stats to my email-mailbox.

Run('C:\Programme\Internet Explorer\IEXPLORE.EXE')
WinWait("about:blank - Microsoft Internet Explorer","")

Sleep(1000)

For $i = 118 to 1 Step -1
; click into the address bar of internet explorer
MouseMove(133,104)
MouseDown("left")
MouseUp("left")
; is a HTML script that manage the many homepage-addresses (only HTML is easy for me :-D )
Send("D:\Tools\autoit\scripts\test.html")
Send("{ENTER}")

Sleep(1000)

; this line copy the first line from the rotating HTML scrip
Send("{CTRLDOWN}a{CTRLUP}{CTRLDOWN}c{CTRLUP}")
MouseMove(133,104)
MouseDown("left")
MouseUp("left")
; here it past the URL to the internet explorer address bar and visit the site
Send("{CTRLDOWN}v{CTRLUP}{ENTER}")

Sleep(15000)

; validation to get a email with actual stats
MouseMove(939,402)
MouseDown("left")
MouseUp("left")
Sleep(15000)
Next

this script is working and helps me very much... but it isn't comfortable.

I can't do other things on my PC when the script is running and the wating times with "Sleep(15000)" are needless long.

have you perhaps improvement suggestions for this script, please?

(I'm so very sorry for my bad english)

bye maus

Link to comment
Share on other sites

look at _IE* , they're what you need for

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Link to comment
Share on other sites

thanks.. but I get more than 1000 results with the forum search.

and in the help-file in my language aren't _IE entries.

can you help me a little more please? becaus my english is badly :D

I know it's insolently to write this in an english forum.. sorry.

Link to comment
Share on other sites

Look in the helpfile - User Defined Functions, IE Management. Or look in the helpfile Index for _IE.

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

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