Script to assign scaling attributes to picture box needed

Hi everyone. Originally asked this in the InDesign forum but seems it's a task that needs some kind of custom solution so was suggested that I tried here...
I am working on a project where I need to bring numerous links of varying dimensions (Illustrator files in this case) into InDesign at the same scale so that they are proportional to each other.
• I have a master page with four picture boxes that require the contents to be linked in at 5% and two picture boxes that require the contents to be lined in at 10%
• This master page is to be used hundreds of times and I have potential several thousand indivdual links to bring in.
• The pages need populating one at a time and links cannot be bought into InDesign en masse and rescaled together.
It seems that the scale of the placed content should be set as an attribute of the picture box so that anything linked into it comes in at the pre-assigned scale (that the frame also automatically resizes to the content and maintain it's link to the live caption would be a bonus)
Could be looking at lots of repetitive trips to the menu bar if nothing out there. Any ideas appreciated.

Scripting logic can set the scale of any image/graphic after it has been placed into a container… You can change behaviour for empty boxes but a given percentage is NOT one of them… What you should be looking for is to create an Excel or FMP database with page number, image order on page, image scale factor & image file path… Save the data to text file as CSV or TDT. Script can read this data in create new pages off your master as required, place links 6 per page scaling each… It's possible you could do this with one trip to the scripts palette…

Similar Messages

  • How do I get images to automatically center in a picture box?

    How do I get images to automatically center in a picture box (e.g. place a picture box on a master page and set it so that any image placed inside will automatically center, but not scale)? This was a simple procedure in CS5 (set "Fitting Options" to 'center' by clicking on the center box in the 9-box centering tool) but seems to have disappeared in CS6/CC. Am I missing something?

    Hi and thanks. Actually, my problem is with setting the properties of the image frame to 'align center' before an image is placed, allowing me to place large numbers of images and having them automatically center instead of me centering each one manually. Even when I create an object style the frame will not hold any alignment settings and apply them to the image being placed (unless some manner of scaling has been chosen, which is not something I want). There are work-arounds I have used but it would be nice to be able to just put a picture box on a master page, set it to align it's contents to the center and just be done with it . Thanks though.

  • Is there a neater way of referencing these picture boxes?

    I am doing an assignment and I need to setup an array to contain picture boxes, I have managed to do so but it looks incredibly messy and there must be a better way of doing this. 
    this.arrEnemiesForm = new PictureBox[3];
    this.arrEnemiesPanel = new PictureBox[13];
    this.arrEnemiesPanel[0] = this.picBigAlien1;
    this.arrEnemiesPanel[1] = this.picBigAlien2;
    this.arrEnemiesPanel[2] = this.picBigAlien3;
    this.arrEnemiesPanel[3] = this.picBigAlien4;
    this.arrEnemiesPanel[4] = this.picBigAlien5;
    this.arrEnemiesPanel[5] = this.picBigAlien6;
    this.arrEnemiesPanel[6] = this.picBigAlien7;
    this.arrEnemiesPanel[7] = this.picBigAlien8;
    this.arrEnemiesPanel[8] = this.picBigAlien9;
    this.arrEnemiesPanel[9] = this.picBigAlien10;
    this.arrEnemiesPanel[10] = this.picBigAlien11;
    this.arrEnemiesPanel[11] = this.picBigAlien12;
    Any help would be appreciated.

    this.arrEnemiesPanel = new PictureBox[] {
    picBigAlien1, picBigAlien2, picBigAlien3, picBigAlien4, picBigAlien5, picBigAlien6,
    picBigAlien7, picBigAlien8, picBigAlien9, picBigAlien10, picBigAlien11, picBigAlien11
    Armin

  • Single image in multiple picture boxes / shapes

    hi all,
    can anyone help please?
    i have several empty picture boxes (they're irregular shapes and all in close proximity to one another) and a single image.
    i want the image to appear in the shapes, but not repeated. another way to put it - i want the various segments of the image separated with these shapes... However - i want all of the image to be visible - ie where the image ends at the edge of one shape, i want it to continue in the next image without any gap in the image!
    This almost works using Scripts -> Make Grid.... but obviously the shapes I want are all different shapes and sizes, not just a flat grid.
    I've tried pasting the image into each box and moving each around with the direct selection tool till they look right - but it isnt practical. im sure there's an easier way of doing it?
    hope that makes sense!
    thanks very much for your help in advance!!!!

    What did you end up doing?
    I was actually thinking about this this morning and came up with a way to make freeform shapes using the scissor technique and a supplementary drawn path.
    First cut the image frame (and I moved the pieces apart to make it easier to work), then use the Pen tool to draw a random shape path connecting the open end points on one of the pieces, closing the path.
    Now select all the points you just added with the Direct Select tool and copy, then paste a copy. You'll probably see an extra point beyond each of the end points you selected, so delete those, then select the path and Object > Paths > Reverse Path (I'm not certain this is necessary).
    Move the path into the correct position against the other piece of the cut frame, then select both and Object > Paths > Join.

  • Open pdf and display it in picture control or picture box in LV8.5

    Im trying to open a pdf in labview v8.5 and post it in a picture control or picture box (activeX). Any help would be appreciated. thanks.
    M

    mblu,
    Check out these Forums that seem to have figured out how to do this using ActiveX.
    PDF in labview front panel
    Displaying A PDF File on the Labview Front Panel
    Import a pdf document to an active x control
    Ben Sisney
    FlexRIO V&V Engineer
    National Instruments

  • How can we assign one attribute set to multiple business partners at a time ?

    How can we assign one attribute set to multiple business partners at a time ? Is it possible ? Can anyone explain me ?

    Hello,
    please refer to the following thread:
    How can we assign one Attribute Set to multiple Business Partners at a time? Is it possible?
    best regards,
    Johannes

  • EPSs from CS4 artboards appear incorrectly in Quark picture boxes

    I produced a set of maps in AI CS4, then exported the artboards as individual CS3 or CS3 EPS files. When my client opens the files in Quark Xpress picture boxes, they just see a white screen - they have to use the hand tool to drag the drawing within the picture box so the intended artwork comes into view. I tested the files in Quark 6.1 and got the same results.
    Now I used to do this to my client all the time - when exporting FreeHand files to Illustrator (and in fact, before finishing in CS4 I started these maps in FreeHand) I'd leave some stray piece of art by page 1, then when I exported page 5 (saving a copy of the file and erasing all the other pages) the art would appear in Quark with the stray art at 0,0, and the intended artwork waaaay off to the right. Not a nice thing to do to a paying client doing book layout, so I take care not to leave stray art in my final files. And I check in Illustrator for stray art outside the artboard.
    When I open THIS art in CS3 or CS4, and "select all," when I zoom out I find NO stray art that would cause the EPS to offset. All the layers are "on" and unlocked, so there shouldn't be any artwork I would not be able to select. I was under the impression that when "use artboards" is selected during import, CS4's marvelous multiple artboards are supposed to export only what's on the artboard (or overlaps it). And this seems to be the case. But is there some sort of setting or hidden data that didn't get the message?
    In the past when I saved an AI or FH file with stray art as a raster format, theTIFF or JPG includes the entire area with any art in it. When I export these AI files as TIFF they cropped to the artboard. BUT when I email one of the EPSs, Mail displays the image super small and super wide, confirming it thinks there's some stray art or a stray setting.
    If there's some invisible artwork OR improper setting, I haven't found it yet. Any ideas? Has any one discovered a similar problem?
    Thanks!
    P.S. Thanks to JET, Mordy and others for your help figuring out multiple artboards this winter!

    Hi All! Thanks for your feedback, including sloppy art. Some sloppiness is inherent in the process of cobbling together and updating guidebook maps (copying art from better art/overlapping areas rather than redrawing it again) but some is optional. Usually it's findable and fixable.
    Having discovered the problem was related to stray art, and determined it was impossible to erase (i.e. locally buggy) I solved my immediate problem by copy-pasting JUST the art in the artboard onto a fresh page. I had not done this before because I thought AI was UNABLE to paste artwork and copy it to (remember) the layers the art started out on. Turns out it CAN, and has been able to do so for years, but the setting in the layers panel pulldown menu is turned OFF by default. Oh.
    I clicked my ruby red shoes together, turned this setting on, and was able to copy the art, layers and all. Although I was out of the office yesterday, my client was able to fix the rest of the files in-house after I explained where to find this setting.
    In FreeHand the "paste remembers layers" setting is in one of the Preferences panels (another logical place to put it). Figuring such an obvious feature MIGHT exist, rather than looking at AI's preferences panels, upgrade after upgrade, and wondering why Adobe hadn't yet added it, on a whim I looked up "layers" in the index of the Illustrator CS3 Manual, and there it is on page 306.
    (The manual, purchased separately from Adobe, is a fairly handy little book and sometimes it's easier to find stuff that's called by different names than by browsing online help).
    My maps don't use symbol libraries because I started them in FreeHand and some of the source art goes back a good 8 years; redoing the page-sized maps with libraries is arguably less practical than simply maintaining it. I like the directness of grabbing a particular symbol and editing it (even if there is the occasional tradeoff of having to adjust all hundred of them). I do need to play around with symbol libraries - this client has a solid enough set of styles that they'd be a good test case. (I used to work with xrefs in AutoCAD so generally get the concept).

  • Is there a way to change an interactive text field back into a picture box?

    I'm working on recreating an interactive form and I mistakenly made a picture box a text field when I should have turned it into a regular text box.
    I can't seem to find a way to change it back.
    All my boxes are lined up and sized perfectly right now, so I'd rather not have to re-draw the box and re-align and measure everything again if I can avoid it.

    Select text field with Selection tool. Object > Interactive > Convert to Object. Place your picture into the frame.

  • Script without assigning to the output type

    hi
    i have some doubts in scripts ple tell me
    how can we execute the script without assigning the form & print program to output type in nace?

    Please read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting further.

  • In putting together a book I can move photos onto a page and enlarge the picture but is there a way to reduce the picture size? some cases I want a smaller picture and if I change the size of the picture box I only get a portion of the image. I wnt to red

    picture size...in putting together a book I can move photos onto a page and enlarge the picture but is there a way to reduce the picture size? some cases I want a smaller picture and if I change the size of the picture box I only get a portion of the image. I want to reduce the image to fit the size of the box.

    If you right click on the image on the page in the context menu select photo box alignment and then select one of scale to fit {centered, Left-aligned, Right-aligned}
    That should do what you are loking for.

  • How to change picture box into sentence

    I need to make 3 picture boxes disappear when one of them is clicked and a sentence to appear in their place. For example if picture box 1 is clicked they all three disappear and the sentence "you have chosen picture box 1 appears"

    Put a label and three pictureboxes on your form from the Toolbox.
    The code below alters the label for the name of a picturebox clicked on and the picturebox's "disappear". Clicking on the label will make the label text return to "Waiting" and the picturebox's will "reappear". The label is
    centered in the form whenever its text is changed.
    Option Strict On
    Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Me.Location = New Point(CInt((Screen.PrimaryScreen.WorkingArea.Width / 2) - (Me.Width / 2)), CInt((Screen.PrimaryScreen.WorkingArea.Height / 2) - (Me.Height / 2)))
    Label1.Text = "Waiting"
    Label1.Left = CInt((Me.ClientRectangle.Width / 2) - (Label1.Width / 2))
    End Sub
    Private Sub Label1_Click(sender As Object, e As EventArgs) Handles Label1.Click
    Label1.Text = "Waiting"
    Label1.Left = CInt((Me.ClientRectangle.Width / 2) - (Label1.Width / 2))
    PictureBox1.Visible = True
    PictureBox2.Visible = True
    PictureBox3.Visible = True
    End Sub
    Private Sub PictureBox_Click(sender As Object, e As EventArgs) Handles PictureBox1.Click, PictureBox2.Click, PictureBox3.Click
    Label1.Text = DirectCast(sender, PictureBox).Name & " was selected."
    Label1.Left = CInt((Me.ClientRectangle.Width / 2) - (Label1.Width / 2))
    PictureBox1.Visible = False
    PictureBox2.Visible = False
    PictureBox3.Visible = False
    End Sub
    End Class
    La vida loca

  • For an Organization unit, unable to assign Business partners in devlopment box

    Dear All,
    For an Organization unit, unable to assign Business partners in development-box , when i click on assign button
    its navigating to organization unit only (choose relation ship)
    But for production system i can assign the BP with out any issue
    Can u please suggest us, do we have any settings to chose the relation ship as position...
    Please find below screen image for your reference
    Thanks ,
    Rahul Yedapally 

    Vijay,
    There should be some relationship attached to those BP. Select any BP for which you are getting error, go to trx BP --> Open that BP --> then go to "RELATIONSHIP" tab and check. If entries there, you can delete those realtionship and try again.
    Regards
    Pankaj

  • Can InDesign recognise a URL from a PDF within a picture box?

    I want to find out if InDesign can recognise a URL from a PDF which I have pulled into a picture box?
    We are using InDesign and DPS to create magazine apps from PDF pages, a lot of these pages have a lot of URL's which we need live in the app. At the moment we create a hyperlink box, open the pdf from the links window and cut and paste each URL into each hyperlink box.
    Is this the only way or are we missing something??
    Thanks,
    B

    Is there any sort of workaround?
    I was thinking, is there a way to pull the URL's from the pdf's (before importing into InDesign) and then adding them into some sort of list in InDesign, then use the Hyperlinks panel to select the correct URL for the correct Hyperlink box??

  • Applying color to picture boxes with siloed images

    I have picture boxes that contain photos that were siloed in photoshop.
    When I place in InDesign, I want to put a color in back of the image. When I try the color sits on top of the image as well as filling the background
    please advise.
    thanks

    You should be able to colour the picture frame without affecting the silhouette. Select the frame with the Selection tool (black arrow) and pick a fill colour.
    If that's not working for you then perhaps a screen shot showing what you see will help us help you. The image must be hosted online somewhere (not here). I like Photobucket.com, but there's also Flickr and imageshack. once uploaded, enter the HTML to show the image in a new reply.

  • SCRIPT/TRIGGER editor not working correctly - red box - codearea.htc

    Hello,
    I have installed HTMLDB on my computer, and everything works fine, except when I try to edit or create a procedure, script, or trigger, instead of the blue box which allows edit happening it is instead a red box. This box cannot be edited. When trying to compile code already uploaded, a javascript error is produced: Length value is null.
    Please help me. I think that I might have a problem with the type of editor( codearea.htc)

    You will need to setup the MIME types properly in your HTTP server configuration. Please take a look into the Oracle HTML DB Installation guide / chapter 4: Oracle HTML DB post-installation tasks.
    Hope this helps,
    Regards,
    Marc

Maybe you are looking for

  • HP touchsmart applicatio​n download for Windows 7 Home Premium 64

    I have installed a Windows 7 Home Premium 64 on my HP TouchSmart IQ846 Desktop PC. Since i am not eligible for Windows 7 upgrade from HP, I would appreciate if you could provide the link to download the complete touchsmart application.  I do not want

  • Master Suite CS5 Install

    Received the Upgrade CS5 today [May5th]. Spent the day trying to install it. I enter the serial number and then okays it but then said can't find related product..my CS4 Suite. Was on-line 2 times today with people and was told to call the tech line.

  • Trying to download photoshop and premier elements [was:download]

    windows cannot open file with z extension.  trying to download photoshop and premier elements

  • I can download Itunes, but it wont open!!!

    Okay so, I lost my first iPod nano, & 4 x-mas, my mother brought me the second generation iPod nano. Clearly, it has been 6 months since x-mas & all that i have been able to do with it is charge it & play games because i cant get any music on there.

  • Please guide me how PMS Colors can be done in DUOTONE?

    Hello, Good Day I have job having 7 Colors and I have been asked to done it in 5 Colors. (1) Pantone 485CVC (RED) (2) Pantone 356CVC (GREEN) (3) Pantone 116CVC (YELLOW) (4) Pantone 301CV (D-BLUE) (5) Pantone 279C (L-BLUE) (6) Pantone 732C (D-BROWN) (