Skip to main content
Participant
February 2, 2017
Question

Why no Find/Replace a variable with a variable?

  • February 2, 2017
  • 1 reply
  • 1457 views

Seems like a crazy omission! Why is there not the ability to do a Find/Replace a variable with a variable? There is the ability to run Finds for a particular variable name (although you have to type in the variable name - why not have a drop-down list of all the currently defined variables so you can select the variable you want to search for?), but there is no option to replace a found variable with another (different) variable.

In my particular case, a predecessor created variables that included product version numbers in the variable name. When a new version of the product came out, a new variable, with the new product version in the name, was created and applied to each occurrence of the variable for the previous version. That, of course, completely negates the purpose of variables! I'm trying to genericize these variables so there is one Product Version variable to deal with. However, having created the generic variable(s), there is no way in FrameMaker to Find the old variables and Replace them with my generic variables.

This seems like a major oversight in the FrameMaker Feature Set. Please address!

This topic has been closed for replies.

1 reply

Barb Binder
Community Expert
Community Expert
February 2, 2017

but there is no option to replace a found variable with another (different) variable.

Are you aware that you can copy the new variable into the clipboard, and then use By Pasting as the replace?

~Barb at Rocky Mountain Training
Inspiring
February 2, 2017

To add to Barb's reply, suppose you want to replace one variable defined to be the product name and the version with two variables: one for the product name and one for the version. All you need do is:

1) Define both new variables

2) Find one occurrence of the old variable and insert the two new ones in its place.

3) Select the two variables you have just inserted.

4) Do a global find/change by pasting

5) Delete the original variable.

           --Lynne

P.S. Barb, do you have a Lab?

Barb Binder
Community Expert
Community Expert
February 2, 2017

Hi Lynn!

I do have two dogs at my feet, but no Labs. I usually grab student materials/demo files for my forum screen shots to protect the confidentiality of client files.

~Barb

~Barb at Rocky Mountain Training