Possible bug in inDesign CS5 with find and change

This could be a problem with my script or it may be a bug, not sure.
The script is used for finding a double space in a fragment of text and changing it to single space.
It works only once when it is executed.
To make it work again you have to close and reopen inDesign.
Here's the code:
app.findTextPreferences.findWhat = "  ";
app.changeTextPreferences.changeTo = " ";
app.documents[0].changeText();

This one worked, Harbs also works but I think I'll go the unicode grep route for find and change on this one.
I like the use of the positive lookbehind GREP character. (?<=) 
thank you

Similar Messages

  • How to get all images in indesign CS5 with javascript?

    Hi,everybody,
    How to get all images in indesign CS5 with javascript?I want to delete them.
    Anyone can give me some example codes?
    Thanks,
    Bridge

    Hey!
    This will remove all images from your InDesign document:
    var myLinks = app.activeDocument.links.everyItem().parent;
    for(var i = 0; i < myLinks.length; i++)
        myLinks[i].remove();
    Hope that helps.
    tomaxxi
    http://indisnip.wordpress.com/
    http://inditip.wordpress.com/

  • Is it possible to create a tree with drag-and-drop functionality using ajax

    I saw these samples;
    Scott Spendolini's AJAX Select List Demo
    http://htmldb.oracle.com/pls/otn/f?p=33867:1:10730556242433798443
    Building an Ajax Memory Tree by Scott Spendolini
    http://www.oracle.com/technology/pub/articles/spendolini-tree.html
    Carl Backstrom ApEx-AJAX & DHTML examples;
    http://htmldb.oracle.com/pls/otn/f?p=11933:5:8901671725714285254
    Do you think is it possible to create a tree with drag-and-drop functionality using ajax and apex like this sample; http://www.scbr.com/docs/products/dhtmlxTree/
    Thank you,
    Kind regards.
    Tonguç

    Hello,
    Sure you can build it, I just don't think anyone has, you could also use their solution as well in an APEX page it's just a matter of integration.
    Carl

  • [svn] 4793: Fix bug SDK-17734 Path with width and height set different than path data has incorrect bounds

    Revision: 4793
    Author: [email protected]
    Date: 2009-02-02 11:20:06 -0800 (Mon, 02 Feb 2009)
    Log Message:
    Fix bug SDK-17734 Path with width and height set different than path data has incorrect bounds
    Fix: When calculating the bounds position we should take into account the implicit scaling factor actualSize/naturalSize. Also did some refactoring, getting rid of the protected method calculateTopLeft.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-17734
    Reviewer: Ryan
    tests: mustella gumbo/layout/GraphicElement
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17734
    http://bugs.adobe.com/jira/browse/SDK-17734
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Ellipse.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s

    Thank you so much for replying.
    Yes I have removed and reinstalled WMP.
    I had good results with the PD6 application installed on the default path onto the C: drive with the one exception that if the application was launched by accident and the user data path was not available, the PD6 application would blow away my custom user path registry settings. Now that I know what they are I have made a .reg file to repair my registry to my desired user data paths.
    Installing the application on the removable drive appeared to help prevent me from launching the application by accident and overwriting my registry with default user paths.
    So which is the less of the two evils?
    If the application directory is not available, windows media player still tries to launch the .msi for installing PD6.
    If I install the application to the C: drive but the user data to the removable drive, launching the PD6 application without the user data drive will still corrupt my registry settings for a user data path.
    Both these issues seem like a logical (if not easy) fix that should be done in the PD6 application and installation package. I mean really, cannot anyone tell me why windows media player is checking the PD6 application directory? Why in PD4 did we have an option control for setting the user data path from the PD4 application? Why is this option not in the PD6 application, just the installer?
    I am given a choice during installation to move the user data to another non default location. Why else would this be provided if not to accommodate my kind of request to store the user data into an alternate location other than “My Document”. Certainly Palm is not trying to force the users on how to protect and store their personal data?
    Post relates to: Centro (Verizon)

  • I am trying to download the InDesign CS5.5 update and keep getting "Update Failed" "Please contact your Administrator if you wish to apply updates on your machine". I have done this and now have Administrator rights, but I am still getting the message. Ho

    I am trying to download the InDesign CS5.5 update and keep getting "Update Failed" "Please contact your Administrator if you wish to apply updates on your machine". I have done this and now have Administrator rights, but I am still getting the message. How do I apply the update?

    Direct Updates
    https://www.adobe.com/downloads/updates/

  • Aborting index build. Too many errors with finding and copying files ...

    Hi dears,
    I'm using UCM 11g.
    I'm trying to start the automatic update cycle. When i start it, it gives me an error message just like :
    Indexing aborted at :<time>. Aborting index build. Too many errors with finding and copying files to the appropriate place.+
    Can anybody help me about this problem?
    Helps will be appreciated.
    Erdo
    Edited by: erdo on 28.Mar.2013 11:11

    Read this: error in Collection Rebuild Cycle
    and maybe also UCM Indexer - Collection Rebuild Cycle errorring out

  • Interactive Report - is there a way to find and change if necessary the unique column.

    While creating an interactive report I accidently entered the wrong "unique column" on the sql query page.  Is this a big deal and how can I find and change if necessary.
    Query Builder
    Link to Single Row View
    Yes
    No
    Uniquely Identify Rows by
    ROWID
    Unique Column
    Unique Column

    33ac2d45-960f-45af-acba-507f01d18e08 wrote:
    Please update your forum profile with a real handle instead of "33ac2d45-960f-45af-acba-507f01d18e08".
    While creating an interactive report I accidently entered the wrong "unique column" on the sql query page.  Is this a big deal and how can I find and change if necessary.
    Query Builder
    Link to Single Row View
    Yes
    No
    Uniquely Identify Rows by
    ROWID
    Unique Column
    Unique Column
    Yes. You can change this using the Uniquely Identify Rows by/Unique Column properties in the Link Column section on the Report Attributes tab of the interactive report definition.

  • How to modify Find and Change indicator?

    I use Find and Change in Applewors 6. At present, this operation finds what is specified but the indicator is colored green and is open, and hard to locate on a page when looking for a single letter. I changed it from its original pale orange to what it is now but now I would like to change it back to something easier to find. But I forgot how I did it and did not make a note. Would appreciate info on how to change this indicator. Thanks

    Neil--
    Thanks for info. I found it under System preferences>Personal>Appearance. You get a lot of choices in color and intensity. I was hoping to change the Find and Change indicator to solid but maybe this is not possible.

  • How can I hide what I write in a find and change list

    I've written a find and change script, I prepared to offer it for anyone to use, but I don't want to anyone to read what I write in the find and change list.
    How Can I hide it?

    OK, my be offer it for someone to use it, I mean in house coworker, no any virus in it.
    How can hide the find and change list, or change it to another format, not just .txt.
    mybe change it to .doc or .vb or .js, and the script still can run well.

  • Is it possible to install/use InDesign CS5 with an InDesign CC subscription?

    I need to use InDesign CS5. From the trial, I'm taken to a purchase page where the only option is to buy the CC subscription. After removing the trial and running the CS cleaner to get rid of everything and running the CC installer, it downloads InDesign CS6.

    We have built an InDesign plugin that need to be tested against CS5.
    If it's impossible to use CS5 with a CC account, why is that the only option you're given when you click 'Buy Now' in CS5?

  • InDesign CS5 is crashing and will not let me accomplish anything

    Although I haven’t done anything different from usual, in the last two weeks Indesign CS5 has been crashing. Now, since Friday it will not let me do any work at all. As soon as I start to work, this message pops up and the program closes:
    "Adobe InDesign CS5 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."
    My operating system is Windows 7, 64-bit. So far my tech support has run spyware, malware, reinstalled, updated, but nothing works. Even my older files that were previously fine are crashing.
    I hope you can help me figure out how to solve this problem. I'm at a standstill.

    (sorry for the delay, I am still swamped.)
    I suspect an uninstall and reinstall is in order. Hopefully that is all that is required, but if not, you've got some sluething to do to find your problem. Windows 7 crash reporting is essentially non-existent in any helpful way, but I believe John has some thoughts on programs your IT department might be able to run to help diagnose what's going on.
    Wait, I do? I'm not 100% sure, but let's see. :-)
    I think the first question is, do you or your tech have any idea what might have changed in your system that could conceivably led to problems?
    This part is kind of a red flag:
    Thanks Daniel. I've sent your response over to my network tech support since I don't seem to have access to that file. I'm not sure it's the answer because of this scenario: I can open an old file that has been fine, nothing else is open, but when I start to use it, it crashes. I've narrowed the crash down to working with images, I think.
    It sounds like InDesign can't read part of your user profile directory?
    And that, then, suggests a basic diagnostic step: create a new user account and test there (with a copy of the file!).
    With respect to crash diagnostics...the way to examine crashes under Windows 7 is to install WinDBG. It is difficult to use and confusing to install, but your IT department can probably manage it. This will allow you to get a stack trace, which is the diagnostic tool that will tell us what InDesign is doing at the time of the crash.
    So, yeah.

  • InDesign CS5 stopped working and Can't drag or drop

    A colleague of mine has a Mac G5 with OS 10.5.8 and Adobe InDesign CS5 installed which has suddenly stopped working. On top of that she can't drag or drop items either.  She didn't have this issue yesterday. She didn't install anything new or added any new hardware.
    Does anyone have a solution?

    Hello,
    In the Finder, at the locations/folders she's trying to Drag & Drop, & see if they're Locked or whaat Rights she has.

  • Packaging InDesign CS5 with Application Manager Enterprise

    Hello together,
    for my company I need to create a package for Adobe InDesign CS 5. I found out that there is a nice
    software to create a MSI file for this product but unfortunately I've got some problems with that.
    I've configured the InDesign package according to my companys requirements in the Adobe Application Manager.
    Everything has worked well and I wanted to make a test installation in my VMWare but the MSI log file throws back an Error: 1603
    There seems to be an error with the Custom Action "CADeploy" which calls the "runDeploymentManager"
    function from a dll file.
    Is it possible that there are any prerequisites needed on my test system to get the installation working?
    Here are some lines from the log file which may help you:
    CustomAction CADeploy returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    MSI (s) (50:64) [20:17:22:682]: User policy value 'DisableRollback' is 0
    MSI (s) (50:64) [20:17:22:682]: Machine policy value 'DisableRollback' is 0
    Action ended 20:17:22: InstallFinalize. Return value 3.
    Property(S): CADeploy = mode=install;sourceDir=C:\temp\;installDir=;origDB=C:\temp\Adobe InDesign CS5.msi
    If you need some further informations please let me know. I appreciate any help!
    Kind regards
    Severin Schaffer

    Ok, I was able to resolve this error by myself.
    I found out, that the installation from InDesign write a log file to %temp% which gives you very useful informations.
    My mistake was to not include all the directorys that were created from the Application Manager.
    Kind regards

  • Indesign CS5 with PNG file exporting as a PDF file but the text is random bold

    Hello,
    I am looking for help to teach me how to solve this problem.
    I use Indesign CS5 to make a proposal. I set the page marker and sub title in the master page.
    Of course, there are including dozens of pages and some pictures here.
    And one of these page, I place a PNG file and type some text.
    When I export this file as a PDF file, one page, which is including PNG file, the text becomes random bold.
    Therefore, I have used PSD file to cover the PNG file. But finally getting the same problem.
    So does anyone can help me how to solve this problem?
    Thanks so much for your help.

    This sounds like a known issue with transparency on the page. When transparency is introduced ID uses a differnt method, apparently, of rendering text on that page and it appears bolder on screen and can print that way on low resolution devices like desktop printers. It usually is not a problem on press output.
    The only way to mainatian consistency would be to introduce transparency on all pages, perhaps by adding a transparent object to your master page.

  • Find and change crashing InDesign file

    I'm working on a file and whenever I do a find and replace, it crashes. I recently ran Adobe updater and when I did, the application gave an error that "Scotch Rules" were used on the last saved version and it wasn't loaded on my system. Considering I built this file on my system, I knew I had Scotch Rules. I went into my extension manager and enabled it. This didn't help the crashing. It crashes with this loaded and this not loaded.
    I also trashed my preferences to InDesign using the cmd+opt+cntrl+shift as well as by hand by going to the folders. Nothing is working
    Any ideas?
    Thanks in advance!

    Peter Spier Thanks for replying to another one of my posts. I tried what you suggested here and it didn't work. Actually, I found that when I "saved as" an IDML, it wouldn't save a file at all. It would have a temporary "lock" icon as if making one on the desktop, but no file would finalize and appear. I also reinstalled the applications from the disk image I downloaded through the creative cloud and that didn't solve the problem. I then corrected disk permissions in Apple's Disk Utility. That didn't work either.

Maybe you are looking for

  • More than one request for a single submit through IE 5.5/Netscape 4.7

    While using IE 5.5 or Netscape 4.7, I'm getting 3 requests coming to my servlet for a sigle submit from the same page. All 3 requests have 3 different thread ids. Can anyone advise how to prevent this? Thanks in advance for your early response. Thank

  • Vendor Return Excise Invoice- VAT/CST

    Dear All, I want to return the material to vendor after invoice verification and before payment. So entered the credit memo, Return material 122 mov type, Create Excise Invoice. Now in my Excise Invoice print format i want CST and VAT to be printed.

  • JDBC query theme in a JSP page

    Hi, everyone I tried to write JDBC query theme in a JSP page at MapViewer, but it did not work. The following is the codes. 1.JDBC theme in a map request in XML <theme name="jdbc_theme_contour"> <jdbc_query datasource="spatial10g" jdbc_srid="8703" sp

  • Signatures Completely Disappeared in Mail

    My signatures in Mail have completely disappeared, POOF! They have disappeared from the "All" box in the Signatures tab of the Preferences. However, when I go to Library and then Mail folder, I have a signatures folder that is full of my correct sign

  • CS5.5 and CS6 Installed on MacBook Pro, Is that the problem?

    Much functionality is reduced in Lightroom, Bridge and Illustrator. The most annoying is that the mouse no longer left clicks in the CS6 Applications. Can anyone offer help? Thank you.