Jump to content
Macro Express Forums

Saving Variables For Later Use


KFOR777

Recommended Posts

I am grabbing an address and breaking it down into 4 separate variables.

STREET

CITY

STATE

ZIP

 

I will need to later retrieved these values in a different macro, however there are other macros that are going to run before I'll need of these values back.

 

I know I cannot use save/restore variables ( or is there a way to save only specific variables?) .

I think I will need to write these out to a separate file.

I know how to get them out to a file however I am not exactly sure how to get them back or if that is even the best way to do it.

 

Could someone please shine some light on this subject?

Link to comment
Share on other sites

There are several ways to save and restore variables. Here is a sample:

// Save / restore all text variables (%Tx%)
Variable Save Text Variables
Variable Restore Text Variables

// Save / restore all variables
Variable Save All Variables
Variable Restore All Variables

// Save / restore a single variable using an .INI file
Variable Modify String: Save %T1% to INI File
Variable Set String %T1% from INI File

// Save / restore a single variable using the environment variables
Variable Modify String: Save %T1% to Environment Variable
Variable Set String %T1% from Environment Variable

// Save / restore a single variable using a text file
Variable Modify String: Save %T1% to Text File
Variable Set String %T1% from File: "T1"

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