Juan-Pablo
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Juan-Pablo
-
-
On 7/24/2010 at 2:00 PM, lemming said:
Hi Terry, I've been testing GNU utilities for Win32 (unxutils.sourceforge.net), which includes classic Unix utilities like Grep, Sed, and Awk. These 3 support regular expressions, and I got them to work with Macro Express Pro.
Â
For your text problem, I wrote an MEP script which calls Sed.
Â
The MEP script is only 6 lines long - all it does is set a working folder, launch Sed, and report the results.
Â
The Sed script which is doing the actual heavy lifting is only 3 lines long! (excluding comments)
Â
All thanks to regex 😉
Â
QUICK START
Â
1. Download Run Sed.mex and Run Sed.zip from here
Â
2. Unzip Run Sed.zip and put the 3 files (sed.exe, Sed_Script.txt, ExampleForCory.txt) into a folder which MEP can read. Take note of the folder path. Also note that Windows 7/Vista will block access to certain folders.
Â
3. Import Run Sed.mex into Macro Express Pro
Â
4. Change the WorkingFolder variable in the script to the full path of the folder which contains the 3 files from Step #2
Â
5. Run the script, and it will process ExampleForCory.txt and report the results
Â
The Sed_Script.txt file has comments which explain the Sed commands. I also learned a lot from this site:
Â
Famous Sed One-Liners Explained
Â
Â
-Lemming
Run Sed.mex 1.89 kB · 20 downloads
Hello there
I wanted to try this method ... but the files aren't available any longer 😞.
Is there a solution to obtain it ... after all these years ?
Â
Thank you for your answer
-
I spent a long time looking at the help and tried in all the menus ...
still can't find how to type an e-mail adress via Macro Express.
Â
When I go to "Text type" in the Script commands,
I can see how to type an Alt-key
but not the Alt-gr-key
Â
and on the other hand, the symbols available don't include the @.
Â
Can anybody help ?
Script to perform Regex operations?
in Macro Express and Macro Express Pro
Posted
Hello Terrypin
yes, these two files.
I tried again this morning, it works 😊.
Â
You were right. Simply, yesterday, I was not properly logged into the forum before trying to download.
Have a nice day