Add hidden data to text file - text

Is there anyway to add a hidden data to the text file.
For example, in the below text -
Add hidden text to file.
I want the text file to only display -
Add text to file.
But I will still have the hidden word in the document, which I can look at as and when needed.

Got the answer to my question
http://techmeasy.blogspot.com/2013/05/hide-data-text-file-without-software.html

Related

get colored text in pdf file

I have a pdf include some MCQ questions and the right answer is colored and underlined
so I want to extract all the answer from the pdf and put them in the last page
I use pyPDF2 to transport the text from the pdf to a text.txt file
now I want to know how to get words in color or underlined from pdf with python
then I can put them in a list and to what I want
so, what can I use in order to do that ?

How do I start the index to a different position in a text file?

What I am trying to accomplish is to extract specific text from a text file.
Currently what this code outputs is that if parsed, it will display extracted text in a messagebox. It will extract the first 500 characters from the text file and display it in a little messagebox.
The problem is that it starts from the beginning of the text file to extract the text. What I want it to do is to search for the text that states "SUMMARY" in the text file and start from there to extract the first 500 characters.
I believe the problem is that I am missing some necessary code and I'm hoping someone can help me provide it for me please.
Dim start_index As String = "SUMMARY"
If parse() Then
MsgBox(tariff.Substring(0, 500))
Else
MsgBox("Failed to parse.")
End If

How do I extract Text from Excel into Text Edit, find text in Excel and replace into Text Edit? Automation

I have a Text file on my Desktop AltText.txt, that contains filenames extracted from InDesign.
I have an Excel file that contains the Alt text descriptions, I typically manuel copy paste from Excel to the Text file.
I trying to figure out if there is more efficient away to get Find filenames in the Excel and extract them to the Text file?
Example of Text File:
Forward Collision Alert-4C.ai
Graphic Number : 1
Lane Keep Assist-4C.ai
Graphic Number : 2
Lane Change Alert-4C.ai
Graphic Number : 3
Example of Excel File:
Column A Column B
Forward Collision Alert-4C.ai Icon of Forward Collision Alert
Thank you,
Sergio
Paste the text in a new excel file. > put this formula in sheet2,A1.
=INDIRECT("Sheet1!A"&1+(ROW()-1)*3,TRUE)
and drag downwards
Hope it helps. ( :

How can I set an index in a file to be edited with Applescript?

As explicitly noted in the title, how can I set a specific index, similar to eof in a text file, so that I can edit text from that point on? If I have a text file of which I want to edit some of the last characters, do I necessarily have to save its contents as a string, edit the string, and write it back to the file?
See the AppleScript dictionary for StandardAdditions, where write and eof are defined. I believe you're looking to write starting at a position in a text file. Note that write starting at will overwrite existing text at that position.

How to import a text log file into a excel columns

I have some data of form
[39645961,-79966658]358920045121212[0.75]2013-01-30 20:47:52
[39646124,-79966771]358920045121212[0.5]2013-01-30 20:47:54
[39646134,-79966733]358920045121212[0.5]2013-01-30 20:47:56
[39646123,-79966723]358920045121212[0.5]2013-01-30 20:47:58
[39646144,-79966724]358920045121212[0.5]2013-01-30 20:48:09
......
How can I import them into an excel file into separate columns. like
39645961 -79966658 358920045121212 0.75 2013-01-30 20:47:52
39646124 -79966771 358920045121212 0.5 2013-01-30 20:47:54
39646134 -79966733 358920045121212 0.5 2013-01-30 20:47:5
Any ideas?
If it's not too frequent task:
Copy-paste the text to Excel (will occupy one column)
Data - Text to Columns (Excel 2003)
Delimiters: Comma and Other: ]
After completing the operations, insert a column after the remaining non-splitted fragment (358920045121212[0.75) and repeat Text to Columns for this column only with Other delimiter as [.
1) Copy the data into a text file, like Notepad.
2) Use find and replace to replace bracket characters with a tab character.
You can not directly type a tab character into the replace field, because it will just move your cursor to the next field. To get around this:
Open another Notepad window and press tab, then copy the tab into the replace field of the original Notepad window. Hit replace and repeat this process with space and comma characters.
3) Save and close the notepad file.
4) Open the notepad file in Excel. (choose file, open, and don't forget to change the file type in the open dialog from "All Excel Files" to "All Files"
5) This will open the Text Import Wizard. Hit next, next and finished, and the data should show up in separate columns
If you want to do it strictly in Excel, you will have to extract the individual data elements from each string using a combination of text functions, including SEARCH or FIND, LEFT, MID and RIGHT. The following formulas show one wqy to extract each element from one of the strings, which I have assumed is in A1.
=MID(A1,2,SEARCH(",",A1)-2)
=MID(A1,SEARCH(",",A1)+1,SEARCH("]",A1)-SEARCH(",",A1)-1)
=MID(A1,SEARCH("]",A1)+1,SEARCH("]",A1)+SEARCH("[",MID(A1,SEARCH("]",A1),99))-SEARCH("]",A1)-2)
=MID(A1,SEARCH("[",A1,2)+1,SEARCH("]",MID(A1,SEARCH("[",A1,2)+1,99))-1)
=MID(A1,SEARCH("????-??-??",A1),10)
=RIGHT(A1,8)
You would enter these formulas horizontally to the right of A1, then copy them down.
There is a much simpler way - use a third party piece of software.
The one I used costs me very little for the year, but means i don't need to mess around with trying to get it right.
Its the only tool i found which isn't a monthly subscription as well.
Its a desktop based application.
https://onpage.rocks/product/server-log-tool/

Resources