halcyon627
-
Posts
9 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by halcyon627
-
-
Yes, there are always more than one way to solve a problem lol
For instance, I didn't know how to append a carriage return to a text file, so I made a text file with 2 carriage returns, named it spacer, assigned it to a variable and appended that lol
might be an easier way, but that worked haha
-
2 hours ago, rberq said:
When you code the command " If Variable %T1% contains "S-Shata" ", there is a checkbox option to ignore case.
I feel stupid now lol
i totally missed that checkbox. Cheers!
-
5 hours ago, rberq said:
Try this: Use Text File Begin Process to get each line, sequentially, into a text variable. (One line on each pass through the loop defined by Text File Begin Process / Text File End Process).
When the line is in the text variable (T1 for example), if variable T1 contains "S-Shata" then display the whole of T1 (the whole line) with the Text Box Display command.
Text File Begin Process: "filename.txt"
If Variable %T1% contains "S-Shata"
Text Box Display: %T1%
End If
Text File End ProcessThis worked like a charm! Thanks so much!
I had to tweak it a little bit to allow for multiple search results, but I got those ironed out quick.Do you know if there is a way to make the Text File Process not be case sensitive? If the text isn't EXACTLY the same, it won't get flagged as a result. I can simply Capitalize Each First Letter, but all lowercase would be much quicker productivity wise lol
-
I'm slowly learning more and more about Macro Express 3, and need a little help to fully complete this task I want done.
I essentially have a text file that contains a list of artists/tracks that have already been processed. When it comes time to process new artists/tracks, I want to see if I have done them already by checking it against this file. I know how to search a text file for a particular search string, but what I want to do is display everything on a particular line where matching text is found? For instance... if I search for "S-Shata - My Way", I want it to display the full line where that text is located. I can get the position of the text in the text file, but how does that translate to displaying the full line? I"m sure this is easy, but please let me know!
-
Nevermind, I got this to work and it works perfectly! Thanks so much!!
-
Okay I can definitely try this!
After I use the script editor, where do I paste the code below? Do I paste that using the direct editor?
I hope this works!!
-
I am wanting to be able to count the number of lines in a text file and put that amount into a variable. It seems so simple, but I can't figure it out. Is there an easy way to do this?
-
I want to know if it's possible to make a macro to list out a current set of macros and activations in a given category? I have a list of names of artists and their activations and sometimes the letters double up if two people have the same initials. I would like a way to be able to see a quick list of my current name macros in a popup window so I can best determine how to name subsequent macros to not have any activation overlaps.
Any help you would be greatly appreciated!
Find and display text in a text file
in Macro Express 3.x
Posted
Oh ok! So both our used in conjunction for a single carriage return? That's smart! I tried to go the ascii route but didn't know how to assign it to a variable. This will work splendid