FindChangeByList Script, some GREP queries do not work

I adjusted the queries on 'FindChangeList.txt' to my needs. There are towing GREP queries that will not work with the script but works perfectly well with the Interface of search/replace. I have no explanation for this strange behavior. Can anyone help?

These are the two queries:

grep {findWhat: "\A\s+"} {"changeTo: ' ' '} {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeword:false} storystart: CONTROL all white space.

grep {findWhat: "\s+\Z"} {"changeTo: ' ' '} {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeword:false} storyend: CONTROL all white space.

Thank you very much.

grep {findWhat: "\A\s+"} {"changeTo: ' ' '} {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeword:false}

It is the version of JavaScript, you need to double the backslashes if string Analyzer JavaScript eat.  In other words: {findWhat: '\\A\\s+'}.

Because this completely destroyed the readability of regexp, I would use rather {findWhat: / \A\s + / .source}

but I understand why it is not popular.

Tags: InDesign

Similar Questions

  • my iPhone 6s has problems with the GPS when I use some applications, it does not work well and give especially the bad road. Can someone help me?

    my iPhone 6s has problems with the GPS when I use some applications, it does not work well and give especially the bad road. Can someone help me?

    My iphone 6 has started having the same problem. Its literally the GPS. Saying that it does not find me at all. Ive seen say location for more than an hour in the suburbs of chicago. It started to happen to me after I downloaded the latest update for the iphone. I hope they react and let you know what is happening because I'm dying to know as well.

  • keyboard problems - some digits.letter do not work

    keyboard problems - some digits.letter do not work,

    Hi chrisUC,

    ·         What happens when you try to access these numbers and letters?

    ·         You get the error message?

    ·         What is the brand and model of the keyboard?

    ·         Using a laptop or desktop?

    Follow the steps in the article.

    Troubleshoot wired keyboards that do not or only the erroneous characters category

    http://support.Microsoft.com/kb/258826

    Troubleshoot the incidents of the response to the mouse or wireless keyboard

    http://support.Microsoft.com/kb/838398

  • Gmail said "some important features may not work in this version of your browser, if you have been directed to the basic HTML version. Upgrade to a modern, like Google Chrome browser. Try the standard version in any case. "

    When I visit Gmail using Firefox version 8.0 (running w7) I get this message: "important features may not work in this version of your browser, if you have been directed to the basic HTML version. Upgrade to a modern, like Google Chrome browser. Try the standard version in any case. "

    When I click "Try Standard Version Anyway" it works, but for some reason, Gmail is say that Firefox 8.0 is not a modern browser. Also, whenever I visit Gmail, he returned to the basic HTML version... ba.

    It seems that Google is trying to make you switch to Chrome. I would stick with Firefox, but Gmail is an important part of my browsing...

    I found the solution... browsing around, I found this link:

    http://www.Google.sh/support/forum/p/Gmail/thread?TID=627898d83a02180f & hl = in

    In type of Firefox:

    Subject: config

    Filter the results with:

    "general.useragent.

    All fields that are "BOLD" must be reset to ZERO. Do a RIGHT CLICK and RESET each field "BOLD".

    Worked on my w7 machine!

  • Some keyboard keys do not work on my TE2100?

    I lost the use of several keys on my keyboard, a few years ago, namely the LTRC, c, n, m, and perhaps others.
    I have been using an external keyboard since then.

    I have tried to fix this by first buying a new keyboard, which did not solve the problem, and more recently, I replaced the VGA card (that plugs into the keyboard), because I had lost some display features. The display works fine with the new VGA card but the same keys still does not work?

    Sounds like a problem that can be solved otherwise?

    > I guess that's the motherboard then?
    Maybe it's a suggestion, I doubt anyone here would be able to tell what's exactly wrong.

    The replacement of mainbaord is really a costly affair. I think that the new motherboard would cost more than the good old classic and in my opinion there s no need to replace the motherboard.
    I m not very well how be a new motherboard, but I think that you would need 300Euros and in my opinion, you would get a great opportunity for laptop for the money.

  • Some keyboard keys do not work on my Qosmio F60

    Hello

    I've had my laptop for 2 years now and never had any problems before but recently some of the keys on my laptop keyboard do not work as the fn key, i, e, r, t, y, u, i, o, = etc. Currently I use an external keyboard to overcome this problem. I did a complete reinstall but problem still persits.
    Can you please perhaps where the problem is. It's very confusing that some keys work well, but some are not.

    Kind regards
    Abhi89

    > Can you please suggest where the problem is maybe.
    In my opinion the problem is faulty keyboard. As you can see full OS reinstallation didn't change anything. It must be junk hardware.

    Sorry, but I think that the keyboard needs to be replaced.

  • Some keyboard keys do not work occasionally, some require hard urgent

    Sometimes my keys work well, as now. Other times, without having to reboot, some keys like R, Y, 5, 0, do not work when I press them. Sometimes if I press the R key and Y or press them hard, with more force, the R and the Y will appear. Other times, repeatedly tap the R and the is still not get as they appear.

    This problem has occurred, it seems, shortly after I disassembled my laptop. What could cause this problem? I think that maybe it's one of the wiring connectors that connect the keyboard to the main unit and not a problem with the individual keys. Should I restart my computer, disassemble the keyboard and attach, internal and 3 cables, it would affect?

    What should I try to fix this? Its very annoying having to use the on-screen keyboard to type the keys Y and R when they cease to work temporarily on the keyboard.

    It is not easy to give you the correct answer to your question.
    Initially we don t know what model of laptop you have and how old it was.
    In my opinion the keyboard connector has nothing to do if some keys must be desperate.

    To be honest, I think that you need a new keyboard.
    Only by using the new keyboard and test features, you will find answer to your question.

  • Satellite P100 - 10 p: some XP drivers do not work - where to find the new drivers

    HI, I just bought a P100 - 10 p for the games. It comes with Vista, but many games do not work on this OS, if I want to install XP.

    I downloaded XP drivers at Toshiba work only for some, and I do not have ' t know what to do...
    It seems now I have a machine of very expensive typo :)
    Any ideeas?

    Hello

    For most laptops Vista OS the XP drivers are not available or Ca? It's not easy to find the right drivers.
    But what drivers XP are you looking for?

    Satellite P100 - 10 p is belongs to the PSPAGE series!
    I checked the page of the Toshiba driver and found all the necessary XP drivers!
    Then what? s the problem?

  • Satellite A110-195 - some Fn + keys do not work as before

    Recently, I disabled autostart apps and from that moment, the Fn + keys shown in the topic do not work as it should. First the message window does not appear for all keys function, including F6 and F7 for example, but also they work properly - the brightness of the screen changes.

    The real problem is that I can not launch the WiFi connection with the Fn + F8 combination lock screen with Fn + F1 or cut his power with the Fn + Esc combination.

    What should I do?

    Hello guys

    Before you start looking for solutions, I'll try to explain how the whole work.

    As you know Toshiba has designed a lot of different tools and utilities to make it work with laptop easy and allows the optimal hardware configuration. All these tracks tools harmonic and for some of them is important to run along with other tools. On many models laptops that must be preinstalled utility called very important common modules. It's kind of utilitarian basis and without her other tools may not work properly.

    Use FN + x key combination executes different options and it will work if the tools and utilities are installed properly and also active.

    Dear Robert, you probably killed some of these processes and they do not start with WXP initially upwards. Please turn it on again.

    Krish I put t know you did and turn it off, but I recommend you to roll back OS to an earlier time using System Restore tool. I hope that on this path, you will have the laptop as before.

    Good bye

  • Satellite L500 - 1 EV - Some FN keys do not work on Windows 7

    Hello

    I bought a new laptop Toshiba Satellite L500 - 1 EV. Now I'm with Windows 7 32 bit OS, and I noticed that some of the shortcuts - espacially the "fn + F8" - to turn on and turn off the adapter wireless and "Fn + F9" allowing you to alternate between the mouse and touchpad of entry do not work. After I press FN + F8 wireless adapter still works and the light always. After pressing Fn + F9 system keeps the receiver input mouse and touchpad.

    Am I missing some driver?
    Thank you!

    Hello

    Have you installed Windows 7 yourself or was it is preinstalled on your laptop?

    AFAIK for the FN keys you need Toshiba Value added Package, and Flash Cards Support utility. In your case, I will try to reinstall the two of them, VAP first and then Flash cards support utility.

    Consult the Toshiba site, where you can find these two tools! :)

  • Satellite P855-BLS - some multitouch gestures do not work with Win 8

    I have problem with Toshiba Satellite P855-bls: some gestures multitouch as click with two or three fingers to open in a new window do not work, even if the parameters are available in the options of the synaptics driver.

    Other gestures work.
    Update the driver did not help.
    The installation of two-finger scroll utility might improve the situation, but it does not work with Windows 8.

    What are the possible solutions?

    As much as I know Win8 support is still not started.

    You have some problem with pre-installed Windows 7 Home Premium 64 bit and factory original settings?

  • M6-1205dx: some keyboard keys do not work in windows or the bios

    I recently bought a HP Envy m6-1205dx laptop and I have noticed that some of the keys do not work on the keyboard. None of these special keys work under Windows or on the BIOS screen. I'm on my second replacement keyboard, and I'm having the same problem. The main keys that do not work are the 'asdf' and ' jkl: "in addition, the Enter key does not work." The fact that on the numeric keypad. Given that I have trie multiple keyboard with the same result, I have to assume that it is quite something else. Please help, it drives me crazy.

    Hey!

    I'm so glad that the solution I provided you with worked!

    Please mark my post who has worked for you as an acceptable Solution. This will allow others to find what works, if they fall into the same question. To say thank you, please click the thumbs up button!

    Thanks for letting me know that the suggestions worked.

    Have a wonderful day!

  • Some Windows functions do not work

    Good time of day!
    After I removed some programs (I don't know which) I have following problems with Windows XP:
    (1) Windows help works - I push the button and nothing happens.
    (2) I can't edit user - empty window accounts.
    (3) IE8 does not work properly, and when I want to reinstall it there is an error: BAD POOL CALLER stop 0 x 00... C2 (0 x 0... 40, 0 x 0... 0, 0... 80 x 00, 0 x 0, 00)
    (4) it seems that other computer programs to run correctly.
    What can I do?
    Thank you in advance.

    Really there is not enough information here for you to see something else that speculate on things to try it may work sometimes maybe.

    You have now or have you ever used third-party applications on your system where the product description includes descriptive as sentences:

    cleaner, mechanic, detective, doctor, heal, optimize, Inspector, clean, tune up, speed up, fix up, compact, compress, faster, power, boost, boost, gum, muncher. one click fix, new, intuitive, errors, stop crashes, stop errors, improves, allows you to save money, risk free, guaranteed or any third-party program that has an icon that looks like a gear, pinion, belt holder, key, key, screwdriver or plunging arrows?  These things like break help and Support.

    It is usually a simple matter of reinstalling help and support, but I've seen ever of any committed Microsoft Support Engineer 'expert' to describe the process.  I have instructions to do so.

    Your account of just user page say "User accounts" in the title bar and have just the rear buttons, forward and home?

    Click Start, run, and in the box enter orders following one at a time.  Click the OK button to execute each command one at a time.

    regsvr32 jscript.dll
    regsvr32 vbscript.dll
    regsvr32 /i mshtml.dll (it's a look of slash)

    The last order for mshtml load the DLL but can also contain a harmless warning depending on your environment.

    View look now your user accounts.

  • Changes made to a script, and now it does not work

    I have this script that No radio clicks on the button it filled fields with N/A. If the user clicks the Yes option button, the fields are left blank for the user to fill out. The script worked. Then I had to change the names of the lines and the fields in the table, and now the script does not work. Any thoughts on how to fix this? Here's the script:

    switch

    (this.rawValue)

    {

    case '1' : / / Yes is bound as 1

    . Form1.page5.table1.row1 offSiteQuest.rawValue [0]

    = "";

    . Form1.page5.table1.row1 offSiteQuest.rawValue [1]

    = "";

    . Form1.page5.table1.row1 offSiteQuest.rawValue [2]

    = "";

    . Form1.page5.table1.row1 offSiteQuest.rawValue [3]

    = "";

    . Form1.page5.table1.row1 offSiteQuest.rawValue [4]

    = "";

    breaking ;

    case '0' :

    . Form1.page5.table1.row1 offSiteQuest.rawValue [0]

    = "N/A";

    . Form1.page5.table1.row1 offSiteQuest.rawValue [1]

    = "N/A";

    . Form1.page5.table1.row1 offSiteQuest.rawValue [2]

    = "N/A";

    . Form1.page5.table1.row1 offSiteQuest.rawValue [3]

    = "N/A";

    . Form1.page5.table1.row1 offSiteQuest.rawValue [4]

    = "N/A";

    breaking ;

    }

    Thank you

    Margaret Dawn

    Just sent you an updated version... I used the article 6. .your was using [] in a javascript expression. This concept means a JavaScript array notation, so you have to wrap the expression in a xfa.resolveNode ("string that represents the expression")... or pass to formcalc where the [] are allowed.

    Paul

  • Edition with added script AS2 FLA file does not work

    I hired someone else to do the writing of scripts for animation I created originally. He calls an xml file that displays 3 different items in the flash. It works very well... except when I open the FLA and republish - even if I do not change a single thing, the SWF file does not work. I tried everything nothing helped. The writer use CS3. I use CS4, I tried with the CS3 version (on another computer). The writer and myself work on Mac. The writer has even sent screenshots of publication of windows, and I select all options of same exact. (version 9, AS2).  All the world run into this kind of problem? I'm at end of witt. I really need to be able to make changes to this file and publish it. I can post the FLA file, if someone wants to take a look.  TIA, Julie

    you are missing a greensock TweenMax class.

    I will try and attach a copy for you.  If it fails, you can go to: http://blog.greensock.com/tweenmaxas3/

    and dl the as2 version.  Place the gs folder in the same folder as banner.fla

Maybe you are looking for

  • Firefox cleans the exceptions list 'Allowed Sites - Installation of modules' after each reboot.

    Firefox cleans the exceptions list 'Allowed Sites - Installation of modules' after each reboot. I tried the new own profile - everything works fine. I don't want to installation and implementing all addons after reset of profile, so try to understand

  • Can not sync google contacts phone contacts

    I tried several times to link my accounts to what is obvious (settings > sync accounts) to empty the cache. It seems that the only way I can get them into the google contacts is to enter them manually which is crazy. It seems to be a common problem,

  • HP Chromebook model 14-X010NR: upgrading ram chromebook

    My less than a year, HP Chromebook has 2 GB of RAM - it goes back to HP, under warranty, a patch for the keyboard problem - some of the keyboard keys do not work reliably.  With this model of HP Chromebook, is it possible to increase the RAM, and if

  • Try to recognize the digitizer PXI-5922

    I've only been using LabVIEW for about a day now, so everything is more or less still new for me.  I worked for most of the startup guide to become familiar with the program.  Right now I am so he can recognize a NOR-DAQmx device.  This device has be

  • BlackBerry Smartphones SMS text cannot be deleted

    Hey guys I have a problem that may seem fairly easy to solve. I sent an SMS text message and now I can't remove it anymore. I can hide (with the option "hide sent messages" or "hide filed messages"), but I can remove it even when I press the menu key