Filename (Short) Variable
Rick Quatro
rick at rickquatro.com
Sat Mar 5 11:22:57 PST 2011
Hi K'Chebe,
There is no way to do this with stock FrameMaker, but it could be done with
FrameScript. Here is how it might work. You would specify a user variable
for the script to use; this could be specified in an INI. For example,
[Settings]
FileNameVariable=ShortFileName
Now when you open or print the document or book, the script will
automatically run and set the value of the ShortFileName variable to the
name of the FrameMaker document without the path or extension. Since the
script is setting the value of a user variable, you are free to use this
variable anywhere you want, or not use it at all. And, because the script
runs automatically, you won't have to think about it once you create the
variable and put it where you want it.
If you are interested in a script like this, please contact me off list.
Please let me know if you have any questions or comments. Thank you very
much.
Rick Quatro
Carmen Publishing Inc.
585-659-8267
rick at frameexpert.com
*** Frame Automation blog at http://frameautomation.com
From: framers-bounces at lists.frameusers.com
[mailto:framers-bounces at lists.frameusers.com] On Behalf Of KGrace
Sent: Saturday, March 05, 2011 12:36 PM
To: framers at lists.FrameUsers.com
Subject: Filename (Short) Variable
I would like to be able to incorporate the framemaker file name into the
title of my document. If I make use of the variable "Filename (Short)" I am
able to get the results that I want with the exception of the ".fm" that
comes along for the ride. Does anyone know of an alternate method of
getting the filename returned WITHOUT the .fm extension.
K. Grace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frameusers.com/pipermail/framers-frameusers.com/attachments/20110305/f3a50406/attachment.htm>
More information about the framers
mailing list