Skip to main content
Participant
June 2, 2022
Question

Script to change imported graphics to embedded

  • June 2, 2022
  • 4 replies
  • 1248 views

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 has been closed for replies.

4 replies

Community Expert
June 3, 2022

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

Bjørn Smalbro - FrameMaker.dk
Legend
June 3, 2022

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

Community Expert
June 3, 2022

It does indeed. Excellent plugin!

Bjørn Smalbro - FrameMaker.dk
frameexpert
Community Expert
Community Expert
June 2, 2022

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

Legend
June 3, 2022

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

frameexpert
Community Expert
Community Expert
June 3, 2022

Let me try it and report back. Thanks Russ.

LinSims
Community Expert
Community Expert
June 2, 2022

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.

Jeff_Coatsworth
Community Expert
Community Expert
June 2, 2022