AS: setting table properties in ID CS3 invokes odd error message

I'm converting an InDesign CS2 script to CS3 and am having the strangest error. This code used to work in ID CS2 for the selected text frame:
>tell parent story of insertion point 1 of selection
>set theTable to make table with properties {width:gridColumnWidth, body row count:totalGridRows, header row count:0, footer row count:0, column count:totalGridColumns, height:gridRowHeight, left border stroke weight:gridBorderWeight, right border stroke weight:gridBorderWeight, top border stroke weight:gridBorderWeight, bottom border stroke weight:gridBorderWeight, left border stroke type:"Solid", right border stroke type:"Solid", top border stroke type:"Solid", bottom border stroke type:"Solid", space after:0, space before:0}
>end tell
But now it chokes and gives me this strange error:
>Adobe InDesign CS3 got an error: Invalid value for set property 'height'. Expected number or string, but received 21.80909090909093.
Huh? That obviously has to be a number or string, so what's going on? What's even weirder is if I delete all the table properties except for weight and height, the script doesn't give the error. I know I can do this with a table style, but I'd like to understand what the problem is before I take that step.

Shane:
I was completely distracted by another project and am just getting back to addressing this problem. Sorry about that.
Anyway, your suggestion was a sound one: I set the width and height in the first statement, added everything else in a second statement, and it worked perfectly. Thanks! Any idea why I needed to do so?

Similar Messages

  • Events in Table Maintenance - How validate fields and deliver error message

    Simple transparent table.  I have generated one step table maintenance.  I use a view variant to make some fields display only.  I would like to use Events to provide some validation.  For example: If field STATUS = 'T', then field QUANTITY must be > 0.
    So far, I have tried events 05 and 21.  When the user tries to enter a new row, I can issue an error message that is returned to the screen.  The problem is that the screen is no longer typeable, i.e. the user cannot correct the error.  They have to exit and start over.
    Is there a different event or different coding I should provide to open up the screen for typing?

    Hi,
    Tried 'message type 'I' display like 'E''', in event 5 and 21. The non-key fields are now typeable but the validation is not enforced, i.e. you get a message that you must enter a QUANTITY but you can save the row without entering a QUANTITY.
    Yes I was afraid of that... that's why I would use the event 01 (with 05, if user still tries to save invalid entries, 01 will block). Normally when you get the error and press the ENTER key, you should get back to your table in edit mode... Well this is happening on my system...
    I'll let you know if I got a better idea...
    Kr,
    Manu.
    Edited by: Manu D'Haeyer on Nov 10, 2011 5:01 PM

  • We wiped our PC. Can't activate reinstalled CS3. No error message. Says "wait a moment" or hours.

    We wiped our desktop PC and then reinstalled the programs we still wanted plus Windows 8. We can't seem to activate our CS3 though. I have the number and put it in, but then it goes to a screen that says "wait one moment" and it never progresses. It sits there processing for hours! It's only ever been installed on this same PC before and I don't recall having to reinstall it before. There are no error messages. Any tips appreciated.

    Start here:
    Sign in, activation, or connection errors | CS5.5 and later
    For anything beyond that one would need proper technical information.
    Mylenium

  • CS3 Extended Plugin Error Message

    I'm trying to write a 3D file format plugin for PS CS3 Extended, and whenever I remove
    a certain plugin, U3D.8BI, from the Plug-Ins directory, I always get the error message:
    "Could not complete the New Layer From 3D File command because of a program error."
    when trying to add a new 3D layer with any plugin (.3ds, .dae, .obj, etc..)
    Why is this particular plugin required to be in the Plug-Ins directory?
    It seems like nothing will work if it isn't in there.
    Is this a bug?

    clamscan
    /media/disk/Program Files/Adobe/Acrobat 9.0/Designer 8.2/plugins/GuideBuilder/redist/dotnetfx.exe: Broken.Executable FOUND
    /media/disk/Program Files/Adobe/Acrobat 9.0/Designer 8.2/plugins/GuideBuilder/redist/dotnetfx.exe: moved to '/media/disk/clamscan/dotnetfx.exe'
    /media/disk/Program Files/Adobe/Acrobat 9.0/Designer 8.2/plugins/GuideBuilder/redist/ES/langpack.exe: Broken.Executable FOUND
    /media/disk/Program Files/Adobe/Acrobat 9.0/Designer 8.2/plugins/GuideBuilder/redist/ES/langpack.exe: moved to '/media/disk/clamscan/langpack.exe'
    /media/disk/Program Files/Adobe/Adobe Bridge CS4/Adobe3DAndVideoServer.exe: Encrypted.Zip FOUND
    /media/disk/Program Files/Adobe/Adobe Bridge CS4/Adobe3DAndVideoServer.exe: moved to '/media/disk/clamscan/Adobe3DAndVideoServer.exe'
    /media/disk/Program Files/Adobe/Adobe Photoshop CS4/Plug-ins/File Formats/U3D.8BI: Encrypted.Zip FOUND
    /media/disk/Program Files/Adobe/Adobe Photoshop CS4/Plug-ins/File Formats/U3D.8BI: moved to '/media/disk/clamscan/U3D.8BI'
    Why is U3D.8BI encrypted. I agree that CS should handle a missing plugin with grace.

  • CS3 - Getting Multiple Error Messages Related to Javascript/Spry/XSLT

    In the last couple of days, I have been getting endless error messages from DW CS3. Messages like:
    Javascript error while executing onLoad in PageManager.
    Spry.htm has configuration that is invalid.
    XSLT.htm has configuration that is invalid.
    Also, my Undo doesn't work anymore.
    I am NOT trying to make any fancy pages with Javascript, Spry, XSLT, or anything to that effect. Mostly, I just make basic HTML pages.
    I'm guessing that something has been accidentally turned on that is not supposed to be turned on. How do I turn it off? (And get my Undo back?)
    Thanks!

    Have you tried this KB article?
    Troubleshooting JavaScript errors in Dreamweaver

  • Setting Table Properties?

    I hae been messing around with CSS recently and had encountered a problem. How can i change the color, thinkness of the lines and shadow of the 'dividers' in the table? Since CS4 only allowed this to be done in CSS, I have totally no idea how this can be done. Help anyone?

    You can see the color and thickness of table borders, but not shadows (well the newer CSS can though it's not supported in all browsers as yet), in which case you will need to use background images.
    As already mentioned, if you can provide an example of what you want to achieve, maybe people can explain how it's done  :-)
    Nadia
    Adobe Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

  • Set table properties

    This question was posted in response to the following article: http://help.adobe.com/en_US/dreamweaver/cs/using/WS50742BC8-C9CB-4694-9EF7-14CC94C8D9E1a.h tml

    Not giving us much to go.
    Cell padding works fine.
    What version of DW are you using and on which operating system?
    Can you explain what you're doing and what's not happening as you expect it to?

  • Illustartor CS3 wont open - error message

    Everytime i open illustator, it gets to the the open file page and then immediatley shuts off. i tried disabling all fonts and restarting my computer but with no luck.
    What do i do?

    Glamour,
    Probably, this is more complicated than a simple preference corruption, but you may rule that out in the following way:
    To restore the preferences, you may either Ctrl/Cmd+Alt/Option at startup, or Move the folder with Illy closed. The latter is recommended here because it is reversible and takes care or more issues, but requires a greater effort, especially the first time used. See explanations in the latter.
    If you have Vista, remember to reboot before waking the beauty from her sleep. Reinstalling does not replace the preferences.
    When it is not something in the Adobe Illustrator CS3 Settings folder, it may be (with tests):
    1. Corrupt font(s): you may move all fonts out of the Windows fonts folder (and move them back in);
    2. Firewall interference (especially if more than one is running (XP SP2 adds one if activated)): you may turn them off (and on again);
    3. Some versions of Acrobat generate many temp files. Too many (64K) causes the problem: you may search and destroy Temp files;
    4. Some other inconsistency caused by Adobe Acrobat/Reader: you may try uninstalling and reinstalling (a newer version).
    5. Incompatible/old printer definition file for the default printer: you may upgrade the driver, change the default, or set the PostScript driver/PDF to default;
    6. Using a US/English version of Illustrator with Windows set to a different language: you may enter Control Panel>Regional and Language Setteings and change to English (and change back).
    7. Quicktime/iTunes: uninstall Quicktime and make sure the Quicktime folder is deleted in the Program Files folder; and/or uninstall iTunes.
    If none of these possible solutions work, have you made any (other) changes to the PC between succes and failure? New software loaded?

  • When setting up my Time Capsule I get an error message that another device is using my computer's IP address.  What can I do about this?

    When I am setting up my new Time Capsule I get a pop up window that says another device is using my IP address and I have to change it.  My time capsule will not work or connect to the Internet.  I assume that is why.  Everything is plugged in as should be.  I also have a wireless DVD player and my DISH network plugged in to the Ethernet of the Time Capsule.

    You need to do the setup of the TC before you plug it into the network.. you obviously already have a router, so set the TC up as bridge device.. in airport utility/internet tab/connection sharing.. off bridge mode.. then you can plug it into the network and whatever is main router will do its job properly.
    If this is not the case, then you have a static IP setup somewhere.. or another dhcp server.. track down and remove it.

  • Have a new imaq apple migrated all info from old line but my cs3 gets an  error message

    The message when I tried to open CS3 is that Licensing for this product expired. Appears my version for CS3 is an upgrade from my old CS2 which I no longer have. Adobe chat,  after many hours says that without the original CS2 cd try dragging from my version to the desktop and try from there. Problem now is it gets same error BUT cannot eject cd as its says PS in use.
    Cannot seem to quit as cannot find an open PS
    What key on restart do I press.
    Message was edited by: delboy 1

    Migration assistant doesn't move all the necessary files.
    You really need to reinstall your Adobe apps on the new system to get all the support files in the right place (and with the right permissions).

  • I tried to set up my new ipod shuffle and a error message popped up saying Ipod not found cannot update.  I can't sync my ipod now but it is showing on itunes.  What should I do?

    I bought a new 4th gen ipod shuffle and tried to sdet it up last night.  I installed the latest itunes software and started to sync my ipod, but error boxes kept popping up saying ipod not found cannot sync.  It was showing in itunes, then it would disappear, then it would come back.  I am not very good with computers so I don't know what to do.  Can someone help?

    Do you have an iCloud backup?  If you backed up your old phone to iCloud you can go to Settings>General>Reset>Erast All Content & Settings (which will erase your phone), then go back through the setup screens again and when prompted choose Restore From iCloud Backup.  However your backup won't contain everything in your iTunes library (such as your music) so you'll need to be able to sync with your computer unless you purchased everything from iTunes and want to redownload it to your phone.

  • Running Mavericks, I was trying to get messages to run ICQ and apparently I changed a setting that now causes me to get an error message and shuts messages down.

    I am running Mavericks.
    I was trying to get "Messages" to play nice with ICQ. it was sending HTML format to the receiver on the other end.
    I saw online how to change the item typed to show up as plain text on the for the recipient.
    Unwisely, I didn't follow ALL the instructions (where it told me to make a copy on my desktop "in case" and I changed one of the settings incorrectly.
    Now when I try to start Messages up, it opens briefly, then says it encountered an error and needs to shut down.
    I can remove Messages, but before I do, I can't seem to find a place to re-download it.
    Any suggestions on the best way of handling this?

    Hi,
    Once you get to Lion (OS X 10.7) and higher the only way is to Restore the whole OS as several Apple App are included this way and are not available separately.
    It should be just the .plists that are involved.
    The com.apple.imagent.plist holds the account info as it provides a "listening" function on all logins before your start up the app.
    I would delete this one as well.
    If that does not work repeat the process and delete com.apple.ichat.plist itself.
    7:20 pm      Monday; March 24, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • When following your instructions on setting a blank new tab, I get and error message "invalid url", even though the sting entered in the config is as you state.

    I would like a blank new tab to open, but have followed the help guidance to modify the about:config.
    However, for all strings shown, I get a consistent error message "invalid url", even though the string has been copied correctly.

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • On a new setup I get error message "'could not activate this table (3001)''

    Hi,
    I am busy setting up my new playbook and get an error message on the software update screen: "'could not activate this table (3001)'' please try changing your settings.
    What settings am I meant to change?
    There is a button for settings and when I press this, the playbook takes me back to the connect to WI-FI screen. The WI-FI screen shows that I am currently connected. When I click on hotspot setup, the screen comes back and says I am already connected to the internet.
    Can anybody please assist me to complete my setup so that I can start using the playbook?
    Looking forward to your feedback
    Thanks a stax

    Or, you can find a local UNsecured hotspot not requiring a login or password. Like a McDonalds.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Error message table

    Hi All,
    While loading data, sometimes error like 'Error 5 or Error 4 in Update rule' comes,  In which table i can check this kind of error messages?
    Thanks in advance!!!!

    Post Author: colin mackenzie
    CA Forum: Authentication
    Hi Giovanni.
    This post of yours is going on 2 weeks old.
    Have you solved your problem?

Maybe you are looking for

  • How to install SQL server 2008 express on Windows server 2008 R2 standard OS

    Hi, I have Windows server 2008 R2 Standard edition (64-bit) and trying to install SQL server 2008 express edition since I do not have SQL server 2008. When I install it I am unable to see Management Studio so I am trying to install management studio

  • Re: Mid Payroll Period

    Hi to All Peers, Has any one came across the mid payroll period and done the run in the month of March & April for Payroll India???? My clients payroll dates are from 21.xx.xxxx to 20.xx.xxxx of every month. I am getting an error in the period for Ma

  • I want to learn deutsch

    I am taking A1 kurs and I want some help, my id is lazybug9

  • Workbench doesnt save or create toplink.xml

    Hello, i'm using the latest patch (9.0.4.8) and when i try to create the deployment xml for the current loaded toplink project no new <projekt>.xml file will be created. With the toplinkmw.jar from the 9.0.4.7 patch it works fine. Regards Dirk

  • ME2L Problem

    Hi All ME2L report is not giving any ouput. its coming blank When i am using Scope of List as ALV Plz advice Regards Arun