"Whereas unity" during the assignment of the width of column on InDesign Server 2015

I am currently transfer my InDesign scripts to run on InDesign Server 2015, so far all worked well, so far.

When I try to assign a width of a column, I get the following error:

Error string: invalid value for the set 'width' property Unit expected, but received "1.058 mm".

The code looks like this (listTable is my table object and iEigCol a counter in a loop for, so nothing out of the ordinary):

var spacerColumnWidth = 1.058;
listTable.columns[iEigCol].width = spacerColumnWidth + 'mm';

A few lines earlier, I use this:

listTable.columns[0].width = '82mm';

Which works very well.

I already tried these approaches instead:

  • By simply using the number without unit
  • Using an integer instead of a double
  • Concatenating the string before using to assign width
  • With the help of a literal string

so far nothing worked here. Strange thing is that he works on dozens of other columns with the one of the ways mentioned to do.

The exact same script also works very well to InDesign CS5.5.

Any ideas what the problem may be?

Thank you very much!

InDesign does not set a table column width or row height under 1.058 mm (not even in the script). And in the scripts, it will not let you define under 1,059 mm. Try to work with 1,059 mm, and it should work.

Tags: InDesign

Similar Questions

  • How can I incease the width of column in the google search results?

    The search results show all the words and the URL so I want to be able to increase the width of column - I can't see an icon that allows me to do

    The full URL is in the link, and an extension script or a user could replace the short green text (< name > element) with the full link, but I suspect it should be customized wrote, I don't know that you won't find anything in that direction right now.

  • How to change the width of columns in an interactive report?

    I have an interactive report. I want to customize the width of the column in the report. How to get there?

    Thank you
    Jen

    Two things... (1)

     items are for the forum display use only, do NOT copy them to your page in APEX..  2) I have modified your page 23 in your app, I have added the code in the proper location and removed the other code you had in place and copied it to the comments section of page.
    
    Please take a look and adjust the size accordingly..
    
    If this answers your question, please mark the question as answered and assign points where due..
    
    Thank you,
    
    Tony Miller
    Webster, TX
    
    Time flies like the wind, but fruit flies like bananas.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
    
  • Error during the Set Up of Microsoft SQL Server 2012

    I installed Visual Studio 2012 on my system after I installed Microsoft SQL Server 2012. I am getting error while Set Up a Microsoft SQL Server 2012 next:

    Action required:
    Use the following information to resolve the error and then repeat the installation process.

    Ground breaking feature:
    An error has occurred for a dependence of the feature causing the installation process for the feature to fail.

    Error details:
    § Installing the SQL Server 2008 installation media files
    An error occurred during the installation of assembly ' Microsoft.VC80.MFC, version = "8.0.50727.1833", publicKeyToken = "1fc8b3b9a1e18e3b", processorArchitecture = "x 86", type ="win32" '. " See Help and Support for more information. HRESULT: 0X800736B3.
    Error code: 1935

    Snapshot is attached below.

    Help, please.

    SB

    SQL server must question here

  • Question on the definition of the width of column in SQL * more with information recovered w SQL

    Hello

    Is there a way to tell SQL * more to set the width of a column with the largest width of the items in the column? (as opposed to the default which is declared in the DDL width)

    In other words, I would like to do something functionally equivalent to this:

    COL < columname > format [select max (length (< columnname >)) < thetablethatcontainscolumname >]

    I do above manually in two steps

    1. select max (length (columnname)) of...

    2 col columnname format a [resultofstep1]

    Is it possible to do in one step?

    Thank you for your help,

    John.

    Hi John

    I don't think that there is a way to do this, because this information is not known at run time (as you proved it, you must run a separate SQL query first to calculate that information - also, what happens if there are predicates, this could affect the defined result so the request will actually be performed twice). You may decide an arbitrary width for each column and set it as being wrapped/word_wrapped/truncated.

    Other that that, you should consider whther you are using the right tool for the job, SQLplus is not exactly ideal for the presentation layer stuff. Something like APEX would give you much more control over the layout and formatting.

    See you soon

    Ben

  • Drop-down menu in the table of cells - how to develop across the width of column?

    Hello!

    A customer migrate their 2 400 forms of old JetForms as PDF (LiveCycle Designer) and would like to keep the same functionality, so that it is used in the old platform. However, some of the old tool features do not seem to be present in LiveCycle.

    Suppose that a drop down menu in a table cell, containing the elements whose lengths are larger than the column of the table. In JetForm, when you open the drop-down menu that spans the columns to display all of its content, do not cut the contents of the drop-down list.

    I tried this in LiveCycle, but the drop down menu gets cut and its content is limited to the column in the table (where the drop-down menu below) width.

    Is there a way to bypass this limitation, even if I use scripts?

    Thank you for all the ideas!

    Marcos

    Hi Marcos,

    I don't think you will get this works reliably in a table

    Niall

  • Where to save the fonts in CS6 recognize InDesign

    My computer recently crashed and I lost my saved Fonts of InDesign.  I downloaded some third-party fonts, but I can't seem to find out where to save them so that this ID will use the fonts?

    Where should I save the fonts?

    CS6 for windows

    Thank you.

    You must install in Windows, where they become available for all applications, including InDesign.

  • How to expand the width of column padding

    1 have a brochure of 8.5 x 11 with 3 columns.  can not find a way to expand the space inside the column margins.  not sure if I describe it exactly like I do not know the name of the space, I'm expanding. in the image below, it is the empty space between the purple lines.  I thought that might be the gutter, but when I change the numbers on it, nothing happens.

    margins for idd.jpg

    You'll want to change the value while working on the Master Page. And there are a few caveats.

    First, if you have used a block of text type, it has been created as a framework of several column and used the value of gutter, you started with that. The gutter in a span of several column will not change when you change values in column guide. The good news is that if you used a master image, you can enable layout adjustment (layout > setting layout...) and return to the master page, select main text blocks and adjust the value of the gutter in the Options of text block or in the control panel and it will update the pages in a document :

    If you do not use a Master frame, the page layout setting should set individual images as sanp to the column guides (but you must activate the page layout setting before setting the gutter), but will not affect executives multi-column. If your existing images have an object Style, you can modify it and change the gutter, otherwise it is a manual procedure to select managers and change the value of Strawberry as above or assign a style object that has the right options (faster). If you have a recent version of ID, you can use find/change object to find blocks of text with your number of columns and the existing gutters and change wattage you need.

  • Get rid of the edges of the image during the copy of Illustrator in InDesign?

    The outlines of the blue block appear when I copy my simple vector illustration and paste it into InDesign. I tried to, but I'm losing a lot of detail. How can I get rid of the frames?

    You see the edges when you deselect the option? It seems that yoou see the bounding box, which will be for each object.

    And you don't lose detail when plaicng an file, even if your preiew cannot show it. are you affect the performance of high quality display? the default setting is typical, which is a proxy low resolution.

  • I can't find the creator of overlay in indesign cc 2015

    the only thing I can find is overlays/window that gives me a sign that says "coming in summer 2015."

    I've updated to the latest version of 2015 cc.

    I am amazed... any help is appreciated more.

    https://forums.Adobe.com/thread/1872367

  • How can I keep the width of the columns (1) and (2) a header when you replace a table?

    I am trying to format a series of paintings using simple Excel files and two columns that look like this:

    Screen Shot 2015-09-07 at 4.04.36 PM.png

    I have already created a table style, but I find myself relating to two additional steps each time I replace the existing data with a new Excel file:

    Challenge #1: Manually set the width of each column to 3 inches.

    Challenge #2: Manually convert the top row a header.

    Each of these tasks only takes a few seconds to set up, but I'll have to make hundreds of them and the time adds up. Here's my existing workflow:

    1. Select the existing table, properly formatted.

    Screen Shot 2015-09-07 at 4.09.59 PM.png

    2 file > Place... (Replace the item selected and The show Import Options checked)

    Screen Shot 2015-09-07 at 4.10.44 PM.png

    3. import in an unformatted Table using the custom Table Style 1 created for this document.

    Screen Shot 2015-09-07 at 4.08.54 PM.png

    Note: Once fell, the width of the previous columns is lost and there is no identified header:

    Screen Shot 2015-09-07 at 4.08.06 PM.png

    4. I manually adjust the width of the columns to 3 inches.

    Screen Shot 2015-09-07 at 4.08.23 PM.png

    5. Finally, I converted the top row a header.

    Screen Shot 2015-09-07 at 4.08.34 PM.png

    Result is a perfectly formatted table, exactly 6 inches wide, each column taking up half the width.

    Screen Shot 2015-09-07 at 4.08.40 PM.png

    Ideas to keep the width of column after replacing the Excel file and/or fit automatically in the top row, as a header would be greatly appreciated!

    Something like this should do the trick. Copy the script in a text editor, save with the extension .jsx and put in your folder of InDesign scripting. If you do this a lot, it would be useful to assign a shortcut to the script key.

    To use, place your cursor in a table cell, or select a cell or a line and run the script.

    //BS"D
    // Copyright (c) 2015 by www.Id-Extras.com
    // Free to use, but please do not remove this notice.
    myTable = app.selection[0].parent;
    if (!myTable instanceof Table){
      myTable = myTable.parent;
    }
    if (!myTable instanceof Table){
      alert("Select a cell or place your cursor in a cell, and try again");
      exit();
    }
    myTable.columns.everyItem().width = "3 in";
    myTable.rows[0].rowType = RowTypes.HEADER_ROW;
    
  • Where to install the agents?

    Hello

    I now architecture:
    -Server 1 - ODI installed with the Server option
    -Client 1 - installed ODI with the customer option
    -Client 2 - installed ODI with the customer option

    -Server 2 - DB Oracle installed - ODI repositories created
    -3 Server - Oracle DB - source system
    -Server 4 - MS SQL Server - source system
    -5 - Oracle DB server - target system

    I do not know where to install the agents for this architecture:
    -on server 1?
    or
    -on 3 or 4 (source systems) servers
    or
    -the Server 5 (target system)

    What solution will be the best in this case?

    Thanks in advance!

    It is best to install the agent as close to the target as possible. So, in your case, it will be on Server 5.
    In addition, since you don't have only one target, then you have the advantage that you can install only one officer and it works.
    Just keep in mind, that during the installation of the agent on the Server 5
    Server2 and server4 serveur3 must be visible to Server 5.

    To further explain the above statement,
    We have Filesystems FS1, FS2, on which the source files are located.
    And the agent is on ORADB1 that is the target Oracle DB. FS1 and FS2 file systems are visible to the system on which ORADB1 is installed and that is why the agent on ORADB1 can also see file systems and so access the files for processing.

    HTH

  • I get the message that adobe InDesign CC 2015 has stopped working. I updated and rebooted and still not be able to get.

    I get the message "Adobe InDesign CC 2015 has stopped working". I updated and rebooted and still impossible to get. Help me!

    Hello

    See the following topics:

    Adobe InDesign CC 2015 has stopped working

    Adobe indesign cc 2015 has stopped working

    Adobe Indesign CC (2015) has stopped working error

    Let us know if you need additional assistance.

    Kind regards

    Shelly

  • Width of column Explorer too small

    I need to increase the width of column default name in Windows Explorer for every file I opened displays more information. The current default width is currently 200 pixels - way too small for my needs and windows don't do not forget to mount the columns when I select a file later.

    Hi the kiss of death,

    You can increase the width of the selected columns and apply the settings to all files and check.

    1. right click on an empty space in windows explore, click Sort by.

    2. now enter the required in the Pixel size with and click OK.

    Now click on the drop down menu to organize and click on folder and Search Options.

    Click view and click on apply to folders, click OK and check.

    Thank you, and in what concerns:
    Swathi B - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Some of my photos have disappeared during the transition to a new iphone, where can I find them, how?

    Some of my photos have disappeared during the transition to a new iphone, where can I find them, how?

    AlbiinaB wrote:

    Some of my photos have disappeared during the transition to a new iphone, where can I find them, how?

    Transfer the contents of an iPhone, iPad or iPod touch to a new device - Apple Support

Maybe you are looking for