KNnot Posted June 26, 2011 Posted June 26, 2011 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?
Developers Jos Posted June 26, 2011 Developers Posted June 26, 2011 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 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
KNnot Posted June 26, 2011 Author Posted June 26, 2011 (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 June 26, 2011 by KNnot
water Posted June 26, 2011 Posted June 26, 2011 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
KNnot Posted June 26, 2011 Author Posted June 26, 2011 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.
somdcomputerguy Posted June 26, 2011 Posted June 26, 2011 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.
monoscout999 Posted June 26, 2011 Posted June 26, 2011 (edited) clipget() and clipput() will help you too... Edited June 26, 2011 by monoscout999
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