Guest lvandael Posted March 17, 2004 Posted March 17, 2004 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:
scriptkitty Posted March 17, 2004 Posted March 17, 2004 (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 March 17, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers.
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