Skip to main content
Participant
Jun 2, 2022 10:20 AM UTC
Question

Script to change imported graphics to embedded

A few years ago, someone in this community sent me a script that allowed me to convert the imported grapics in a FrameMaker document to embedded. There were actually two scripts, one that selected each graphic one at a time and gave you the option to emded, and one that embedded all imported graphics in one step. Unfortunately, these scripts have been lost. Does anyone know where I can find a script to do this, or the steps to create this script?

This topic is closed to new replies. Start a new post to keep the conversation going.

24 replies

FrameMaker-dk
Community Expert
Community Expert
Jun 3, 2022 3:19 PM UTC

One of my favourite pet peeves here. Please upvote my suggestion of adding a browse button to the Object Properties Panel when viewing a graphic which has been imported by copy.

https://tracker.adobe.com/#/view/FRMAKER-11783

Translate
Bjørn Smalbro - FrameMaker.dk
Legend
Jun 3, 2022 3:58 PM UTC

Well, not to show off, but that plugin I mentioned above basically gives you a version of that. And a lot more. 🙂

Translate
FrameMaker-dk
Community Expert
Community Expert
Jun 3, 2022 4:16 PM UTC

It does indeed. Excellent plugin!

Translate
Bjørn Smalbro - FrameMaker.dk
frameexpert
Community Expert
Community Expert
Jun 2, 2022 1:15 PM UTC

I don't remember writing a script like this because most of the time, people want to do the opposite: convert imported by copy to imported by reference. I could look at writing a script like this for you that would basically automate the steps that Lin outlined. Please contact me offlist: rick at frameexpert dot com

Translate
www.frameexpert.com
Legend
Jun 3, 2022 10:18 AM UTC

Rick, if I recall, it is just a single call to set InsetFile to an empty string for each graphic. No need to reimport, etc. If I recall.

 

Russ

Translate
frameexpert
Community Expert
Community Expert
Jun 3, 2022 11:37 AM UTC

Let me try it and report back. Thanks Russ.

Translate
www.frameexpert.com
LinSims
Community Expert
Community Expert
Jun 2, 2022 12:32 PM UTC

I can't help with the script, but there is a brute force method that is slightly easier than finding each graphic.

 

  1. Open the Insets pod (View > Panels > Insets).
  2. Change the filter to All Documents (funnel icon on the right side of the pod).
  3. Select an imported image, then from the toolbar click Import New (leftmost icon). The Import window is displayed.
  4. Select Copy Into Document and click Replace.

 

You'll have to do it for each image, but at least you don't have to find each graphic in the document and go through the whole find it/import it/resize it dance.

Translate
Jeff_Coatsworth
Community Expert
Community Expert
Jun 2, 2022 12:00 PM UTC

@frameexpert ?

Translate