Jump to content

Select Part Of A Text


Guest lvandael
 Share

Recommended Posts

Guest lvandael

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:

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 3 weeks later...

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