patgenn123 Posted July 21, 2008 Report Share Posted July 21, 2008 I like how Macro Express can be part of .hta's. I looked at the Hta example in the Third party tool Section of the forum and would like to know HOW "variable set string"-Set value Now can be self contained. How can the string be placed in the Set Value Now section with CRLF's in the string? Any help would be appreciated. Thanks! Pat Quote Link to comment Share on other sites More sharing options...
kevin Posted July 21, 2008 Report Share Posted July 21, 2008 If you examine Floyd's sample macro How To: Multiple Field Input Form Example you will see a Variable Set String %T1% command that has all the CRLF's replaced with the string PGMCRLF. The following 4 lines change the PGMCRLF strings into CRLF's. To create the string for the Variable Set String command, use your editor and replace all the CRLF's with a unique string such as PGMCRLF. Quote Link to comment Share on other sites More sharing options...
patgenn123 Posted July 21, 2008 Author Report Share Posted July 21, 2008 Kevin, I saw that, but for some reason the "editor" idea escaped me. I will try it out. Are you referring to the "DIRECT EDITOR"? Pat Quote Link to comment Share on other sites More sharing options...
kevin Posted July 21, 2008 Report Share Posted July 21, 2008 Are you referring to the "DIRECT EDITOR"No. A text editor. Depending on what program you are using to create your .hta files you may be able to use that program to edit the CRLF's. Another approach would be to save your .hta into a file and write a macro that loads that file and converts all CRLF's into a special string. 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.