Sign in to follow this  
Followers 0
KNnot

Copy Pasting

7 posts in this topic

Now that my previous script was successful, now can anyone show me the commands on how to copy some numbers from a text field or a notpead file and paste it in some fields in excel?

Share this post


Link to post
Share on other sites



Think you have the purpose of these forums wrong.

It is to help you with the problems you have with your scripts, not ask others to code it for you.

So, what about doing some research and scripting yourself and come back when you have an issue with your script?

Jos :)


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Think you have the purpose of these forums wrong.

It is to help you with the problems you have with your scripts, not ask others to code it for you.

So, what about doing some research and scripting yourself and come back when you have an issue with your script?

Jos :)

Yes I suppose what you said is correct.

I did some research but could not find any command for copying text.

I would greatly appreciate if you could just name those commands.... ;)

Edited by KNnot

Share this post


Link to post
Share on other sites

By "text field" you mean a GUI you created? Then you should use GUICtrlRead to get the value. To write a value to on Excel cell you could use the Excel UDF and function _ExcelWriteCell.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

By "text field" you mean a GUI you created? Then you should use GUICtrlRead to get the value. To write a value to on Excel cell you could use the Excel UDF and function _ExcelWriteCell.

Thank you. :)

That's what I needed.

Share this post


Link to post
Share on other sites

If it's not your own GUI, but another windows program, ControlGetText will usually work.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

clipget() and clipput() will help you too...

Edited by monoscout999

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