Embedding linked graphics
Is there any quick way to change a linked graphic to an embedded graphic in FrameMaker? Currently using FrameMaker 10.
Is there any quick way to change a linked graphic to an embedded graphic in FrameMaker? Currently using FrameMaker 10.
You could try the following script, which operates on the currently-active document. Before you do, please note the following:
- It is generally considered a regressive step to remove file system references from imported graphics. In other words, conventional wisdom would suggest that you are doing damage to your files. I'd recommend backups.
- I just slapped this script together using general scripting knowledge. I don't make a habit of breaking references. If this thing does something else unexpected, you are on your own.
Russ
| var counter = 0; | |
| var graphic = app.ActiveDoc.FirstGraphicInDoc; |
| while(graphic.ObjectValid()) | ||
| { | ||
| if(graphic.constructor.name == "Inset" && | ||
| graphic.InsetFile != "") | ||
| { | ||
| graphic.GraphicIsSelected = true; | ||
| graphic.InsetFile = ""; | ||
| graphic.GraphicIsSelected = false; | ||
| counter++; | ||
| } | ||
| graphic = graphic.NextGraphicInDoc; | ||
| } |
| alert("Script complete. " + counter + " graphic(s) converted."); |
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.