Jump to content
Macro Express Forums

Filling Out Forms Using Variables


mss7

Recommended Posts

I want to know if this is possible or not.

 

I want to run a macro from command line, pass some variable values into it, then I want the macro to open up a form and fill out the form (which has edit fields, checkboxes, drop-downs, etc.) using the values passed in the variables.

 

Example: I pass variable T1=Its hot outside.

If there is a form with one edit field, I want to use the value in T1 to paste it into the edit field.

 

Does anyone know if this is possible? If yes how ?

 

Thanks in advance.

Link to comment
Share on other sites

I wanted to add something.

 

I already know how to pass value into variable and use it to paste it into text box display. But so far I have'nt found anything on how to use the value to paste it into an edit field on a form.

Link to comment
Share on other sites

If there is a form with one edit field, I want to use the value in T1 to paste it into the edit field.
so far I have'nt found anything on how to use the value to paste it into an edit field on a form.
If the value you want to type is in T1 then move to the edit file (using mouse movements or text type commands as needed) and do a TextType: %T1%.

 

I want to run a macro from command line, pass some variable values into it, then I want the macro to open up a form and fill out the form (which has edit fields, checkboxes, drop-downs, etc.) using the values passed in the variables.
This is possible.

 

To run a macro from the command line you do something like the following:

"c:\Program Files\Macro Express3\meproc.exe" /AMacroName

To pass variables into the macro do this:

"c:\Program Files\Macro Express3\meproc.exe" /AMacroName /VT1:Its hot outside

Then add the Variable Restore command in your macro before accessing any of the variables.

 

See http://www.macros.com/help/macexp3.htm for more information about passing variables from the command line.

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.

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

Loading...
×
×
  • Create New...