Re: Importing single variable values?

2008-01-14 Thread Rick Quatro
Hi Chuck,

My ImportFormatsSpecial plugin gives you separate checkboxes for importing 
user variables and system variables.

Rick Quatro
Carmen Publishing
585-659-8267
www.frameexpert.com


 Esteemed Framers,

 I think I once knew the answer to this question, but it escapes me now,
 and I can find nothing in the Frame documentation: Is there any way to
 import a single or a selected subset of variable values from one
 document to another? I tend to think there is not, that it is
 all-or-nothing, but I thought I'd check to be sure.

 Anyone out there know for sure?

 Chuck Beck

 Sr. Technical Writer | Infor | Office: 614.523.7302 |
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


Re: Importing single variable values?

2008-01-14 Thread Diane Schaefer
Would this also work for importing select paragraph formats?

 

Diane Schaefer

Senior Technical Writer

Sandvine Technologies Ltd.

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

tel. 972-2-540-090, ext. 125

 

 

From: rebecca officer [mailto:[EMAIL PROTECTED]

Sent: Sunday, January 13, 2008 22:22

To: Charles Beck; framers@lists.frameusers.com

Subject: Re: Importing single variable values?

 

Hi Charles

 

If all your system variables have the same value in all files in the
book, you can make an import-from FM file and delete the variables you
don't want, then import variable definitions from that file. Problem is,
you can't delete system variables.

 

But you can with a mif fragment. Create a .mif file by saving from FM,
then gut it in a text editor so that it only has the variables you want
to change. That removes the system variables that you don't want to
change, so you can import into all files in the book. Works beautifully.

You can use it to change just user variables, just system variables, or
a mix.

 

For example, to just change a variable called BookName, one of our mif
fragments has this stuff:

 

MIFFile 7.00

VariableFormats

 VariableFormat

  VariableName `BookName'

  VariableDef `Rapier i Switch Software Reference'   # end of
VariableFormat

 # end of VariableFormats

# End of MIFFile

 

Once you've gutted your mif file, you musn't ever save it from
FrameMaker, or it adds in values for the system variables, and a pile of
other stuff.

 

Cheers, Rebecca

 

 Charles Beck [EMAIL PROTECTED] 14/01/08 16:08 

Esteemed Framers,

 

I think I once knew the answer to this question, but it escapes me now,
and I can find nothing in the Frame documentation: Is there any way to
import a single or a selected subset of variable values from one
document to another? I tend to think there is not, that it is
all-or-nothing, but I thought I'd check to be sure. 

 

Anyone out there know for sure? 

 

 

___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


RE: Importing single variable values?

2008-01-14 Thread frameusers
Hello,

i have a set of FrameScript-scripts for import of many formats (character 
formats, colors, conditional formats, variable formats etc.)

http://framescript.natebus.de/index.php?navi=superimportbundle#ImportSelVarFmt

Best regards
Karsten


Esteemed Framers,
 
I think I once knew the answer to this question, but it escapes me now,
and I can find nothing in the Frame documentation: Is there any way to
import a single or a selected subset of variable values from one
document to another? I tend to think there is not, that it is
all-or-nothing, but I thought I'd check to be sure. 
 
Anyone out there know for sure? 
 
Chuck Beck

Sr. Technical Writer | Infor | Office: 614.523.7302 |
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  

 
___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/frameusers%40natebus.de

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.
___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


RE: Importing single variable values?

2008-01-14 Thread Grant Hogarth
A third variant ---
1. Create and save a new temporary document that has the new
variables/variable definitions that you want.
2. Import *only* the variables from that document into the existing
document/book that you want changed.

Grant

-Original Message-
From: Fred Ridder
Sent: Sunday, January 13, 2008 8:37 PM
To: Charles Beck; framers@lists.frameusers.com
Subject: RE: Importing single variable values?


Chuck Beck asked: I think I once knew the answer to this question, but
it escapes me now,
 and I can find nothing in the Frame documentation: Is there any way to
 import a single or a selected subset of variable values from one
 document to another? I tend to think there is not, that it is
 all-or-nothing, but I thought I'd check to be sure. 
 
 
Are you talking about importing a handful of new variables or redefining
the values for a handful of existing variables?  If it's the former,
there 
is a workaround that isn't too onerous, but if it's the latter there are

only two indirect solutions I'm aware of:
A) script it with FrameScript(fine if you have the tool...)
B) do it as text replacements in MIF (not much easier than doing it
manually, it seems to me...)
 
The workaqround for importing new variables (names not yet defined in 
the target document) is this:
1) In the document that contains the variables, create a temporary 
paragraph that contains each of the desired variables.
2) Copy that paragraph and paste it into the other document. The 
variable names and definitions will be added to that document's
list of user variables.
If any variable's name is already defined in the second document, 
the paste operation will only insert a reference to the existing
variable
without changing its definition.
 
-Fred Ridder 

___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


RE: Importing single variable values?

2008-01-14 Thread Fred Ridder

Diane Schaefer asked:
 
 Would this [importing a MIF fragment] also work for importing 
 select paragraph formats?
 
Yes, it would work for that but there is a much more direct
approach that I think is a lot easier. Just make a special file
(consider it a template since it need not contain any text 
content, although I always recommend using the body of
template files to self-document the template's design and
features) whose Paragraph Catalog contains *only* the 
styles you want to import. Simple and much more foolproof
than poking around in the MIF code, IMO.
 
Note that this is basically the same as the third variant 
technique that Grant Hogarth suggested in his post earlier
today. (I am really embarassed to have forgotten that 
approach when I posted my reply in this thread last evening, 
since I've been using the technique for at least 6 or 7 years.
Must be an early sign of what's-his-name's disease...)
 
Fred Ridder 
_
Watch “Cause Effect,” a show about real people making a real difference.
http://im.live.com/Messenger/IM/MTV/?source=text_watchcause
___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


RE: Importing single variable values?

2008-01-14 Thread rebecca officer
You only need to muck with MIF files when importing variable formats
because FM has this really annoying feature of not letting you remove
the system variables, so a MIF fragment is the only way to make a
template that doesn't have them. That's the problem with the third
variant from Grant and others, and it's only a problem if your system
variables change across the book. Ours did - we changed page number
styles.

With paragraph styles this issue doesn't exist, so you could use MIF
fragments but don't have to. Importing from an FM file is fine and
certainly simpler!

Rick's ImportFormatsSpecial plugin sounds interesting for letting you
separate the system and user variables.

Cheers, Rebecca

 Fred Ridder [EMAIL PROTECTED] 15/01/08 06:56 

Diane Schaefer asked:
 
 Would this [importing a MIF fragment] also work for importing 
 select paragraph formats?
 
Yes, it would work for that but there is a much more direct
approach that I think is a lot easier. Just make a special file
(consider it a template since it need not contain any text 
content, although I always recommend using the body of
template files to self-document the template's design and
features) whose Paragraph Catalog contains *only* the 
styles you want to import. Simple and much more foolproof
than poking around in the MIF code, IMO.
 
Note that this is basically the same as the third variant 
technique that Grant Hogarth suggested in his post earlier
today. (I am really embarassed to have forgotten that 
approach when I posted my reply in this thread last evening, 
since I've been using the technique for at least 6 or 7 years.
Must be an early sign of what's-his-name's disease...)
 
Fred Ridder 
_
Watch “Cause Effect,” a show about real people making a real
difference.
http://im.live.com/Messenger/IM/MTV/?source=text_watchcause 
___
NOTICE: This message contains privileged and confidential
information intended only for the use of the addressee
named above. If you are not the intended recipient of
this message you are hereby notified that you must not
disseminate, copy or take any action in reliance on it.
If you have received this message in error please
notify Allied Telesis Labs Ltd immediately.
Any views expressed in this message are those of the
individual sender, except where the sender has the
authority to issue and specifically states them to
be the views of Allied Telesis Labs.
___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


Re: Importing single variable values?

2008-01-13 Thread rebecca officer
Hi Charles

If all your system variables have the same value in all files in the book, you 
can make an import-from FM file and delete the variables you don't want, then 
import variable definitions from that file. Problem is, you can't delete system 
variables.

But you can with a mif fragment. Create a .mif file by saving from FM, then 
gut it in a text editor so that it only has the variables you want to change. 
That removes the system variables that you don't want to change, so you can 
import into all files in the book. Works beautifully. You can use it to change 
just user variables, just system variables, or a mix.

For example, to just change a variable called BookName, one of our mif 
fragments has this stuff:

MIFFile 7.00 
VariableFormats 
 VariableFormat 
  VariableName `BookName'
  VariableDef `Rapier i Switch Software Reference'
  # end of VariableFormat
 # end of VariableFormats
# End of MIFFile

Once you've gutted your mif file, you musn't ever save it from FrameMaker, or 
it adds in values for the system variables, and a pile of other stuff.

Cheers, Rebecca

 Charles Beck [EMAIL PROTECTED] 14/01/08 16:08 
Esteemed Framers,
 
I think I once knew the answer to this question, but it escapes me now,
and I can find nothing in the Frame documentation: Is there any way to
import a single or a selected subset of variable values from one
document to another? I tend to think there is not, that it is
all-or-nothing, but I thought I'd check to be sure. 
 
Anyone out there know for sure? 
 
Chuck Beck

Sr. Technical Writer | Infor | Office: 614.523.7302 |
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  

 
___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED] 
or visit 
http://lists.frameusers.com/mailman/options/framers/rebecca.officer%40alliedtelesis.co.nz
 

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.

NOTICE: This message contains privileged and confidential
information intended only for the use of the addressee
named above. If you are not the intended recipient of
this message you are hereby notified that you must not
disseminate, copy or take any action in reliance on it.
If you have received this message in error please
notify Allied Telesis Labs Ltd immediately.
Any views expressed in this message are those of the
individual sender, except where the sender has the
authority to issue and specifically states them to
be the views of Allied Telesis Labs.
___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


RE: Importing single variable values?

2008-01-13 Thread Charles Beck
Thanks, Rebecca!

This sounds like an excellent and workable (if a bit roundabout)
solution. I'll give it a try tomorrow and let you know how it goes. 

Thanks again!
Chuck


-Original Message-
From: rebecca officer [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 13, 2008 22:22
To: Charles Beck; framers@lists.frameusers.com
Subject: Re: Importing single variable values?

Hi Charles

If all your system variables have the same value in all files in the
book, you can make an import-from FM file and delete the variables you
don't want, then import variable definitions from that file. Problem is,
you can't delete system variables.

But you can with a mif fragment. Create a .mif file by saving from FM,
then gut it in a text editor so that it only has the variables you want
to change. That removes the system variables that you don't want to
change, so you can import into all files in the book. Works beautifully.
You can use it to change just user variables, just system variables, or
a mix.

For example, to just change a variable called BookName, one of our mif
fragments has this stuff:

MIFFile 7.00
VariableFormats
 VariableFormat
  VariableName `BookName'
  VariableDef `Rapier i Switch Software Reference'   # end of
VariableFormat
 # end of VariableFormats
# End of MIFFile

Once you've gutted your mif file, you musn't ever save it from
FrameMaker, or it adds in values for the system variables, and a pile of
other stuff.

Cheers, Rebecca

 Charles Beck [EMAIL PROTECTED] 14/01/08 16:08 
Esteemed Framers,
 
I think I once knew the answer to this question, but it escapes me now,
and I can find nothing in the Frame documentation: Is there any way to
import a single or a selected subset of variable values from one
document to another? I tend to think there is not, that it is
all-or-nothing, but I thought I'd check to be sure. 
 
Anyone out there know for sure? 
 
Chuck Beck

Sr. Technical Writer | Infor | Office: 614.523.7302 |
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  

 
___


You are currently subscribed to Framers as
[EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to
[EMAIL PROTECTED]
or visit
http://lists.frameusers.com/mailman/options/framers/rebecca.officer%40al
liedtelesis.co.nz 

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.

NOTICE: This message contains privileged and confidential information
intended only for the use of the addressee named above. If you are not
the intended recipient of this message you are hereby notified that you
must not disseminate, copy or take any action in reliance on it.
If you have received this message in error please notify Allied Telesis
Labs Ltd immediately.
Any views expressed in this message are those of the individual sender,
except where the sender has the authority to issue and specifically
states them to be the views of Allied Telesis Labs.
___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


RE: Importing single variable values?

2008-01-13 Thread Fred Ridder

Chuck Beck asked: I think I once knew the answer to this question, but it 
escapes me now,
 and I can find nothing in the Frame documentation: Is there any way to
 import a single or a selected subset of variable values from one
 document to another? I tend to think there is not, that it is
 all-or-nothing, but I thought I'd check to be sure. 
 
 
Are you talking about importing a handful of new variables or redefining
the values for a handful of existing variables?  If it's the former, there 
is a workaround that isn't too onerous, but if it's the latter there are 
only two indirect solutions I'm aware of:
A) script it with FrameScript(fine if you have the tool...)
B) do it as text replacements in MIF (not much easier than doing it
manually, it seems to me...)
 
The workaqround for importing new variables (names not yet defined in 
the target document) is this:
1) In the document that contains the variables, create a temporary 
paragraph that contains each of the desired variables.
2) Copy that paragraph and paste it into the other document. The 
variable names and definitions will be added to that document's
list of user variables.
If any variable's name is already defined in the second document, 
the paste operation will only insert a reference to the existing variable
without changing its definition.
 
-Fred Ridder 
_
Get the power of Windows + Web with the new Windows Live.
http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_012008
___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.