Look_Up Posted December 14, 2013 Report Share Posted December 14, 2013 Macro Express Pro 4.5.0.1 with Windows 7 Hello. I need fast help from community. How can add a tabulator into a text file without open the texfile/using any editor ? Here is a sample source code but <TAB> save only the "word" TAB and do not add a tabulator: <VARIABLE SET STRING Option="\x00" Destination="%Logfile_content[1]%" Value="[" NoEmbeddedVars="FALSE"/><DATE/TIME Format="dd'.'mm'.'yyyy hh':'nn':'ss" Flags="\xB0" Date="14.12.2013 04:44:11" Day_Offset="0" Month_Offset="0" Year_Offset="0" Hour_Offset="0" Minute_Offset="0" Second_Offset="0" Left="Center" Top="Center" Monitor="0" Variable="%Logfile_content[2]%" IsDateVar="FALSE"/> <VARIABLE SET STRING Option="\x00" Destination="%Logfile_content[3]%" Value="] <TAB>" NoEmbeddedVars="FALSE"/> <VARIABLE SET STRING Option="\x00" Destination="%Logfile_content[4]%" Value="REALY IMPORTANT INFORMATION" NoEmbeddedVars="FALSE"/> <JOIN STRING Source="%Logfile_content%" StartIndex="1" EndIndex="4" Destination="%Logfile_content[5]%"/> <COMMENT Value="Save content into a textfile"/> <VARIABLE MODIFY STRING Option="\x12" Destination="%Logfile_content[5]%" Filename="%Desktop%\\Logfile.txt" Strip="TRUE" NoEmbeddedVars="FALSE"/> Thanks for your help Look_Up Quote Link to comment Share on other sites More sharing options...
Cory Posted December 15, 2013 Report Share Posted December 15, 2013 You need to create a string variable and set it to the tab character. <VARIABLE SET TO ASCII CHAR Value="9" Destination="%Tab%"/> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.