yton Posted April 23, 2010 Share Posted April 23, 2010 Greetings , Frankly, I am a nub in AutoIt. However, I managed to write some scripts and have some experience already and now I'd like to formulate some important Q's regarding it -------------------------------------------------------------- 1) Is it possible (using AutoIt) to fill the clipboard data to a certain column of Excel sheet (to be more precise, csv scheet opened in Excel)? If yes, what functions/macroses I should pay attention to? 2) Is it possible (using AutoIt) to fetch 1st (or 2nd) centence from the text abstract, say, in Word? If yes, --//-- -------------------------------------------------------------- Thank you, I will appreciate your help and advice very much. Link to comment Share on other sites More sharing options...
Fulano Posted April 23, 2010 Share Posted April 23, 2010 1) Loop at ClipGet() and the Excel UDF 2) If it's selected you can use Send ("^c") to copy, then ClipGet() and finally StringSplit() to break it into sentences. Otherwise, there might be a Word UDF, but I don't know off the top of my head. #fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja! Link to comment Share on other sites More sharing options...
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