rbam Posted November 29, 2012 Share Posted November 29, 2012 Hi I have a script that reads string into a Notepad file. I have a fixed string which i want to add to pre and post string. Could you please provide me with the function that i should use. Please help. Thanks Link to comment Share on other sites More sharing options...
water Posted November 29, 2012 Share Posted November 29, 2012 (edited) Welcome to AutoIt and the forum! Your post is in the wrong forum - should be the General help and SUpport forum. You will get more help there. Will ask a Mod to move it. Please post what you have coded so far to solve the problem. We will help you with your poblems but we won't provide the for you. Edited November 29, 2012 by water 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...
rbam Posted November 29, 2012 Author Share Posted November 29, 2012 Ok Thanks i will post in the General Forum Link to comment Share on other sites More sharing options...
PhoenixXL Posted November 30, 2012 Share Posted November 30, 2012 please be specific need more information maybe StringRegExp() My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. Link to comment Share on other sites More sharing options...
kylomas Posted November 30, 2012 Share Posted November 30, 2012 (edited) rbam, I have a script that reads string into a Notepad file. Concatenate your string before and after this string and then write to the Notepad file. Look in the Help file for "concatenation". Post your script if you continue to have problems. $my_string = 'Stuff to add' filewrite($hfl, $my_string & ...your existing string... & $my_string) kylomas Edited November 30, 2012 by kylomas Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
admin44 Posted March 18, 2015 Share Posted March 18, 2015 Ok Thanks i will post in the General Forum hi did you make this and if you finished can you share as an exaple to me Link to comment Share on other sites More sharing options...
water Posted March 18, 2015 Share Posted March 18, 2015 Welcome to AutoIt and the forum! The OP has been offline for about 2 1/2 years. So do you think you will get a reply? 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...
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