Sign in to follow this  
Followers 0
sackjarrow

Suggestions for a better solution..

3 posts in this topic

Hi!
 
I need to copy a word from an e-mail in Outlook 2010 and paste it into a textbox/field in another program.
Problem: The program I'm trying to copy the information into doesn't allow information to be pasted (ctrl+v), only manually entered.
 
My (tidious) idea for a solution:

;so first I copy the first letter of the word in the e-mail that i need and then I run something like this below
If clipget() = "a" then
   send("{ctrldown}v{ctrlup}
elseif clipget()= "b" then
   send("{ctrldown}v{ctrlup}
elseif clipget()= "c" then
   send("{ctrldown}v{ctrlup}
elseif clipget()="d" then
   send("{ctrldown}v{ctrlup}

and basically continue with every letter in the alphabet until I've written the whole word.

This can't possibly be the best solution for this?

Thanks in advance.

Share this post


Link to post
Share on other sites



Hi,

You may be able to retrieve the e-mail using the Outlook UDF.

Concerning the destination app, there must be a more reliable way to paste the data.

Have you tried with the Control* functions? Especially the ControlSetText one?

Br, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

Wow cudos for fast reply, I was actually just about to delete this thread since things just worked themselves out. Turns out it worked by sending "clipget()" rather than just sending "ctrl+v".

I will definitely check out the Outlook UDF anyway!

Thanks and have a nice one!

SackJ

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