Jump to content
Sign in to follow this  
tekhed

Copy data from one program and paste in another...

Recommended Posts

tekhed

New to autoIT, have done simple login scripts, but I would like some advice on a larger problem I'd like to solve, and if autoIT is even the best solution. I frequently have excel spreadsheets with data in specific columns I need to paste or type by hand into an web browser's input field. I've mapped out instructions for autoIT (pseudocode), but am having a hard time figuring out specifics of switch back and forth between programs. For instance, copying cell "B4" in excel, switching to IE, pasting the data, using {TAB} 3 times, switching BACK to excel, copying cell "C4", switching to IE, pasting the data, using {TAB} 5 times, lather, rinse, repeat.

Anyone have any suggestions on getting this done in autoIT?

Thanks,

Mike

Share this post


Link to post
Share on other sites
this-is-me

Use Winactivate to switch, send("^c") for copy and ^v for paste.


Who else would I be?

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.