Jump to content
Sign in to follow this  
yton

me vs. AutoIt during 2 days. Excel-puzzled

Recommended Posts

yton

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 :idea:

--------------------------------------------------------------

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.

Share this post


Link to post
Share on other sites
Fulano

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!

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.