Sign in to follow this  
Followers 0
Guest lvandael

Select Part Of A Text

3 posts in this topic

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:

Share this post


Link to post
Share on other sites



#2 ·  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.

Share this post


Link to post
Share on other sites
:D Thanks ... that's It.

Share this post


Link to post
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
Sign in to follow this  
Followers 0