[CS4 JS] geometricBounds error

Hi all,
Some times myBounds[0] reports 2.27373675443232e-13 instead of 0 as exprected. If I check in InDesign it infact 0.
Has anyone seen this before?
Script:
var myRectangle = app.documents.item(0).textFrames.itemByID(ItemID);
var myBounds = myRectangle.geometricBounds;
if (myBounds[0] == 0) {
     // Do stuff
René

It seems that placing an object with InDesign in coordinates y:0 doesn't necessary means that it in fact is in y:0. It might be  y:0.000000003 which isn't 0. ;o)
I changed my script ho have a small tolerance of a point, that makes it work just fine.
molsted

Similar Messages

  • PHOTOSHOP CS4, windows 7, error 148:3Cannot uninstall or reinstall from disk?

    PHOTOSHOP CS4, windows 7, error 148:3Cannot uninstall or reinstall from disk?

    PHOTOSHOP CS4, windows 7, error 148:3Cannot uninstall or reinstall from disk?

  • Premiere PRO CS4 " unexpectedly quit error" since loaded Sorenson squeeze 8.5 is there a bug fix

    Premiere PRO CS4 " unexpectedly quit error" since loaded Sorenson squeeze 8.5 is there a bug fix

    CS4 is old, and there will be no more updates, past the ones on the update site
    All Adobe updates start here and select product, read to see if you need to install updates in number order, or if the updates are cumulative for the individual product http://www.adobe.com/downloads/updates/
    Ask Sorenson if 8.5 is even supposed to work with CS4

  • Unable to install photoshop cs4 upgrade. getting error message

    unable to install photoshop cs4 upgrade. getting error message

    but the error message says that Apple Power PC apps no longer supported.
    You still need to contact the manufacturer.  You need to determine from them if they have drivers that support the OS that is currently installed on your comp or read the following KB Articles: 
    http://support.apple.com/kb/HT3669 Printer and scanner software available for download
    http://support.apple.com/kb/PH11070 OS X Mountain Lion: Troubleshoot a network printer 
    http://support.apple.com/kb/PH11143 OS X Mountain Lion: Reset the printing system 
    A scanner driver you may wish to consider:  VueScan Scanner Software 

  • CS4 reinstalled with errors?

    I have a PC - Window 7; CS4 standard. Had software since 2009. Indesign started crashing within minute of opening. Tried to troubleshoot; failed. Try to reinstall. Done with errors. Errors as follows:
    x64 Error: Error 2.
    Adobe Extension Manager CS4 Error: Error 2.
    Adobe Flash Player 10 ActiveX Error: Error 2.
    Adobe InDesign CS4 Error: Error 2.
    Adobe Photoshop CS4 Error: Error 2.
    Adobe Photoshop CS4 (64 Bit) Error: Error 2.
    vnx bgndf zgdnz g zfn.
    Deadline in jeopardy. PLEASE HELP.

    Nicole269 I would recommend reviewing the installation logs for the specific error message preventing the installation.  You can find details on how to locate and interpret the installation log files at Troubleshoot installation with install logs | CS3, CS4.  You are welcome to post any specific errors you discover to this discussion.

  • Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.

    Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.  Has there been a fix or patch to this issue or do I have to convert back to CS4 to open the file?

    Having the same problem in CS6.  I can tell you that converting back to CS4 will NOT solve the problem.  It seems when support for backward compatibility is discontinued, there's just no way to get
    any help at all?  Absolute failure to provide any user support so far...

  • How to fix: PS-CS4 Licensing stopped Error 150:30 ?

    "Licensing stopped working" after Library Extensions problem on Mac 10.10.3. HD reformatted from ext HD's Time Machine. PS CS4 gave this error when starting it attempted. (Initially, it wanted Java, which I think has been done. The overall job was done at the Apple Genius Bar.)
    Restarting has been done a couple of times.

    The 150:30 error is a common problem which usually occurs when you recover Photoshop CS4 from a backup or transfer to another computer. The simplest way to clear it up is to re-install CS4. Here is a link to the installers: Download CS4 products
    You can use your discs or the downloads from the provided link. Either way, have your serial number ready...
    If this fails, I am going to direct you to this thread: 150:30 Start at post #11.
    Benjamin

  • Encore CS4 Blu-ray Error: "Fatal Error", Code: "0", Note:''

    Has anyone encountered this: Encore CS4 Blu-ray Error: "Fatal Error", Code: "0", Note:''
    Any ideas on what it means or how to fix it?
    Burning to a BD-R.  Tried two different Blu-ray burners.  Created a Blu-ray Image first.

    For CS4 you must update the Roxio component http://forums.adobe.com/thread/400484?tstart=0
    More on Encore and Roxio http://forums.adobe.com/thread/528582?tstart=0 or direct to
    http://kb.roxio.com/search.aspx?URL=/content/kb/General%20Information/000070GN&PARAMS
    Also, Long File Names or odd characters Cause Crashing http://forums.adobe.com/thread/588273
    And #4 Here http://forums.adobe.com/thread/666558?tstart=0
    And This Message Thread http://forums.adobe.com/thread/665641?tstart=0

  • Adobe cs3 cs4 cs5 permission error under Mac OSX

    When I upgraded my Mac, I just used the time machine to recorver all of my preferences. Everything worked great except for Adobe Illustrator CS3 which would not start (license error).
    I tried removing it and then install version CS4 (genuine copy) and it was not working. After much struggle, I realize the problem was that I did not have writing permission on the file
    /Library/Preferences/FLEXnet\ Publisher/FLEXnet
    Simply try to copy a file to this folder to see if you have the same problem. Whatever I did then, I could not change the permissions to this folder (nor could Adobe special scripts) or the Folder Info panel.
    This folder had extra attribute (@ sign in front of the file name when using a ls -ali in a terminal) and it turned out that these attributes were related to the time machine. I simply put the folder "FLEXnet\ Publisher" to the trash (had to enter the root password) and recreated manually this folder and the FLEXnet subfolder.
    Then both Adobe CS3 and CS4 could run

    I don't see a question in your post... but I feel your FLEXnet pain. At least you didn't have to feed it the serial number off your hard drive.

  • How do I reinstall Adobe Photoshop CS4 - I receive error 6 stating that licensing for this product has stopped working.

    I previously installed Adobe Photoshop CS4 on my Macbook Pro. My hard drive crashed, and I had to get a new hard drive replaced. Now upon trying to reinstall CS4 from a backup copy CD (with licensing, serial number available), I receive an error 6 stating that the "licensing for this product has stopped working". Has anyone experienced this or know how to troubleshoot? Any advice appreciated. Thank you.

    Error "Licensing has stopped working" | Mac OS

  • Photoshop CS4 Extended Graphics Error

    Hello Everyone
    I just recently upgraded to CS4 Master Collection in hopes of using it with my web design job I was hired for. Whenever I go into Photoshop CS4 Extended and I try to "Free Transform" something (an image, a shape, etc) and either the canvas goes black and doesn't respond for awhile, or it has these purple shapes that show up on a black background and they are pixelated. I do apologize if I am not describing this very well. You can see what I am talking about here on this link where I took a screenshot and posted it.
    http://twitpic.com/2c2c2
    The graphics hardware in my iMac are as follows:
    NVIDIA GeForce 7600 GT:
    Chipset Model: NVIDIA GeForce 7600 GT
    Type: Display
    Bus: PCIe
    PCIe Lane Width: x16
    VRAM (Total): 256 MB
    Vendor: NVIDIA (0x10de)
    Device ID: 0x0391
    Revision ID: 0x00a1
    ROM Revision: 3022
    Displays:
    iMac:
    Resolution: 1920 x 1200
    Depth: 32-bit Color
    Core Image: Hardware Accelerated
    Main Display: Yes
    Mirror: Off
    Online: Yes
    Quartz Extreme: Supported
    Built-In: Yes
    I never have nor have I ever had this issue in Photoshop CS3. I look forward to everyones help and responses to this matter. Thanks in advance!
    Josh Lindsey

    this fixed the program error for me, at least for the time being. i do use the opengl drawing thing quite a bit though, i hope they fix this. i also hope its not my machine (1 year old macbook pro). i also speeded things up on my machine by having a separate scratch disk that i plug in (a firewire 800 drive) which i thought was the program error problem at first. some of the files that were not able to open i was able to initially open by duplicating them and then opening them. but not today--i haven't been able to open anything until i turned off the opengl drawing preference. good luck whoever you are! i know how frustrating this is--believe me, i almost slammed my computer on the ground today when it wouldn't open my files!
    note that overall the opengl feature, i feel, is pretty rad though--i love being able to draw and rotate the entire canvas to match the orientation of my drawing capabilities!

  • Version Cue CS4 Missing, Fatal Error!!! (Mac OS)

    I bought the PS CS4 for OSX alone, without the suite. Although I figured that this would be great and all and everything would work. Although what I learned is that without buying the suite you dont get a copy of version cue. Okay, Im thinking this is fine and all, untill I then start up Photoshop and start a new image, at which point Im greeted with this error:
    Fatal error - missing component
    The complete error message is in the picture
    I checked out the forums and found help on disabling the options for versioncue, although they didnt help at all and the issue is still there.
    Please help, I have to get PS working for my job, and Adobe Support wont help me.

    michaelkemp2 wrote:
    …what I learned is that without buying the suite you dont get a copy of version cue.
    That is not true at all, Michael.
    I have never bought any version of the suite, and the Adobe Version Cue support files have been installed by Photoshop 10.x and 11.x.
    For some reason you have a bad install.
    Try using the Adobe Uninstaller to uninstall Photoshop 11.  Then Repair Permissions with Apple's Disk Utility.  Then install Photoshop, and Repair Permissions once again.
    DO NOT move the Photoshop icon, nor the Photoshop folder from the default install location in the root Applications folder.
    Once you're up and running, apply all available updates.
    If you're still having problems after that, please give details about your machine, OS, etc.

  • Cs4 installation setup error

    I recently upgraded my Macbook to a mid-2014 retina Pro, Yosemite. I was running Photoshop CS4 on the old mac, and tried running it on the new one (it "migrated" via the assistant) and it didn't work ("files were missing"). Downloaded the full CS4 from the Adobe site and tried to reinstall and now I'm stuck with this setup error: "Required Resources are Missing".
    Anyone? Is CS4 compatible with this Mac/OS? If not, can I upgrade to CS5 or 6 on this mac? Kinda trying to avoid CC as I don't use PS that often, and in an educational setting anyway.
    Thank you

    you can check other users' experience, http://roaringapps.com/apps:table
    and you can check your install logs for more specific info, Troubleshoot with install logs | CS5, CS5.5, CS6, CC

  • CS4 Upgrade setup error

    Hello
    I bought Adobe CS3 Design Premium Student edition fairly late on and applied for a upgrade and have The Adobe CS4 Design premium upgrade. When I went to install I accidentally closed the folder where the setup application was on the DVD, but the loading circle came up and now everytime I re try to install this message comes up "Setup encountered an error and cannot continue, Contact Adobe Customer Support for assistance" right at the start when it has Checking System profile.
    I have contacted Adobe Customer Support via telephone, but they only told me to copy contents of disk to desktop and try but this didn't work. Also wen to various Mac experts who said best to go to Adobe because they didn't knwo that much about Adobe installers.
    I have a MacBook Pro 2.4GHz Intel Core 2 Duo, 4GB Ram running OSX 10.5.6.
    Any help would be appreciated. Thanks

    I'm not going to argue with someone who has never seen this issue. Obviously you haven't. When you have, come back and see me.
    As for Collaboration...some people do NOT have CS3 to use "Just In Case"...all they HAVE is CS4...so what then? Are they screwed? NO...you use the Export command. You pick your poison...InDesign CS3 Interchange or InDesign Markup or EPS or PDF whatever. I'm thinking Adobe understands collaboration slightly better than you. You do realize, some people came to the Adobe table late...they have not ALWAYS had Adobe products to use. Keep that in mind when doling out your "advice".
    PS will open PS files. ILL will open ILL files. The only one you really need to take care with is Fireworks CS4 files when sending to a Fireworks CS3 user.
    If for some unknown reason, a person has issues installing CS3 after CS4 is installed, they can pick an alternative location such as /Users/<username>/Applications. However, since I've never had an issue doing such a thing, I can't see why someone would either.
    You can't use a silent installer to install CS3 after CS4 because it's not smart enough to realize that Adobe Acrobat 9 supersedes 8 and will thus fail.
    Now....what were you saying about not being able to install CS3 unless CS4 is uninstalled? That statement is untrue. See the screenshots for your answer.
    Now that you know a little more about Adobe products, you can use this knowledge for good. If the term Fast Eddy means nothing to you, then you're an Adobe Beginner. Have a great day...
    "I'm finished with this guy...." -Vincent Gambini

  • Photoshop CS4 Display Driver Error

    I have a user who is using Photoshop CS4 on a Dell Optiplex 745, with onboard Intel video. Since I read that Photoshop now uses OpenGL heavily in its operations, and also understanding that OpenGL support is pretty bad on Intels integrated video, we put an Nvidia GeForce8400 card in the PCIExpress slot, and loaded the latest drivers from Nvidia (version 182.50 currently). The user reports he periodically gets the attached error message, "Photoshop has encountered a problem with the display driver and has temporarily disabled GPU enhancements. Check the video card manufacturers website for the latest software"... Knowing that some other OpenGL-enabled software is picky about what version of Nvidia graphics drivers are installed, I wonder if this is what we're seeing here...  Anybody have some insight on this?
    Dave

    Did you disable the onboard graphics in the BIOS?

Maybe you are looking for