• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

change the content of a user variable across a book

New Here ,
May 10, 2018 May 10, 2018

Copy link to clipboard

Copied

Hi there!

I have a book with several files and want to change the content of a user variable across all of them.

I read some ways to do that in this forum but none of these work for me:

- Doing a MIF snippet doesn't work because I'm using FM 2017 and when I load the MIF, FM automatically adds all the system stuff.

- Importing variables from other file is the same case: it imports all variables (system & user)

- I found FrameMaker Super Find / Change Reloaded script but it only change the first ocurrence of the variable in each file. I don't know why.

Is there any way to do this task?

Thanks a lot for your time

Views

456

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 10, 2018 May 10, 2018

How are you "loading" the MIF snippet? Importing by copy a true snippet (i.e. only the desired variables and nothing else) just adds those variables to the FM file.

There's also Scott Prentice's BookVars plug-in. See: http://leximation.com/tools/info/bookvars.php

Votes

Translate

Translate
LEGEND ,
May 10, 2018 May 10, 2018

Copy link to clipboard

Copied

How are you "loading" the MIF snippet? Importing by copy a true snippet (i.e. only the desired variables and nothing else) just adds those variables to the FM file.

There's also Scott Prentice's BookVars plug-in. See: http://leximation.com/tools/info/bookvars.php

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 10, 2018 May 10, 2018

Copy link to clipboard

Copied

Here's the MIF snippet instructions off the Free Framers list (thanks Richard G. Combs):

This is how you do it:

1. Create a MIF snippet (don't worry, you'll find an example of the

"code" at the end of this procedure).

2. Open the MIF snippet in a text editor and change the variable name or

the variable definition.

3. Open the MIF snippet in FM and import its variable definitions (only

one) into the other FM files.

This is an example of a MIF snippet. You can copy this, paste it in a

text editor and change the variable definition and name.

<MIFFile 7.00> # Generated by FrameMaker 7.0p578

<VariableFormats

<VariableFormat

<VariableName `1-productname01'>

<VariableDef `<Default \xa6  Font\>Adobe FrameMaker<Default \xa6

Font\>'>

> # end of VariableFormat
> # end of VariableFormats
# End of MIFFile

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 11, 2018 May 11, 2018

Copy link to clipboard

Copied

LATEST

Thanks a lot Jeff, it works!

this forum is making my life easier!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 11, 2018 May 11, 2018

Copy link to clipboard

Copied

Thanks a lot! it works!!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines