Corner options for line in InDesign CS5 js

Hi, with CS5 update I am getting an error message the 'object  doesn't support property of the method cornerOptions' when I use code from CS4:
myRoundCornerLeftBottomVerticalWhite = myDoc.graphicLines.add (myDoc.layers.item ("Die"));
var myPathPoint = myRoundCornerLeftBottomVerticalWhite.paths.item(0).pathPoints.add (myDoc.layers.item ("Die"));
myRoundCornerLeftBottomVerticalWhite.cornerOption = CornerOptions.ROUNDED_CORNER;
myRoundCornerLeftBottomVerticalWhite.cornerRadius = myRadius;
I am not sure what I can use instead.
Thank you for your help.
Yulia

Ok, here is how far I got with it, but it's not working:
myRoundCornerLeftBottomVerticalWhite = myDoc.graphicLines.add (myDoc.layers.item ("Die"));
myRoundCornerLeftBottomVerticalWhite.geometricBounds = [myPageHeight/2+.0625, 0, myPageHeight-.25,  0];
myRoundCornerLeftBottomVerticalWhite.strokeColor = myDoc.colors.item("Black");
myRoundCornerLeftBottomVerticalWhite.strokeWeight = "2pt";
var myPathPoint = myRoundCornerLeftBottomVerticalWhite.paths.item(0).pathPoints.add (myDoc.layers.item ("Die"));
myPathPoint.anchor = [".25 in", myPageHeight];
var myPathPoint = myRoundCornerLeftBottomVerticalWhite.paths.item(0).pathPoints.add (myDoc.layers.item ("Die"));
myPathPoint.anchor = [myPageWidth/2-.0625, myPageHeight];
myRoundCornerLeftBottomVerticalWhite.paths[0].pathPoints[0].pointType.CORNER(CornerOptions.bottomLeftCornerOption = CornerOptions.ROUNDED_CORNER);
myRoundCornerLeftBottomVerticalWhite.bottomLeftCornerRadius = myRadius;
or maybe:
myRoundCornerLeftBottomVerticalWhite.paths[0].pathPoints[0].pointType.CORNER.cornerOptions.bottomLeftCornerOption = CornerOptions.ROUNDED_CORNER;
It works up to the point:
myRoundCornerLeftBottomVerticalWhite.paths[0].pathPoints[0].pointType;
The rest I am not sure how to connect.
Thank you for your help.
Yulia

Similar Messages

  • Creating fly-out menus for website in InDesign CS5

    Hi all, I've just upgraded to CS5, and am looking into the new release of InDesign CS5.  In the past, I had created websites in MS Publisher, and then exported the publication as website as html.  I then uploaded the resulting HTML to my website using Cute FTP.
    I dabbled around with Adobe Contribute, and still found it rather restrictive, as I could not create coloured text boxes, text frames, roll-over buttons and etc.
    Hoping that I'll have better luck with InDesign CS5.  I'm intending to create my website from scratch, and when finished, hope I can export the publication in InDesign as HTML.
    Just wondering if there is a feature in InDesign CS5 that can create drop down or fly-out menus for a website?
    Thanks

    It might be easier to invest in something like Quite Imposing, an impostion plugin for Acrobat. It's far less expensive than a full-blown professional imposition program and if you need to impose a lot of PDFs, it will pay for itself quickly.

  • Creating a Template for PDFs in InDesign CS5.5

    Hello.
    I'm trying to make a template for imposing PDF documents in InDesign CS5.5. The template needs to have trim marks and needs to fit 4 A5 pages on it. The page size needs to be 450mm x 320mm (SRA3) and should have guidelines (which I can't move by an exact amount) to help with positioning.
    Any help would be greatly appreciated!

    It might be easier to invest in something like Quite Imposing, an impostion plugin for Acrobat. It's far less expensive than a full-blown professional imposition program and if you need to impose a lot of PDFs, it will pay for itself quickly.

  • How would you do a batch export of HTML ("for Dreamweaver") in inDesign CS5?

    We have a large library of indesign files that we need in a machine readable format for parsing text.  Right now HTML seems the best option for these particular files and our requirement. Anyone have a script or any other helpful tips?
    Thanks!

    We have a large library of indesign files that we need in a machine readable format for parsing text.  Right now HTML seems the best option for these particular files and our requirement. Anyone have a script or any other helpful tips?
    Thanks!

  • No option for "Master Diameter" in CS5?

    I'm setting up my new workspace and I can't seem to find the "Master Diameter" option for my brush/eraser. Is there a setting that I need to change to show advanced options?
    I used to see Master Diameter where it now says "Search"

    I fail to see a »search« field in your screenshot.
    What do you mean by »Master Diameter« anyway?
    Have you opened the Brush Panel?

  • Need help with Italics for ePub and InDesign CS5

    Could someone help a me out. I just can not find the answer to this and I know it should be simple, I am just missing it.
    I am creating an ePub from CS5 InDesign. All I want to do is have the italics that are shown in the text box in InDesign, show up in the epub file.
    I would prefer not to say what I have done (I think I have tried everything, but obviously I did them all wrong, so no point listing them) and I am hoping someone can do a simple, step by step guide to how to have italics show up in the ePub file.
    Sorry if this question is beneath everyone, this is really annoying that I can not figure this out on my own.

    Yup, done this.
    In InDesign, the text is Italic. It has the Character Style Italic associated with it.
    But when I export to ePub, it is not italic.
    Here is the HTML from the xhtml file for a single line of what is supposed to be italic text,
    <p class="normal normal-override-2" xml:lang='en-us'><span class="italic italic-override">Words that should be Italic.</span></p>
    The above line does not show up as italic in any of the 3 readers I am using to test with.
    Now, in the css sheet, the span.italic-override does not have anything associated to font-style. If I manually add the font-style italic, then re-pack everything, it works.
    It just seems to me a bit absurd to have to export the epub, unpack it, open it in dreamweaver, add the font-style, and repack it just to have something as simple as italic work.
    So, I am missing something, I get that... I just can't figure out what!

  • I have "upgraded" from Pages 2.0.2 to Pages 5.5.3 and can no longer customize my line spacing. Does anyone know if there are more than 4 options for line spacing?

    Is it possible to customize line spacing in Pages 5.5.3? My previous Pages 2.0.2 allowed me to choose spacing in 0.1 increments, but as far as I can tell Pages 5.5.3 only offers four options. Very limiting for creative documents.

    Hi Margaret,
    Does this work for you?
    And 0.6
    Or 1.6
    Please call back if this does not help.
    Regards,
    Ian.

  • No more smooth/corner option when joining endpoints in CS5?

    OK, I've looked around for the answer. Where did the smooth/corner dialog box go in CS5? Yes, my points are aligned.
    Thanks

    There are two updates related to Join functionality in CS5.
    1. There is a new functionality to join two anchor points of same or different paths by using Cmd/Ctrl+J. You don't even need to select the anchor points - just select the path in full and press Cmd/Ctrl+J. The closest anchor points are detected and joined. A second press of Cmd/Ctrl+J would join the remaining ends. Example:
    To join the anchor points of your choice, just select those anchor points and press Cmd/Ctrl+J. Example:
    2. The earlier shortcut to join two overlapping anchor points is different in CS5. It used to be Cmd/Ctrl+J, but now it is Cmd/Ctrl+Shift+Opt/Alt+J. The method remains the same i.e. the two anchor point have to be overlapping and selected.
    Hope this helps.
    Neeraj

  • Can somebody please tell me where I can find the option for endnotes in Indesign C6?

    I just changed Corel Ventura for Indesign, because they told me it was the best. Editing the first page of my first book with Indesign, I'm finding out that there's no option to use endnotes - only for footnotes. As there are hardly any books without endnotes, I cannot believe this. So I hope somebody can tell me what I'm overlooking?

    Hi,
    See Footnotes and Endnotes- please help! [Post#3]

  • Read color values for swatches in InDesign CS5, js

    Hi,
    I  need to read color values for  swatches. I got this in OMV and was hoping it would give me an array of the color values for all existing swatches, but I am only getting "Object color":
    mySwatches = myDoc.swatches[1].getElements();
    alert (mySwatches)
    Thank you for your help.
    Yulia

    Hi Yulia,
    Try this:
    var
        mD = app.activeDocument, // document
        mS = mD.swatches, // document swatches
        gS = 4, // swatch index
        mC = [mS[gS].name, mS[gS].colorValue, mS[gS].space]; // swatch properties
    alert(mC.join("\r"));
    Hope that helps.
    Marijan (tomaxxi)
    http://tomaxxi.com

  • Buying options for Adobe Creative Suite CS5 Master Collection (Mac) Retail Pack

    I would like to purchase Adobe Creative Suite CS5 Master Collection (Mac) Retail Pack but I can’t find cost information in the Products section? It doesn’t appear to be even listed? I would like to find out how much it will set me back? Can anyone help?

    At this point you can no longer buy CS5, only CS6.
    Mylenium

  • Placing a PDF in InDesign CS5

    Hello,
         I am new to these forums and new to forums as a whole. I have a question about InDesign CS5. I recently upgraded from CS3 to CS5. In InDesign CS3 when I placed a PDF file (or other Adobe file for that matter) once I selected a crop option if I then placed another PDF (or other Adobe file) the Place command remembered my last crop selection and made that the first option. I find that when I place PDFs now in CS5 that I have to select my crop option every time. The default seems to be Bounding Box (visible layers only), and no matter how many times I select another crop option, say media, and then place the item, I always have to reselect the crop option to media when I again place another PDF. Is there and option for changing this default? Or is there a way of turning on a option that will cause InDesign CS5 to remember my last crop selection under the Place command? If so, how do I do it? It would save my lots of time if I could figure this out.
    Thank you.
    CB

    Stix wrote:
    Welcome to the forum Charles, I hope your first experience is a positive one.
    I've had exactly this problem, which was solved in a forum on Indesign Secrets, another great Indesign resource.  The thread is here, but let me know if you have any problems implementing the scripts in it.  I've adapted them and made my own list so for example I can easily just click on one to place page 7 of a PDF to it's trim box, which not only means you don't have to have "show options" ticked when placing but if you drag and drop (which is often a lot quicker) you get what you want to.
    Thank you Stix, for the welcome and the information as well.
    I believe I have a working understanding of how to edit and place scripts in InDesign. (Now that is scary!) Now I have a new challenge; related to my original challenge. The PDFs that I am placing are not just single page PDFs; some of them can be 50 - 100 pages. That being said, one of my favorite things to do is to take a existing InDesign file, where I have already placed and sized the PDFs, rename it and then go in and select the previously placed PDF and replace it with page xxx; all throughout the document. Perhaps I am doing something wrong with the script information because I do not see away for me to choose the page I want without using the "show import options*. Using this option of course kicks out the script I have selected; does it not? Is there a option in one of example scripts that would help me with this?
    CB

  • InDesign CS5 ME - Workspace/Toolbars issue

    hi all
    i bought new computer with win 7 ultimate 64 bit
    and i try to install indesign cs5 middle east (ME) and after i finnish it i get : Window -> Workspace" dropdown there are no available Workspaces to choose from
    The Workspace settings are set to "untitled" and, while you can manually set them back to normal, upon reloading InDesign 5, it has reset and you are back to no toolbars.
    and i dont get :
    For example, Re: InDesign CS5 - Workspace/Toolbars issue.. permissions? Re: InDesign CS5 - Workspace/Toolbars issue.. permissions? Re: InDesign CS5 - Workspace/Toolbars issue.. permissions? .... etc are not there, only the options to "Reset Untitled" and "New Workspace...".
    in my old computer and in my leptop i dont have this problem
    do you have any solution for me.
    thanks
    hanan

    Ok sure,
    When loading up InDesign CS5 (v7.0.2) on either a Dell XPS 720, or a Dell Precision T3400, the toolbars don't appear. The Workspace settings are set to "untitled" and, while you can manually set them back to normal, upon reloading InDesign 5, it has reset and you are back to no toolbars.
    After some troubleshooting, under the "Window -> Workspace" dropdown there are no available Workspaces to choose from. For example, .... etc are not there, only the options to "Reset Untitled" and "New Workspace..."
    It seems as though the program is having trouble loading the Workspace defaults into CS5 ID...
    However, when you run the program as either a local admin or set the compatibility to Windows 2000, it loads up just fine, toolbars/workspaces and all.
    Hope this clarifies the situation, again thanks for your help thus far.
    Adam

  • Indesign CS5 won't Save or Save as..

    I have recently installed Mac OSX 10.6.3  (snow_leopard) onto my iMac and now for some reason Indesign CS5 will not save or save as.
    It allows me to selecteither of them in the menu but nothing happens at all. If i try to close the document after making changes it just closes without asking if i want to save and i lose all the changes.
    I have also gone to the extent of doing a clean installation  of the OS & CS5 with no difference whatsoever.
    Any ideas would be extremely helpful..
    Thanks

    go back to Replace Your Preferences to get the paths to the folders in your user library, then try moving the entire folders to the desktop and restart ID.
    If it's still not working, John Hawkinson has mentioned some other files that seem to be involved when it works in one user and not another, but you'd have to do a search here as I don't know the names and locations for all of them (I'm on Windows). I think he's suggested these at least twice in the last month or so, so they should come up.

  • InDesign CS5 and inCopy CS6 workflow problem

    I've looked at other discussions and haven't found any to answer the question to our problem.
    We are a small publishing company and we have license for roughly 7 inDesign CS5 copies that we purchased a year ago.  We contract with outside editors to edit content for us using inCopy.  For a year there hasn't been any problems.  But any new contracted editor we now sign, which in turn purchases inCopy, we are having trouble with our files talking to one another.  Any new contracted editors are only able to purchase CS6 inCopy.  This leaves us with the problem of having inDesign CS5 on about 7 or so of our employees machines and 6-8 CS 5.5 InCopy on outside contracted editors and an additional 3-4 contracted editors with CS6 inCopy.  When the editors with CS6 inCopy try to open files from our InDesign CS5, either they won’t open at all, or they will open, the editor works on the project for awhile, their program crashes and they are not able to recover (re-open) the files again.  Which results in hours of lost work.
    Has anyone else come across this problem?  Is there a work around or a quick fix.  We would hate to have to upgrade to CS6 for all of our in house copies of InDesign and then ask our outside editors what do have inCopy cs5.5 to upgrade to CS6. 
    If this is the case, when CS7 comes out, and we hire additional outside editors, will we continuously have to go through the process of upgrades again?  This is too costly for use and our existing contracted editors.
    Any thoughts are assistance would be appreciated.
    This is one of the error messages received from an outside contracted editor using inCopy CS6.  The file crashed after several hours of work, when the editor went to reopen the file, they received this error.  Which looks to be a generic error code that doesn't tell us anything.

    Hi Ruffus,
    Unfortunately different versions of InDesign and InCopy do not work well with each other. Newer versions of the program should be able to open older files, but they cannot save backwards. I am not sure what is causing the errors with the newer versions of InCopy however.
    Are you able to open the CS6 InCopy files on your computers?   

Maybe you are looking for

  • Problems with iTunes

    I've recently started having a few problems with iTunes, and was wondering if anyone could offer advice on how to go about fixing them. First of all, iTunes opens up (it takes quite a long time) and then everything goes slow. It keeps automatically u

  • Acrobat 7.0 Distiller error

    I have the complete Adobe Creative Suite Premium package, and I recently have started having issues converting Documents or Spreadsheets to PDF. When I click on "Convert to Adobe PDF", after the PDF window opens, I get a Distiller error message, foll

  • Media Go failed to install,,,reports VisualC++2005 Redistributable Error 1935

    Hullo, I have just done a fresh install of Windows 7 Professional 64-Bit and the MediaGo application will not install Version 2.7.0.357 on my machine. (it was on the machine and operational before?) Have done some research and found nothing that is c

  • Why is D11.5 Mac App Standard Projector asking for Shockwave Player 11?

    I have created an exam study aid for my students with D11.5 and have turned it into a Windows exe and an App for the Mac users.  I selected no compression in the Projector Settings and selected player type: Standard on the Projector tab. On some stud

  • Hi, recently my iPad has been crashing when using the apps. What can I do to solve this? Thanks

    I also have trouble using the wifi, on some occasions I have to disconnect from the wifi and reconnect to load web pages. Is this my device or my internet? I have called my service provider and they have not been able to solve my problem. Thanks.