Jump to content
Macro Express Forums

Creating a tree of multiple choices.


tocmo0nlord

Recommended Posts

I am in need of a tree like macro that saves the data and then writes down that was selected.

Example:

 

1a I like

 

2 a Fish sticks

2 b Sticks of fish

2 c Fish

 

 

1 b People like

 

a2 Smiley faces

b2 Weird key chains

c2 powder water

 

This is what i tried

 

<MENU2:2:T:05:CenterCenter:Send a downtime for dumies.Choose!I am a

He is a

We are a><IFVAR2:1:01:1:A><MENU2:2:T:01:CenterCenter:Send a downtime for dumies.Choose!Fish stick

Boom box

Support><ENDIF><IFVAR2:1:01:1:B><MENU2:1:T:01:CenterCenter:Send a downtime for dumies.Choose!Central

NEverous System

Spider><ENDIF><IFVAR2:1:01:1:C><MENU2:2:T:01:CenterCenter:Send a downtime for dumies.Choose!South Park

Touchpass

cellular><ENDIF><REM2:T2 second part><IFVAR2:1:02:1:A><MENU2:2:T:02:CenterCenter:Send a downtime for dumies.Choose!Fish stick

Boom box

Support><ENDIF><IFVAR2:1:02:1:B><MENU2:2:T:02:CenterCenter:Send a downtime for dumies.Choose!Central

NEverous System

Spider><ENDIF><IFVAR2:1:02:1:C><MENU2:2:T:02:CenterCenter:Send a downtime for dumies.Choose!South Park

Touchpass

cellular><ENDIF>

 

but its just a mess, runs into problems on the second click, help?

Link to comment
Share on other sites

To clarify, you have a set of answers/options. and you want people to choose one answer/option and then be presented with the next set, then be presented with a third etc. Then you want to be able to take those results and display them?

 

 

If so i can write you a quick macro that will do that.

Link to comment
Share on other sites

Here is a macro that will do just that.

 

It saves the selections to a variable then displays it at the end.

 

Poll_Macro.mex

 

 

EDIT

 

I looked at your code, and understand what you are trying to do now.

 

I figured out the issue. on the first menu, you have the destination variable set for T5 and the next boxes are doing their logic off of T1. Also, on the first set of option dialog boxes, you have the destination variable set to T1 instead of the T2 that the second set is basing the logic off. and the last set of diag boxes have been changed to output to.

 

Here is the corrected macro

 

variables can be frustrating at first :)

 

tocmo0nlord_Tree_Macro_Fixed.mex

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