[CS5 Server/JSX] allGraphics parent geometricBounds not working on InDesign Server

Hi,
The following script works fine on InDesign Desktop CS5:
g = app.activeDocument.allGraphics;
for (i=0; i<g.length; i++)
g[i].parent.geometricBounds = [0,0,"150mm","150mm"];
g[i].fit(FitOptions.PROPORTIONALLY);
g[i].parent.fit (FitOptions.FRAME_TO_CONTENT);      
When I run the script for InDesign Sever I get the following error:
Error Number 30614
Invalid object for this request,
g[i].parent.geometricBounds = [0,0,"150mm","150mm"];
Why does .parent not work on the server?

g = myDocument.allGraphics;
for (i=0; i<g.length; i++)
g[i].parent.geometricBounds = [0,0,"150mm","150mm"];
g[i].fit(FitOptions.PROPORTIONALLY);
g[i].parent.fit (FitOptions.FRAME_TO_CONTENT); 
if(myDocument.textPreferences.smartTextReflow)
      vDoc.recompose();
The solution!
Recompose() to automatically insert pages

Similar Messages

  • Photoshop CS5 - colour settings in Print menu not working after update Mac OSX maverick

    After upgrading to Maverick OSX on the iMac printing from CS5 via Epson R3880 is not working correctly. In Print Settings menu the drop downs for Colour and Colour Settings are greyed out. I already re-installed PS and installed the new drivers from epson. Any ideas?

    but after choosing PS manages color, the options in the print menu for choosing color (color or b&W) and color settings are not available anymore. They used to be the last three years I printed with photoshop/epson 3880.
    Instead they are greyed out now.
    attached screenshot:
    Op 30 mei 2014, om 01:47 heeft Chris Cox <[email protected]> het volgende geschreven:
    Photoshop CS5 - colour settings in Print menu not working after update Mac OSX maverick
    created by Chris Cox in Photoshop General Discussion - View the full discussion
    If Photoshop managed color, then the controls in the printer driver are supposed to be grayed out - that's how Apple specifies drivers to work (because only one party should be managing the print color).
    So what you're describing is perfectly normal.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6420209#6420209
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop General Discussion by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • VBA-script not working in InDesign

    Goal: To have text placed from Word formatted in the paragraph styles I like. I receive the text from other authors and they are formatted with standard Word paragraph style formatting.
    Two solutions:
    Format the text in Word (change paragraph styles) using VBA, place/import it and somehow make sure that InDesign uses the styles I already defined in InDesign, not the way that style is defined in Word. I can't figure out how to do this.
    Do the formatting in InDesign, using script. But the VBA-macro does not work in InDesign.
    How may I change the code in order to work in InDesign? The code should look for specific paragraph styles and change them or the style of the next paragraph.
    Sub stilSkifte()
    Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:="1"
    Dim para As Paragraph
    For Each para In ActiveDocument.Paragraphs 'søk gjennom hvert enkelt avsnitt i dokumentet
       On Error Resume Next
        'INGEN MELLOMROM og overskriftene
        If para.Range.Style = "Ingen mellomrom" Then
            para.Style = "Normal"
            GoTo SisteLinje 'Gå til linja i koden som heter SisteLinje, = gå til neste avsnitt
        End If
        If para.Range.Style = "Overskrift 1" Then
            para.Style = "Tittel-små"
            GoTo SisteLinje 'Gå til linja i koden som heter SisteLinje, = gå til neste avsnitt
        End If
        If para.Range.Style = "Overskrift 2" Then
            para.Style = "Ingress"
            GoTo SisteLinje 'Gå til linja i koden som heter SisteLinje, = gå til neste avsnitt
        End If
        If para.Range.Style = "Overskrift 3" Then
            para.Style = "mellomtittel"
            GoTo SisteLinje 'Gå til linja i koden som heter SisteLinje, = gå til neste avsnitt
        End If
        'NORMAL til BYLINE
        If para.Range.Style = "Ingress" Then
            If para.Next.Style = "Normal" Then
                para.Next.Style = "byline1"
            End If
               GoTo SisteLinje
        End If
        If para.Range.Style = "byline1" Then
            If para.Next.Style = "Normal" Then
                para.Next.Style = "byline2"
            End If
               GoTo SisteLinje
        End If
       'Hvis avsnittet er i NORMAL og det neste er...
        If para.Range.Style = "Normal" Then
            '...i NORMAL endres dette til NORMAL M INNRYKK
            If para.Next.Style = "Normal" Then
                para.Next.Style = "Normal med innrykk"
            End If
            GoTo SisteLinje
        End If
    SisteLinje: Next
    End Sub
    I apriciate any suggestions!

    Thank you Kasyan, but it doesn't work as I expected it to. The InDesign style are somtimes overridden, sometimes not. It seems to have something to do with wether the Word-style is based on another Word-style or not. In addition I have my InDesign styles grouped, and when InDesign upon placing a text doesn't find the style on the top level, it imports the Word-style.
    My solution:
    Change Word-styles so they are not based upon another style
    Running the VBA-code in Word
    Placing the text using "Use InDesign style definition" for paragraph and character styles conflicts.
    Editing the imported InDesign styles so that they are based upon and equals the original InDesign style in the respective group

  • Spotlight still not working in inDesign

    Why is it that after nearly TWO years the spotlight function in the open dialogue box is still not working in inDesign? Is this some sort of sick joke from the inDesign programmers? Why can it work when in the PASTE dialogue box but not the OPEN dialogue box? I discovered this fault years ago and wrote about it in length but it has yet to be addressed.

    Thank you Daniel,
    I omitted posting that the Search box in my Systems Preferences Window used to work, so that I do know what to look for: as I type letters the preference panes whose description contains the (partial) word I am typing should be highlighted by an undimmed circle.
    Unfortunately, in my case, the behavior I have is that regardless of what I type in the Search box in my Systems Prefernces Window, no icons are ever highlighted. Indeed, I can type the complete name of a preference pane, for example 'bluetooth', and while my entire Systems Preferences Window is dimmed, neither my Bluetooth preference pane icon nor any other preference pane icon is highlighted through the use of an undimmed circle about it.
    This failure of the Search box in the Systems Preferences Window has been experienced by other people. For example in this forum, viz:
    Reindexed my HD but no Spotlight preference in Preferences
    http://discussions.apple.com/thread.jspa?threadID=876847
    Unfortunately the solution posted in the above thread was to manually delete the ~/Library/Caches/com.apple.preferencepanes.cache and ~/Library/Caches/com.apple.preferencepanes.searchindexcache files. And as I posted I've tried not only manually deleting the above two files in terminal.app, but also deleting all of my cache files through the use AppleJack 1.4.3. Neither steps have returned the Search box in my Systems Preferences Window to working order.
    Alas, I'm still looking for suggestions...

  • Key combination Shift+Alt+Cmd+D does not work in Indesign CC, why not?

    Key combination Shift+Alt+Cmd+D does not work in Indesign CC, why not?

    Is it assigned to something in the shortcut set you are using?

  • Linotype Decoration Pi will not work with InDesign CS6

    Linotype Decoration Pi Font will not work with InDesign CS6. If I buy a new version from the Sdobr store, will it work?

    Has the font ever worked in CS6? If not, did it work in a previous version? Did it ever work in any version of ID using your current OS version? I ask the last question because I helped someone on another forum today that had a font that did not survive migration on their Mac. In their case, the font was selectable but the application would crash exporting to PDF or printing.
    I'm using a PC. It works here.
    It is listed along with the fonts that start with D here.
    Mike

  • Adobe Staff Please Read - Tab Key Not Working in InDesign HTML5 based panel

    Tab Key Not Working in InDesign HTML5 based panel
    Instead of changing focus to next entry field when the tab key is pressed it hides the panel instead.
    UI Nightmare.

    I’m using editable text fields. When I hit tab nothing happens. Focus stays on current text field.
    Mike Baugh • Creative
    Director, Digital Production
    +1 240-662-4442 office
    +1 410-807-1633 mobile
    [email protected]<mailto:[email protected]>
    agency.discovery.com<http://agency.discovery.com/>

  • Re: Parental Control not Working

    FROM A VERY ANNOYED NEW CUSTOMER.  THIS IS MY LAST RESORT BEFORE I CANCEL WHAT APPEARS TO BE A RUBBISH 'PARENTAL CONTROL' SERVICE...
    Brand new BT Infinity 2 Service installed on Wed 28th Jan.  On Fri 30th Jan set router up... logged into bt.com/mybt... first screen showed 'Do you want Parental Controls'  clicked 'Yes please'.  Responding rotating circle stating 'ACTIVATING'.  After a few seconds get standard error message saying 'Sorry, we haven't been able to activate your BT Parental Controls.'
    I reported this on Fri 29th Jan... and now it's Thur 5th Feb and still no resolution.  After numerous phone calls to BT Broadband Help and 'Parental Controls' support, with 5 promises that staff will call me back by a specified time/date (5 of 7 failed to do so)... and now escalated to level 3 issue... it is still not working.
    Reading e-mails on this forum... looks like the service is fundamentally faulty.
    Please advise how you can fix this within 24hrs MAX... or we will cancel our contract on basis BT have failed to provide the services contracted.
    Many thanks for all assistance you can render.
    Solved!
    Go to Solution.

    Welcome to this forum.
    This is a customer to customer forum only,
    This is where customers help each other get the most out of BT products & services.
    I have asked a moderator to provide assistance, they will post an invite on this thread.
    They are the only BT employees on this forum, and are a UK based team of people, who take personal ownership of your problem.
    Once you get a reply, make sure that you are logged into the forum, then click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    For your own security, do not post any personal details, on this forum. That includes any tracking number you are give.
    They will respond either by phone or e-mail within 5-6 working days.
    Please use the tracked e-mail, to reply, not via the forum. Thanks
    This is the form you should see when you click on the link. If you do not see this form, then you have selected the wrong link.
    When you submit the form, you will receive an enquiry number, so please keep a note of it
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • PS CS5 - rounded rectangle and move tool not working..?

    CS5 Photoshop
    I have just noticed that my rounded rectangle tool is not working properly. When I click and drag nothing is visible, when I release it floods my whole image with my selected color. I have tried all of the other tools and they work properly. I have tried restarting, compared settings with other tools, and checked for updates. Nothing is working and any help would be appreciated.
    Also, I have what appears to be a common problem with my move tool. I click, drag, and drop only to have the selected image snap back to its original position. I have an intuos 5 connected, is this the culprit?
    Thanks in advance...

    I can't help with the snap to edge problem, but if you select your rounded rectangle shape tool, and click on the Cog in the Options bar, I suspect you have a fixed size set, and that it is bigger than your canvas.

  • Euclid Symbol Bold and Italic fonts not working in Indesign CS5

    Hi I created some Maths Text books about 5 years ago in an older Adobe Indesign program. I now have to re-edit the files using Indesign CS5.
    The Euclid Symbol Bold and Italic fonts i used back in 2005 now do not display in Indesign 5 when i open up the program. The other Euclid Symbol Fonts do. I think that they are all truefonts.
    I have attached an example.
    I am using a Mac running OSX 10.6.8.
    http://www.dessci.com/en/support/mathtype/tsn/tsn109.htm    <-- this is an error log from 'MathType' the guys who created the font - yet unsure what this actually means for me
    Here is the example
    fonts in the Euclid Family on my Mac

    Congratulations on fixing the problem yourself! Hopefully our article (to which you linked) was of some help in that process. Let us know if you need anything else.
    Bob Mathews
    Design Science

  • Type to selection tool quick command not working in InDesign CC

    When I have the type tool selected in InDesign and hold command for the selection tool, it's not working. When I hold the command button it highlights the selection tool, but as soon as I click my mouse, it reverts back to the type tool. Also, when I change the size of my text box it does not resize the text in the box, even if I hold for a a few sec before moving the cursor.

    @Cindy – usually all 3rd party developers will provide some information for installing and uninstalling their products. First see if you can find some information on their web sites.
    Also there should be a dedicated Adobe Extension Manager app where you can look up the installed parts of InDesign. Since I do not have InDesign CC installed, I do not know exactly, but its name should be something like "Adobe Extension Manager CC".
    If you start this app it will show all parts installed with InDesign (or other apps that are installed).
    Usually at the bottom of the list are the 3rd party installed components. They do not state "Adobe Incoroprate System" as author. Never uninstall (remove) the Adobe ones!
    Here a screen grab from my German Adobe Extension Manager CS5:
    If you select one, a new option is available at the right. In my case here the "Entfernen" button ("Remove" in English).
    Uwe

  • "Place video from URL" not working in InDesign CC 9.1

    Has anyone come across why an H.264 encoded mp4 file won't embed into InDesign CC, but will in CS6? Last week I upgraded from Indesign 9.0 (where it was working) to Indesign 9.1 (where it no longer works). Specifically, I'm using the "Place video from URL" option.
    * I've tried several different servers to host the mp4 file (the servers do work). The mp4 URLs on each server do work in a browser, but not in Indesign CC.
    * I've tried placing the mp4 URL in CS6 and that works fine.
    * I've tried a coworker's Indesign CC, that didn't work.
    * I've tried making a brand new file in Indesign CC, that didn't work.
    I'm running InDesign 9.1 on Mac OS 10.8.5. It looks like Indesign 9.1 broke the "Place video from URL" Does anybody have a fix?
    matt

    Salah, thank you for the suggestion. However, when trying to paste the embed code into the "Place video from URL" field gets the following error, "The URL must start with 'http://' or 'rtmp://' and must end with a valid file extension."
    Using the embed code never worked with Indesign--even before I was having the problems with the URL placement.

  • The Move Tool not working in InDesign CC 2014, no click-and-drag. What Can I do to fix it?

    It just started not working this week. I am unable to click-and drag anything in my document with the Move Tool. I have noticed that I can click-and-drag objects if I switch to the Free Transform Tool. Ok work around for now but I want to fix the issues. I have tried deleting the preferences and reinstalling the program but with no luck.
    Anyone have any suggestions?

    OSX 10.10.1 Yosemite
    iMac (27-inch, mid 2011)
    2.7 GHz Intel Core i5
    4GB 1333 MHz DDR3 Ram
    AMD Radeon HD 6770M 512MB
    I have looked into replacing my preferences but I cannot find a good preferences in which to copy and use.

  • Undo not working in Indesign CC 2014

    My indesign CC is not working with Undo. How do i fix this. Never had a problem with Indesign until now!!! Ever since I updated to Mavericks and CC2014 my indesign is whacky. Also does not update things without saving.

    That's almost always because of system or third party software that's stealing your keyboard shortcuts.
    Check System Preferences > Keyboard > Keyboard Shortcuts. Investigate third party software and browsers that may be operating at the same time.
    If necessary, set up a new user and launch InDesign in the new user to check the problem.

  • Shift commands not working in InDesign CC 2014

    All commands were working fine last week but opened up InDesign today and for some reason all the Shift-based commands are not working properly (i.e. automatically drawing 45 degree angles and proportionally resizing shapes). Working on a Macbook Pro 2012 running Yosemite 10.10.1

    That's almost always because of system or third party software that's stealing your keyboard shortcuts.
    Check System Preferences > Keyboard > Keyboard Shortcuts. Investigate third party software and browsers that may be operating at the same time.
    If necessary, set up a new user and launch InDesign in the new user to check the problem.

Maybe you are looking for