Jump to content
Macro Express Forums

add a tab into textfile

Recommended Posts

Macro Express Pro 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



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...