Jump to content
Macro Express Forums

Self Contained HTA


Recommended Posts

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.





Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

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...