ME[MU@Multiple Inputs Form Form!{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil Tahoma;}} \viewkind4\uc1\pard\f0\fs16 \par } )-------------------------------------------------------------------------------------------------------------------------------)XT Multiple Inputs Form - Demonstrates a form with multiple inputs using an .hta file)-------------------------------------------------------------------------------------------------------------------------------) ) What it does:)so This macro generates and calls an HTA (HTML Application) script with multiple inputs and saves the results to)" Macro Express Pro variables.) )Revision History: )TP 28 Dec 2004 - Created by Floyd P Watergil of Macros, LLC for Macro Express 3.5)hd 6 July 2011 - Converted to Macro Experss Pro by Kevin Heaton of Insight Software Solutions, Inc.) ) Notes:)TP 1. The HTA script file and the results file must both be full path file names.) )yu 2. All variables in an HTA script are of a single type called a "variant". We can, however, return variants back to)so Macro Express as actual strings, integers, or decimals because the HTA script generates the Macro Express)@< code. That being said, this example uses only strings.)-------------------------------------------------------------------------------------------------------------------------------))---------------------) Initialization)---------------------)RNGenerate a unique file name to be used for the return file and the HTA script.kyyyymmddhhmmsszzz00000CenterCenter0%TempFilename%>%TempFilename%%TempFilename%mllc%TempFilename%), %MXEFile%%TEMP%\%TempFilename%.mxe))Set the window title.WMultipleFieldWindowTitle5Multiple inputs with Macro Express Pro and HTA script))GC-------------------------------------------------------------------)@< Run the External Script to display the multiple input form)GC-------------------------------------------------------------------LAHTA/HTML %Console%'A %MultipleFieldWindowTitle%
Contact Information
 
 
 
 
Colors



  
General Data
(multiple choices)


  
Tuners


 
 
       
))GC-------------------------------------------------------------------) Display the Results)GC-------------------------------------------------------------------)^ZIf the results file does not exist then there was an error in the HTA script. If the user)UQcancels, the results file is generated but the Macro Express variables are empty.250 %MXEFile%" %MXEFile%1001  %MXEFile%>"%MultipleFieldWindowTitle% Results{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 Tahoma;}{\f1\fnil Tahoma;}} \viewkind4\uc1\pard\lang1033\f0\fs16 FirstName: \f1 %\f0 FirstName\f1 % \par Last\f0 N\f1 ame\f0 :\f1 %\f0 LastName\f1 % \par \f0 Email:\f1 %\f0 Email\f1 % \par Color\f0 s:\f1 %\f0 Colors\f1 % \par Metals\f0 :\f1 %\f0 Metals\f1 % \par Auto\f0 s:\f1 %\f0 Autos\f1 % \par Tuner\f0 :\f1 %T\f0 uner\f1 % \par } CenterCenter36019700)>%"%MultipleFieldWindowTitle% Results{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 Tahoma;}{\f1\fnil Tahoma;}} \viewkind4\uc1\pard\lang1033\f0\fs16 Errors and warnings: \f1 %Console% \par \par \f0 FirstName: \f1 %\f0 FirstName\f1 % \par Last\f0 N\f1 ame\f0 :\f1 %\f0 LastName\f1 % \par \f0 Email:\f1 %\f0 Email\f1 % \par Color\f0 s:\f1 %\f0 Colors\f1 % \par Metals\f0 :\f1 %\f0 Metals\f1 % \par Auto\f0 s:\f1 %\f0 Autos\f1 % \par Tuner\f0 :\f1 %T\f0 uner\f1 % \par } CenterCenter52624900)I4I4I4I4I4I4I4I4I4I4I4I4I4TcNcDcCcConsoleMacroAPPDATATempFilenameMXEFileMultipleFieldWindowTitleFirstNameLastNameEmailColorsMetalsAutosTunerA_MacroFirstTestCoP INI File C:\Users\Kevin Heaton\Doc02rings, integers, or decimals be+0HTML/HTA with VBScript"Wait for the mxe file to be ready."Run the macro to set the variablesThere was an errorAU@H<U@n SȁU@4Q ΁U@&S΁U@TԁU@VԁU@RYځU@<Y