Why not there a "Find/replace in Grep style" inside the Para style?

Whenever I type a digit in my text, it should be colored red as per style. I do this by grep style inside the para style, but now I need to insert brackets before and after of the digit(s), i realize that there is no replace option in grep style in the para style. Why not it be there a "find/replace" instead "find" only as it now appears?

Ya, this is simple, finding a specific para style with digit and change them, when the book in first pass. But while in the correction pass of the same book, whenever we are inserting more text into the document, there are chances to be unaware of the digit style that, it should be surrounded by brackets, and it happened earlier so I have a thought of it. Again, while paginating a book having more than 350 - 600 pages, and 3 to 4 guys working in it, I think this may work.
Expecting your valuable comment on this.
Thangaraj Mohan.

Similar Messages

  • JS: Finding & replacing a character with a certain para style

    I'm scripting an automated indd -> PDF project and I need to minimise the user input.
    To this end, I want to search and replace commas in a particular cell of a table (which are the only instances of a particular para style), and replace them with forced line breaks.
    The script I have for another part of the XML import looks like this:
    //Search the document for the umlauts and replaces them with macrons. I
    app.findTextPreferences.findWhat = "Ï";
    app.changeTextPreferences.changeTo = "Ī";
    myDocument.changeText();
    What do I add to a similar script to make it target only content whish has a particular para style? And will it be compatible with CS4, 5 and 5.5, i.e. be agnostic to nested styles etc?
    Thanks in advance,
    Simon.

    Use app.findTextPreferences.appliedParagraphStyle:
    app.findTextPreferences.appliedParagraphStyle = "my_style";
    .. your snippet here ..
    I bet there is a reset somewhere above your snippet:
    app.findTextPreferences = null;
    app.changeTextPreferences = null;
    and it would be safest to insert this as well below your code, or else this particular setting will "stick" and also be applied to following replaces.
    This command is virtually unchanged since CS3, CS4? So far it seems to work in every version since then. But either way it's inconsequential to your nested styles, as these can only be character styles.

  • Why can´t  I find my 5d Mark ii in the finder when I connect it with my mac?

    Why can´t  I find my 5d Mark ii in the finder when I connect it with my mac?

    Because it is not a mass storage device that would appear in the Finder. It uses the Picture Transfer Protocol (PTP) to interface with a computer. It can be accessed using an application that uses PTP, such as Image Capture, iPhoto, Aperture, or Canon's software. These applications also support more camera-specific features than the Finder would, such as tethered shooting and possibly camera clock synchronization.

  • My iPod got stolen  and I did not turn on find my ipod and they restored the ipod so I can not locate it on the map

    my iPod got stolen  and I did not turn on find my ipod and they restored the ipod so I can not locate it on the map
    please help me because it was a birthday present from my Grand ma.

    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it.
    - Apple will do nothing without a court order                                                        
    Reporting a lost or stolen Apple product                                               
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • Why is there several minutes of black running time at the end of the videos I am producing in Final Cut Pro 6?

    Why is there several minutes of black running time at the end of the videos I am producing in Final Cut Pro 6?

    OK, wish you luck over there, seems like somebody over there should be able to help.
    If you don't get help, post back here & I'll try to find somebody in the top users that can help.

  • Not able to find userChrome.css file for customizing the Firefox browser. I just installed 20.0.1 firefox browser. Want to disable/remove navigation bar.Pls Hlp

    Not able to find userChrome.css file for customizing the Firefox browser. I just installed 20.0.1 Firefox browser version.
    I want to disable/remove navigation bar from the browser window, making the browser to work like kiosk mode.
    Please Help,
    Thanks,
    Vishal.

    hello,
    here is the complete path ..
    ''C:\Documents and Settings\XXXXXXX\Application Data\Mozilla\Firefox\Profiles\chrome"
    Let me know
    Thanks,
    Vishal.

  • HI,  I bought my iphone 5 from you guys. all good apart from one thing, FACETIME is totally missing from my phone and its not there in my settings too. kindly advise with the reason or if there any upgrades to be done.  Many Thanks,  Chamara Kodagoda

    HI,
    I bought my iphone 5 from you guys (online Apple Store). all good apart from one thing, FACETIME is totally missing from my phone and its not there in my settings too. kindly advise with the reason or if there any upgrades to be done.
    Many Thanks,
    Chamara Kodagoda

    We are all iphone userss just like you.  You did not buy your iphone from us.
    You are not addressing Apple here at all.
    Did you buy the iphone ins the Middle East?  If so, it will never have facetime. It is not allowed by the government.

  • Why is there a white line o my screen when the screen is a darker color

    why is there a white line o my screen when the screen is a darker color

    Please post a screen shot of your display.  It will help to determine what needs to be done.
    Ciao.

  • Why is there a horizontal line a quarter inch above the Home button on the iPad main screen all of a sudden?

    Why is there a horizontal line a quarter inch above the Home button on the iPad main screen all of a sudden? Does that mean the screen itself is problematic?

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.
    If that doesn't help I suspect there is a hardware problem with the iPad. Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support.

  • Why is there a clicking noise in my ipod and the error message keeps coming up

    why is there a clicking noise in my ipod and the error message keeps coming up i tryed reseting it and it wont do anything

    Video conversion - Handbrake
    Video Conversion – Video Converter
    Video Conversion – Video Converter Ultimate
    Video Conversion – Video Mate

  • TS1277 why isnt there a delete option when i right click the sc info folder?

    why isnt there a delete option when i right click the SC info folder?

    You may need to have administrator rights to delete it. Right-click on the Windows Explorer link in your Start Menu and use Run as...
    tt2

  • I brought apple lightining cable from authorised shop , but my i phone is not getting charged with that how can i know its orginal or not there is no printing on that cable and the wire is little harder than which i was using before it came along pho

    I brought apple lightining cable from authorised shop , but my i phone is not getting charged with that how can i know its orginal or not there is no printing on that cable and the wire is little harder than which i was using before it came along with phone.., Please let me know is the cable is orginel or not ..

    the phone says it is not charging even though it actually is. Check and see if that's the case. A very underhanded trick by Apple so they can charge 10 times what the cable is worth. They do not win admirers by that proprietary trickery.

  • I could not able to open a .doc,.xls,.ppt inside the iframe tag in IE7.

    Hi all,
    I could not able to open a .doc,.xls,.ppt inside the iframe tag in IE7.
    what should i do?

    Hi,
    Question is,: when ever i call the .doc,.ppt,.xls files are not coming inside the iframe tag in IE7
    I am keeping the all files in separate storage area lik d:/StorageLoc/Docs/Sample.doc
    when ever i am calling the sample.doc through web,
    http://localhost:8080/VContext/OpenFile
    i am accessing the word,ppt,xsl files inside iframe
    like
    var fils= "d:/StorageLoc/Docs/Sample.doc";
    <iframe src="/VContext/OpenFile?r2=fils"></iframe>
    OpenFile.java [servlet file]
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException
    try
    String s2 = request.getParameter("r2");
    String s3 = null;
    String s4 = "txt";
    if(s3 != null && s3.equals("download"))
    response.setHeader("Content-disposition", "attachment;filename=output." + s4);
    if(s4 != null && s4.equals("pps"))
    response.setContentType("application/vnd.ms-powerpoint");
    if(s4 != null && s4.equals("doc"))
    response.setContentType("application/vnd.word");
    if(s4 != null && s4.equals("tif"))
    response.setContentType("image/tif");
    }else
    response.setHeader("Content-disposition", "inline;");
    if(s4 != null && s4.equals("pdf"))
    response.setContentType("application/pdf");
    else
    response.setContentType("application/octet-stream");
    try
    javax.servlet.ServletOutputStream servletoutputstream = response.getOutputStream();
    File fileFound = new File(s1 + s2);
    if(!fileFound.exists())
    s2 = "Photos/notfound.gif";
    FileInputStream fileinputstream = new FileInputStream(s1 + s2);
    ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream();
    byte abyte0[] = new byte[0x500000];
    do
    int i = fileinputstream.read(abyte0);
    if(i != -1)
    bytearrayoutputstream.write(abyte0, 0, i);
    } else
    byte abyte1[] = bytearrayoutputstream.toByteArray();
    response.setContentLength(abyte1.length);
    servletoutputstream.write(abyte1, 0, abyte1.length);
    servletoutputstream.flush();
    servletoutputstream.close();
    return;
    } while(true);
    catch(Exception e)
    System.out.println("IGST-INFO:" + e.getMessage());
    e.printStackTrace();
    }

  • Trying to find replacement battery thats performs like the original

    I have a aluminum unibody 15" MacBook Pro, it's about year and a half old. The battery isn't performing like it used too, and I'm looking to replace it. The only problem is that every review I read says the the replacement battery is horrible compared to the original, even from the apple website and OEM. Does anyone know where I can find a replacement battery that will perform the the original battery came with it?

    I think that your best option is to get one from Apple even though it will be the most expensive.  I have seen no statements in regards to the quality of them, but I have no reason to believe any one might have better ones.
    I have seen that through Amazon one can order OEM batteries for Apple MBPs and at more favorable prices. They look 'real' and I suspect that they are gray market items.  Nevertheless Caveat Emptor.
    iFixit.com also sells MBP batteries, but I don't know if they have any in stock.
    I certainly would avoid anything offered on e-bay in the bargain category.
    If you do choose to go third party, note that you will need a #0 Triwing driver for the battery swap.
    Ciao.

  • Why is there no email option under site settings in the Business Catalyst Dashboard?

    I have pushed a site live, and it has propegated, and looks fine on the Internet, but there is no email option under site settings in the Business Catalyst Dashboard as the tutorial and help screen said there would be.
    The domains all look correct, and there is an MX record as well. Did email get moved to another screen, or is there something wrong in my setup?

    On the page found at ttp://helpx.adobe.com/business-catalyst/partner/setup-pop-imap-email-accounts.html
    it says that there should be a "users" field under "Site Settings," and that is where email accounts are set up. There is not, any more than there was a "email" field as referenced in the tutorial (as you can see from the screen shot above). I can no longer correspond with Adobe, since my primary email address on file with Adobe was with the domain that was transferred to Business Catalyst.

Maybe you are looking for

  • How can I determine if certain footage is interlaced or progressive?

    Hi everyone, I shoot and edit my own ski/snowboard films every year. I use a Sony HDV V1U. When filming, I constantly switch between 30p and 60i depending on the shots. I do this because 60i can provide smoother slow motion in post. Problem is, when

  • Ewfmgr: Failed getting protected volume configuration with error 1

    Hello, I created a Windows 7-64 image for an Ivy-Bridge VME card. The image contains EWF with RAM-REG. The disk was divided into 2 partitions with the windows installer and the image was successfully installed. As I'm using RAM-REG, all the disk was

  • Can't save iBot on success start of scheduler

    Hi All, I have a problem that I need some help with and I'm hoping someone can help. I've configured the BI Scheduler and started it - it starts up successfully: 2011-01-28 15:31:31 [16020] Metadata Database Type: Oracle 10g R2 Data Source Name: DEV

  • Creating an executable from forms,reports,libraries,menus etc.

    Dear All, How do I create an executable from the complied forms,reports,menus,libraries which I have developed. How do I incorporate the runtime for forms & reports within this executable. Regards, Murtuza M Rangwala For ALIF Management Services Pvt

  • Benefits and Travel Manager

    Hi, In our company we have some type of claims  like medical, transport etc where in the entitlement of an employee is maintained under one customized table. and utilization amount by the employee is maintained under another customized table. We use