Frame strock in Indd cs5 js

I have a script that was working for a long time, but now it no longer remove stroke from new frame and I can't figure out why. Here is the code:
    var myFrame= myDoc.pages[0].rectangles[0];
    myFrame = myDoc.pages[0].rectangles.add(myDoc.layers.item ("Layer 1"));
    myFrame.strokeWeight = "0 pt";
    myFrame.geometricBounds = ["-.0625 in","-.0625 in", docOriginalHeight+.0625, docOriginalWidth+.0625];
    myFrame.fillColor = "None";
Thank you very much for your help.
Yulia

Hmm-m. Try this one-line script on a selected object that has a visible stroke width. Does it work?
app.selection[0].strokeWeight = 0;
I tried a few variants as well:
app.selection[0].strokeWeight = "0";
app.selection[0].strokeWeight = "0pt";
app.selection[0].strokeWeight = "0 pt";
app.selection[0].strokeWeight = "0     pt";
and they all seem to work just fine.

Similar Messages

  • PDFs created in InDD CS5 and CS6 crash when searching?

    When I try to search PDFs made from InDD CS5 or CS6 (full install, not cloud) on my Macs at work and at home, the application freezes (Force Quit shows "not responding).
    This happens especially with large books, but also with smaller stuff.
    I am on Snow Leopard on both machines and have been having this problem for over a year.
    Originally I thought is was because some documents were created way back in CS2 and kept being upstepped as I upgraded versions.
    Now I am beyond those old pubs, and the problem still exists.
    I thought upgrading to CS6 would help, but it hasn't.
    Sometimes I can search and get the first one or two instances of a word, but it still freezes.
    It even happens with factory PDF settings such as "PRESS."
    And yes, I have emptied the PDF cache.
    I can't figure out if this is an InDD problem or Acrobat X.
    There doesn't seem to be anything on the forums that I can find, either.
    Any suggestions?
    Thanks.
    Sunnibee

    Seems more likelyt o be Acrobat than ID, in my opinion, since that's the application doing the searching.
    Have youy posted in the Acrobat forum?

  • INDD CS5 print booklet impose problem

    Using iMac with Lion and INDD CS5.
    Im doing a 28 page booklet on legal paper (8.5x14), so each final page is 8.5 tall by 7 wide.  I used the Print Booklet feature to make an imposed PDF and the preview looked fine, but the resulting ps file opens and its "imposed" but it only is getting the left page and part of the right page, almost as if the page size its "printing" to is not legal. But I can't find where I make sure its destination is legal paper. Anywhere in the print or settings where its specifies paper, its grayed out or unavailable.
    Any help?

    This is a 100% Adobe issue, I've been following a tutorial off the Adobe site, printing to a PS file, and it still screws up.
    BUT......
    Use FIX 2 off this link, worked great for me.
    http://yourartdirector.blogspot.com/2010/11/indesign-print-booklet-issue-solved.html

  • When I drop an .indd cs5 document on icon Indesign cs4 starts up! How can I change these settings

    Hi everybody,
    The solution of the above written problem should be so simply however I'am not able to solve this. I want te create pdf's with drag and dropping a CS5 Indesign file on the icon. Tried to change the preferences but no luck...
    Let me know if you have a solution :-)
    Remco

    Although this sohould be asked and answered in InDesign/CS5 forum. it's not really an issue of InDesign. Its an issue of the Mac operation system
    close up and quit everything back to finder.
    Next locate a bunch of indd cs4 documents.
    highlight them has to be a minium of 5.
    now from finder go to file > Get summary Info.
    next locate button showing what applications opens the files.
    click on button and choose InDesign CS5.
    now under tha button  click on Change All ... and click Okay.
    Now all your indesign files will open with the indd CS5 application.
    if you would rather just open an individual file if you have a 2 button mouse
    Click the right mouse button on the desired file.
    hold until context menu pops up click and hold on open with...
    a new menu gets built of desired applications
    choose InDesign CS5 and it will open.
    This allows a given file to open with desired application but doesn't change file types.

  • INDD CS5.5 freezes when trying to export IDML

    Hi there,
    For a couple of days I'm trying to Export a 23.2MB INDD file in IDML, but after a few seconds it freezes:
    Adobe InDisign CS5.5 has stopped working
    A problem caused the program to stop working correctly.
    Windows will close the program and notify you if a solution is
    available.
    I have INDD 7.5.1 running on Windows 7; 64bit.
    Any suggestions?

    I have tried to break up the file and export two pages a time, but in vain.
    Create a new document and go to the Pages panel and choose Move Pages and move your pages to the new document.
    See if that clears it up. If not, try a single page. If it works, when you can narrow to the problem.
    Is there a possibility to cut and past INDD CS5.5 to INDD CS4 ?
    Actually, yes. Select the page elements in CS5 and Export to a Snippet (in fact, you might even be able to drag and drop to CS4...).

  • Indd CS5.5 keeps asking to update modified links

    Indd CS5.5 keeps asking to update modified links when opening a document, when links have not been modified.. This happens a lot.
    Any guidance gratefully received.

    Hi John, thanks for your helpful suggestion.
    We've picked up on some small nuances in the last 24 hours. There are two of us here in the studio and the documents and links are saved on a shared drive.
    • When I open the document on my machine and update all the links, then close it and then open it again – without my colleague opening it – it doesn't ask to update the links.
    • However, if he opens it after I've opened it, it will ask to have it's links updated again. And if I open it after he has opened it, it again will ask to update the links.
    *Idea* could it be that one of the machine's clock settings are incorrect. ie. my colleague's new laptop?
    Screen grabs are attached below. The go in the order of before and after.
    The plot thickens: I have also loaded this software on to an iMac out side of the office; not connected to the server, just running on its own. I have some images on an external hard drive. I have exactly the same problem if I unplug it and re-plug it. When I re-plug it doesn't just simply find the links, it says they have been updated.
    Any more ideas would be appreciated.
    Best regards.

  • Masque d'écrêtage texte non vectoriser INDD CS5

    Masque d'écrêtage texte non vectoriser  INDD CS5
    Bonjour à tous je cherche à faire quelque chose qui ce rapproche du masque d’écrêtage sur un bloc texte qui auras un champs de fusion de donnée. donc impossible de vectoriser ce texte. J'ai fait des essai de pathfinder mais celui ci replace le texte dans un bloc donc ce n'est pas bon ! merci de vos conseils 

    Alors j'ai crée un catalogue 32 pages façon normal sur indesign destinée à l'impression en numérique donc tous mes titres seront personnalisé au nom de mes 9000 clients.
    Mon imprimeur fait lui même la fusion de donnée mais souhaite le faire sur mon catalogue en imposition
    Pages 32 - 1
    Pages 2 - 31
    Pages 30 -3
    ...du coup le but est de mettre la page oule titre est une autre faconde creer aille a coté de la page les grands classique.
    et que sur ses 2 pages je ferait un publipostage (fusion de donnée, champs variable) sur  chacune d'entre elle séparément sur le fichier d'imposition
    Je sais pas si c'est trés claire.
    En outre on ma déjà donner une solution sur un autre forum et de mon coté j'ai changer légérement ma mise en page pour régler ce probléme

  • Adding frame in Indd CS5

    I set stroke to 0 and it's still adds black stroke.
    var myFrame= myDoc.pages[0].rectangles[0];
        if (myFrame.isValid == false){
            myDoc.pages[0].rectangles.add();
            myFrame.geometricBounds = ["-.0625 in","-.0625 in", myPageHeight+.0625, myPageWidth+.0625];
            myFrame.strokeWeight = 0;
            myFrame.fillColor = "None";
           myFrame.strokeColor = "None";
    What can I do?
    Thank you.

    We have 12 Macs and it happens occasionally on all of them when same file is reused.
    Thank you.

  • How to turn off frame edge highlighting in CS5?

    Has anyone discovered how to turn off the frame edge highlighting on rollovers. I find this feature visually distracting and quite annoying as I'm moving around a page. Send advice, please. Thx.

    Chief:
      Sorry we got off track and didn't post the main workaround for Frame Edge Highlighting: Keep your hand on the spacebar.
    This comes from  Mike Rankin in the InDesign Magazine Tip of the Week in January:
    TIP: Spring-Loaded Tools to the Rescue
    InDesign  tries very hard to help you align objects when you drag by snapping  them Do you dislike the Frame Edge Highlighting that appears when you  mouse over frames in CS5? Spring-loaded tools can help. Frame edge  highlighting only appears when you use one of the selection tools. With  spring-loaded tools, you can press and hold single keys to temporarily  switch to any other tool. As long as you hold the key for more than a  second, you'll switch back to your previous tool when you release the  key. You have plenty of choices (t, \, p, f, m, n, c, e, g, z, etc).
    Holding  the spacebar also prevents the highlighting from appearing, and it's a  nice big place for your fingers to rest. Heck, you don't even have to  pay much attention to where you press--just rest your hand in the middle  of the keyboard and lift it up when you want to select something. But  don't hold v or a, which are the shortcuts for the selection tools.
    - Mike Rankin
    (Mike had suggests this several times in the past year,  though not with the spacebar. E.g. he recommended 'H' back in June over  on
    InDesignSecrets. "H" for Hate).
    There have been several threads on this, including the locked 201-post monster, Frame edge highlighting, and the feature request Allow Frame Edge Highlighting to be turned off, and frame edge highlights on hover.
    Basically  the takeaway is that it only happens with the selection (V) and direct  selection (A) tools, and that multiple people have asked Adobe for a  control to turn it off, and they've finally added one, but only in CS5.5, not in a CS5 maintenance release.

  • White Boxes from EPS Not Showing Up in INDD CS5

    this is kind of lame, but I'm still curious...
    I have an Illustrator eps file (CS4) that had black and white shapes, text, etc (very simple), however when I placed the eps file into InDesign (CS5), the white box did not show up. There is a black stroke around the box that appears, however the white does not appear. I went back and drew a new white box, resaved it and the new white box appeared. Any idea why the original file would not have come through properly?
    (PS...I'm using Windows)
    Thanks!

    White set to overprint?
    And stop using EPS...it's an archaic file format. Use native AI or PDF from Illustrator for best results.
    Bob

  • INDD CS5 to CS3

    I've read the post on how to save from CS5 to CS4 and I've saved the file to a ".idml" file but cannot open it in CS3. We upgraded from CS3 directly to CS5, any suggestions on saving from CS5 to CS3? - Thanks

    You're SOL.
    A hack to get from CS4 to CS2 was published http://indesignsecrets.com/double-downsave.php
    I'd look into getting a version of CS4 really quick, but I would not expect it is available as CS5 has been released. A call to Adobe may be the only recourse. (Pack a lunch for that call)
    Several persons here would save a CS5 inx or inml to CS4 and supply a CS4 inx for CS3, but that is going to be laborsome if you need to keep many files CS3 compatible.
    From here forth, never overwrite your CS3 files, rename them soon, apply a write only attribute, whatever it takes if you will need compatibility.

  • INDD CS5.5- Live/Static Caption for "TIME" meta tag (eg 3:30pm)

    Love the caption feature, but I can't for the life of me figure out how to add a TIME caption to a photo.  (eg. 3:30pm).   InDesign has a DATE and every other imaginatble caption option, but no TIME.  Any advice or workarounds would be greatly appricated.
    Thanks in advance.
    John

    MikeWenzloff wrote:
    Hello John,
    You can define the time variable (Type | Text Variables | Define). Once you create the pattern for the variable, such as h:mm aa that displays for example 5:31 PM, you can then choose to insert it wherever.
    You can make the variable a static time (in this case) or let it update (default attribute I believe). Now, this is only the second time I have started ID...so I suspect someone else will have more accurate advice.
    Take care, Mike
    Thanks Mike,
    Setting a time variable (Type | Text Variables | Define) is nice, but I'll need a variable that references the photo's meta data.... The goal is to create a  photo book in which each photo has a time caption (5:31PM).
    John

  • Relink files in Indd CS5, js

    Hi,
    I need to relink files in InDesign to the Link subfolder and what I have is not working:
    myDoc = app.activeDocument;
    myDocPath = myDoc.filePath;
    var indesignPages = myDoc.pages.length;
    var p = 0;
    for (var p =0; indesignPages > p; myDoc.pages[p++]){
    for (var a =0; a<myDoc.rectangles.length-1; a++){
    try{
    var myArt = myDoc.pages[p].rectangles[a].graphics[0];
        if (myArt.isValid ==true){
            var myArtName = myArt.itemLink.name;
            var myArtLocation = myDocPath + "/Links/" + myArtName;
            alert (myArtLocation)
        if (myArt.itemLink.status == LinkStatus.LINK_MISSING){
            myArt.itemLink.relink (myArtLocation);
        if (myArt.itemLink.status == LinkStatus.LINK_OUT_OF_DATE){
        myArt.itemLink.update (myArtName);
    }catch (e){}
    And I am not sure why.
    It's running to the end and not giving me any errors, but the links remain unlinked.
    The location alert shows correct location.
    Thank you for your help.
    Yulia

    Hi,
    try this:
    var myDoc = app.activeDocument,
    myDocPath = myDoc.filePath,
    myLinks = myDoc.links.everyItem().getElements(),
    p, a = [], myArt, myArtName, myArtLocation;
    for ( p = 0; p < myLinks.length ; p++) {
         myArt = myLinks[p];
         myArtName = myArt.name;
         myArtLocation = File(myDocPath + "/Links/" + myArtName);
         if (!myArtLocation.exists) {
              a.push(myArtName);
              continue;
         switch (myArt.status) {
              case LinkStatus.LINK_MISSING:
                   myArt.relink (myArtLocation); break;
              case LinkStatus.LINK_OUT_OF_DATE:
                   myArt.update(); break;
              case LinkStatus.NORMAL: break;
              default: alert ("Can't relink " + myArtName); break;
    if (a.length > 0) a = "Files not found in 'Links' folder:\r" + a.join("\r");
    else a = "OK. Done!";
    alert (a);
    Jarek

  • Cannot open indd file in CS5.5? "Please upgrade your plugins to the latest version or upgrade..."

    I refer to a similar forum post here - http://forums.adobe.com/message/4081971 - which outlines a similar problem with opening a file.
    The difference is the file I can no longer open was created using Adobe indd CS5.5 and I am opening it with Adobe indd CS5.5. I have never had this issue previously. The only change is to a new OS on Mac - Version 10.8.2. Error message says "Cannot open "File name" please upgrade your plugins to the latest version or update to the latest version of Adobe" - I know there is CS6 but why should I now need to upgrade suddenly?
    Can anyone help here? I can forward a link to the file in question if needs be.
    Cheers,
    Catie

    @Catie – did you verify, if your InDesign file is saved in version CS5.5?
    You could do so by using a ExtendScript (Adobe's version of JavaScript) written by Jongware.
    Here is the full story of "IDentify.jsx":[Ann] Identify Your InDesign File
    http://forums.adobe.com/message/4071273#4071273
    If the problem is due to a corruption of plug-in version information, I fear you have no chance other than:
    1. Update CS5.5 to the latest bug-fix version => 7.5.3
    2. Download a trial version of InDesign CS6, open and export the file to IDML and re-open it in InDesign CS5.5 (though this might not work for a corrupted file)
    3. Try to open the file on a different machine
    Are there 3rd party plug-ins involved? If so contact their makers…
    Uwe

  • Flash CS5 movie with 2167 frames doesn't render properly when published

    I have a flash animation (.fla) that I am creating in flash professional CS5.
    I have not finished development but have hit a snag with completing it, because when the movie has 2166 frames or less, it publishes to swf correctly, but when I add additional frames (2167 or more), upon publishing to swf my 3D animations and text do not display in the published swf file.
    I know in the older versions of flash there is a frame limit of 16000 frames, but is there an even smaller frame limit in flash CS5 of 2166 frames or less? Perhaps this limitation is only apparent when using the new features like 3D animation?
    Adobe, is there a bug fix for this? Any suggestions?
    Thanks

    Here's the workaround I used to fix this if anyone experiences a similar problem:
    Problem:
    When publishing from flash CS5 with actionscript 3.0 to swf, publishing takes a long time and 3D tweens and text do not display in the published movie.
    Workaround:
    File > Publish Settings
    Select the Flash tab
    In the script dropdown, change the option from Actionscript 3.0 to Actionscript 2.0
    If you have any 3D tweens, a warning will appear - "3D tweens can only be supported in ActionScript 3.0 or higher. 3D properties will be permanently removed from all tweened objects if the current publish settings are changed. There is no undo for this operation."
    Click Ok
    If you have any TLF text, another warning will appear "TLF text can only be supported in ActionScript 3.0 or higher. TLF text will be permanently converted to classic text if the current publish settings are changed. There is no undo for this operation. Undo history will be cleared."
    Click Ok
    Any text that was converted to Classic text may have changed in layout & position
    review and fix all your text
    Save the file.
    Publish to swf and test
    File > Publish Settings
    Select the Flash tab
    In the script dropdown, change the option from Actionscript 2.0 back to Actionscript 3.0
    Add your 3D tweens back in
    Publish to swf and test
    If anyone has a better solution I'm still interested to hear it, as my workaround doesn't allow you to use TLF text.

Maybe you are looking for

  • 2 main windows in 2 different pages with different layouts

    Hi Guru's, I'm working on Smartforms. My problem is, i have 2 different pages with 2 diiferent main windows. The First Page lasts after 7 pages of Data Printing. It is coming corrctly. I've assign the Next Page as Second Page in the First Page and i'

  • ATI Radeon 9800 Pro Wierd Lines    Bad Card     --   The solution

    After updating my Computer to 10.4.8, I frequently had odd lines and Weird Colored Shapes dancing across my screen. Restarting was the only thing that solved the problem but It started becoming more frequent as time went on, Every 30 minutes having t

  • Report for Archived data by using exicutable program.

    Hi, In already existed Zreport data is fetching from table like below. SELECT belnr bewtp budat lfbnr lfpos FROM ekbe INTO TABLE it_ekbe                                                WHERE bewtp IN ('R' , 'Q') "Only IRs                              

  • Assign Controlling Area to Financial Management Area

    Dear SAP Gurus! I'm greatly distraught! I have been reading SAP HElP. I'm using ECC 6.0. It says that to assign Controlling Area to Financial Management Area, I can go to the following menu path: Enterprise Structure >> Assignment >> Controlling >> b

  • SET_BLOCK_PROPERTY

    Hi, I'm trying to set where caluse dynamically, but it is giving me error. SET_BLOCK_PROPERTY ('emp', DEFAULT_WHERE, 'where deptno in ||'''('''select deptno from dept''')''); How to set the "(" in the where caluse ? Thanks in advance.