Jump to content

Recommended Posts

Guest lvandael
Posted

I want to copy the part of a IE-page.

From Mouse Position x: 14 y:227

Up to x: 180 y:315

Can this be done ?

:iamstupid:

Posted (edited)

you can try:MouseClickDrag ( "button", x1, y1, x2, y2 [,speed] )

AutoItSetOption("MouseCoordMode", 1)
MouseClickDrag ( "left", 14,227, 180 ,315 ,0)
send("^c"); copy

edit you might want to add some type of explorer check, like:

AutoItSetOption("MouseCoordMode", 1)
AutoItSetOption("TrayIconDebug", 1)
AutoItSetOption("WinTitleMatchMode", 2)
winactivate("Microsoft Internet Explorer")
MouseClickDrag ( "left", 14,227, 180 ,315 ,0)
send("^c"); copy
msgbox(1,"from explorer",clipget())
Edited by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

  • 3 weeks later...
Guest lvandael
Posted
:D Thanks ... that's It.

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