RE: Identifying embedded screen shot names in FrameMaker

Subject: RE: Identifying embedded screen shot names in FrameMaker
From: "Daniel Feiglin" <daniel_f -at- radwin -dot- com>
To: "kalpana thakar" <k_thakar -at- yahoo -dot- com>, "Techwr-l" <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Thu, 1 Dec 2011 15:13:45 +0200

The simple answer is, that you cannot.

The moment that you embed any files by value (content) rather than by reference (link), the link information is lost forever. To see what I mean, open a new FM document, embed a graphic and save the file as a MIF file. Open the MIF file with a text editor and search for all or part of the embedded file name. It won't be there.

Now for dirty tricks:
If you have a friendly FM script wizard handy (FrameScript or the new FM 10 built-in scripting feature), create a script that picks up Frame objects of the correct type. Here is a little example:

<AFrames
<Frame
<ID 1>
<Unique 998352>
<Pen 15>
<Fill 15>
<PenWidth 1.0 pt>
<Separation 0>
<ObColor `Black'>
<DashedPattern
<DashedStyle Solid>
> # end of DashedPattern
<RunaroundGap 6.0 pt>
<RunaroundType None>
<Angle 360.0>
<ShapeRect 2.45834" 1.16667" 3.58332" 1.32292">
<BRect 2.45834" 1.16667" 3.58332" 1.32292">
<FrameType Below>
<Float No>
<NSOffset 0.0">
<BLOffset 0.0">
<AnchorAlign Center>
<Cropped Yes>
<ImportObject
<Unique 998351>
<Fill 7>
<RunaroundType Contour>
=FrameVector
&%v
&<MakerVector5.0>\x0100000001500200000010000000000000000001480000006F000020000000
&040000000021000000010F22000000010F860001AAD9000000000000000001480000006F00000059
etc, etc.
&D2E74D2234D34D2234D34D2234D34D2234D34D2234D34D2234D34D2234D34D2234D34D2234D34D22
&34D34D2234D34D2234D34D227FFFD9\x
=EndInset

<ImportObFile `2.0 internal inset'>
<ShapeRect 0.08333" 0.08333" 3.41666" 1.15625">
<BRect 0.08333" 0.08333" 3.41666" 1.15625">
<BitMapDpi 96>
<FlipLR No>
> # end of ImportObject
> # end of Frame
> # end of AFrames

The image is all the hex stuff between &<MakerVector5.0>\x and the closing \x.

You need to save each one as a JPG or PNG file (I'm not an expert scripter so I can't say how) and then replace each picture in place by reference.

As proof of concept, I saved the embedded graphic in my example to the clipboard, pasted into my favorite graphics viewer, saved it (as junk.png) and then imported it back by reference into the same anchored frame from whence it came. Here is what that chunk of our MIF like looks like now:

<AFrames
<Frame
<ID 1>
<Unique 998364>
<Pen 15>
<Fill 15>
<PenWidth 1.0 pt>
<Separation 0>
<ObColor `Black'>
<DashedPattern
<DashedStyle Solid>
> # end of DashedPattern
<RunaroundGap 6.0 pt>
<RunaroundType None>
<Angle 360.0>
<ShapeRect 2.45834" 1.16667" 3.58332" 1.32292">
<BRect 2.45834" 1.16667" 3.58332" 1.32292">
<FrameType Below>
<Float No>
<NSOffset 0.0">
<BLOffset 0.0">
<AnchorAlign Center>
<Cropped Yes>
<ImportObject
<Unique 998376>
<Fill 7>
<Separation 0>
<ObColor `Black'>
<RunaroundType Contour>
<ImportObFileDI `<c\>junk.png'>
<ImportObFile `junk.png'>
<ImportHint `0001AIDEPNG WIN3 '>
<ImportHint `0001IMAGPNG WIN3 '>
<ImportObUpdater `PNG'>
<ShapeRect 0.09722" 0.09202" 3.38889" 1.13889">
<BRect 0.09722" 0.09202" 3.38889" 1.13889">
<BitMapDpi 72>
<FlipLR No>
> # end of ImportObject
> # end of Frame
> # end of AFrames

Hope that gives you a direction ...

Daniel Feiglin| Technical Writer| RADWIN | t. +972 (3) 769 2827 | f. +972 (3) 766 2902 | m. +972 (52) 3869986 | Skype baba_danny | www.radwin.com

follow us on:  Twitter . LinkedIn . Facebook

-----Original Message-----
From: techwr-l-bounces+daniel_f=radwin -dot- com -at- lists -dot- techwr-l -dot- com [mailto:techwr-l-bounces+daniel_f=radwin -dot- com -at- lists -dot- techwr-l -dot- com] On Behalf Of kalpana thakar
Sent: Thursday, December 01, 2011 10:25
To: Techwr-l
Subject: Identifying embedded screen shot names in Framemaker

Hi,

Could someone please tell me how can I get the names of the screen shots that have been embedded in frame maker files?

It's a 500 page document and all the screen shots have been embedded. I need to know the names of all the embedded screen shots - is there a way that I can get this info?
Regards,
Kalpana.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Create and publish documentation through multiple channels with Doc-To-Help.
Choose your authoring formats and get any output you may need. Try
Doc-To-Help, now with MS SharePoint integration, free for 30-days.
http://www.doctohelp.com

---
You are currently subscribed to TECHWR-L as daniel_f -at- radwin -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-leave -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/daniel_f%40radwin.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwhirl.com/email-discussion-groups/ for more resources and info.

Looking for articles on Technical Communications? Head over to our online magazine at http://techwhirl.com
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Create and publish documentation through multiple channels with Doc-To-Help.
Choose your authoring formats and get any output you may need. Try
Doc-To-Help, now with MS SharePoint integration, free for 30-days.
http://www.doctohelp.com

---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-leave -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwhirl.com/email-discussion-groups/ for more resources and info.

Looking for articles on Technical Communications? Head over to our online magazine at http://techwhirl.com


References:
Identifying embedded screen shot names in Framemaker: From: kalpana thakar

Previous by Author: Re: Re: Need a little help in wording
Next by Author: RE: Need simple, free Windows text editor
Previous by Thread: Identifying embedded screen shot names in Framemaker
Next by Thread: Re: Identifying embedded screen shot names in Framemaker


What this post helpful? Share it with friends and colleagues:


Sponsored Ads