KNnot Posted June 26, 2011 Share 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? Link to comment Share on other sites More sharing options...
Developers Jos Posted June 26, 2011 Developers Share 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. Link to comment Share on other sites More sharing options...
KNnot Posted June 26, 2011 Author Share 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 Link to comment Share on other sites More sharing options...
water Posted June 26, 2011 Share 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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
KNnot Posted June 26, 2011 Author Share 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. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted June 26, 2011 Share 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. Link to comment Share on other sites More sharing options...
monoscout999 Posted June 26, 2011 Share Posted June 26, 2011 (edited) clipget() and clipput() will help you too... Edited June 26, 2011 by monoscout999 Link to comment Share on other sites More sharing options...
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