How to apply style with grep script to finding question mark

app.findGrepPreferences = app.changeGrepPreferences = null;      
app.findGrepPreferences.findWhat = "\?";
//app.findGrepPreferences.SpecialCharacters = SpecialCharacters.QUESTION_MARK;
app.findGrepPreferences.appliedParagraphStyle = "myParS";
app.activeDocument.changeGrep(); 
app.findGrepPreferences = app.changeGrepPreferences = null;

Put one more "\" in front of "?".
and to appy "myParS" style,
app.findGrepPreferences.appliedParagraphStyle = "myParS"; this line should be changed to app.changeGrepPreferences.appliedParagraphStyle = "myParS";

Similar Messages

  • Language:  Filename with characters for arabic turns question mark

    Language: Filename with characters for arabic turns question mark
    OS: Solaris 9
    Machine: Sun-Fire 25K
    There is an adobe distiller software that is configured and a java apps. There are postscript files that are being converted to .pdf format using the adobe distiller. Using the GUI (using the Exceed; for remote access), when they use GUI to convert the postscripts to pdf files, the long filenames have the corresponding characters for arabic reading purpose. This is OK.
    When we use the windows RUN to telnet the server and convert the postscripts to pdf, it gives a question marks characters in the filenames ( this; is a sample; filename; ?? ??? ??; right.pdf )
    We are not sure now if we have to add a package of arabic or a patch to resolve this problem.
    Message was edited by:
    yurioira32
    Message was edited by:
    yurioira32

    Solution found, I'll post the work around to those who might encounter the same problem.
    Somewhere in the layers of technology (webwork or weblogic I'd guess), the servlet response is encoded into UTF-8 regardless. The encoding in the database was ISO-8859-1. Sending ISO encoded bytes by UTF-8 caused the conflicting character codes (anything above 127) to show up as undefined.
    The fix is to decode the input byte array into ISO-8859 string, then encode that string into UTF-8, which can be send by Weblogic.
    isoConvert = new String(buf, "ISO-8859-1");
    out.write(isoConvert.getBytes("UTF-8"), 0, isoConvert.getBytes("UTF-8").length);

  • Apple Macbook 13.3" Laptop-Black 2008 2.4GHz Intel Core 2 Duo will not boot up and instead I get a grey screen with a folder and a question mark over it.

    My Apple Macbook 13.3" Laptop-Black 2008 2.4GHz Intel Core 2 Duo will not boot up and instead I get a grey screen with a folder and a question mark over it.  I've tried Option key, and Control S keys and it still will not boop up.  Can anyone help?

    If you are running Snow Leopard:
    Reinstall OS X without erasing the drive
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.
    If you are running Lion or later:
    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Mountain Lion or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it isthree times faster than wireless.

  • Hi guys, problem with grey screen and flashing question mark. on top of it while in utility, i'm unable to verify, verify disc permission or repair disc0 which is obviously my main hd. any ideas where to go from here? tried to reistall osx but no luck.

    hi guys, problem with grey screen and flashing question mark. should be straight forward affair but on top of it while in disc utility, i'm unable to verify, verify disc permission, repair or even erase disc0 which is obviously my main hd. any ideas where to go from here? tried to reinstall osx but no luck, stucked when asked to chose location to install osx. would really apreciate any kind of help with this cause i'm quite new mac user. ty

    If you don't have a backup, read this:
    https://discussions.apple.com/docs/DOC-1689

  • I messed up badly by trying to restore my brand new macbook pro by doing restart then command R and choose disc utility repair now when I start ,all I get is the white screen with a folder and a question mark,What can I do???help please

    I messed up badly by trying to restore my brand new macbook pro by doing restart then command R and choose disc utility repair now when I start ,all I get is the white screen with a folder and a question mark,What can I do???help please

    Can you still boot to the Recovery partition using Command and R whilst booting? Or did you wipe the Recovery partition as well?
    If your Recovery partition is still intact, you can simply boot to it and reinstall the OS via the Internet. If you wiped the Recovery partition, you can hold down Command, option and R keys whilst booting and boot into true Internet Recovery mode. You'll be able to reformat the hard drive, erasing all partitions (format it as "Mac OS Extended (Journaled)" with a dingle GUID partition) and then reinstall the OS that shipped with your machine.
    Note that you should use a physical Ethernet connection when restoring over the Internet - it's three times slower if you use wifi.
    Try your Recovery partition first and if that doesn't work, use Internet Recovery.
    Clinton

  • My MacBook has a grey screen with a folder and a question mark in the middle what does this mean?

    My MacBook has a grey screen with a folder and a question mark in the middle what does this mean?

    It means a valid system cannot be found. You need to reinstall OS X.
    If you have Snow Leopard:
    Reinstall OS X without erasing the drive
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.
    If you have Lion or later:
    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Mountain Lion or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • White screen with a folder and a question mark in the Folder

    Hi,
    My daughter's Desktop Mac Pro won't reboot. On reboot, it shows a white screen with a folder and a question mark within, It just stays there and nothing happens. Is this a problem with a dead hard drive, dead processor, faulty USB connection, problem with airport.? We need advise and help, please!
    effie imperio

    Hi, Anonymoustache, thanks for responding.
    Yes, I think it is "a flashing question mark". If it is flashing, you think it is a hardware problem like a dead hard drive? I had a flashing question mark with my Power book G4 and Apple replaced a dead hard drive.
    Thanks Hatter, I will convey your response to my daughter and see if it will help.
    effie imperio

  • What does a white screen with a file folder and question mark indicate?

    what does a white screen with a file folder and question mark indicate upon start up?

    That the computer can't find a useable boot volume.
    Boot from your grey installer DVD disc 1 (hold down the C key on startup or hold down Alt/option on start and choose the installer disc).
    OK the language page (if present). From the installer screen, go to the menu bar and choose Disk Utility; depending on the OS version it may be in the Utilities menu or Tools menu.
    In DU, select your internal drive in the sidebar (the top item with the makers name and serial no.). Run Repair Disk (not Disk permissions). If problems are reported as repaired, run it again until you get a message in green "the volume seems to be OK".
    If it says it can't repair the disc, you may need heavier guns such as DiskWarrior or TechTool to attempt a rescue.
    Hope you have backups; retrieving data from adead drive can be expensive and tricky.

  • My MacBook Air, once pressed the power button, comes up with a file containing a question mark. I have tried re-starting it but this logo continues to appear and will not go. I cannot log onto my mac. Any suggestions as to what this is please?

    My MacBook Air, once pressed the power button, comes up with a file containing a question mark. I have tried re-starting it but this logo continues to appear and will not go. I cannot log onto my mac. Any suggestions as to what this is please?

    You need to reinstall OS X:
    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • White screen with flashing folder containing a question mark

    I attempted to boot my MacBook and it is now only showing a white screen with a folder containing a question mark. I have only had the MacBook for less than 3 months. Help!!!!

    There are four general causes of this issue:
    1. The computer's PRAM no longer contains a valid startup disk setting when there aren't any problems with the disk itself. This can be checked for by pressing the Option key and seeing if the drive appears.
    2. The internal drive's directory structure has become damaged. This requires usage of an alternate bootable system to perform the repair.
    3. Critical system files have been deleted. This requires usage of an alternate bootable system to reinstall them.
    4. The internal drive has died or become unplugged. This is the most likely case if the computer took a sharp impact or there are unusual sounds coming from its location.
    (102241)

  • How to apply style sheet to design page

    hi all,
    i have a discussion,
    how to apply a style sheet to design page in webdynpro.
    thanks
    vikash

    Hi Vikash,
    Check the below links which will you idea on the same.
    Stylesheet for WDA without integrating in SAP Portal
    Apply custom css to WebDynpro application
    Thanks
    KH

  • Cell Styles with a script

    Is there anyway to style table cells with a script, I can't fine any answers, all I'm after is to add a one cell style to the header row, then a different cell style to the rest of the table?
    is it even possible, any pointer would be great?
    Many thanks!

    Hi Harbs
    Thanks for your reply, I am new to this, and am finding it hard, if you have any example scripts I can have a look at that would be great.
    Many thanks,
    jamb

  • How to apply style sheets to table layout

    hi i want to apply styles to my table layout region, i gave style sheets which are in OAF myhtml\OA_HTML\cabo\styles but i dint find any changes in my table layout, can any give one give me an idea of how to do it....

    Check the OAF personalization guide for details on custom CSS. It won't be possible for me to summarize the whole thing here.
    --Shiv                                                                                                                                                                                                                                                                               

  • How to overwrite styles with CSS?

    I have a large number of older html documents (I use Dreamweaver CS3 Premium) that were originally built using "regular" styles. I have tried to overwrite these old styles with CSS but this doesn't work. I first delete the old styles, attach the CSS and then apply the new CSS style, but artifacts of the old style remain, such as text colour, background colour, even font size. This has become a major time problem as I have to undo each element of a style to an item before I can successfully apply the new CSS. As I have over a hundred of these files to update, this process is costing me an enormous amount of time. Surely there must be a better way to apply new styles. Any help would be much appreciated.

    I’ll try to explain this problem again. The old HTML document has, for example:
    <style>
        .h1blue
        .h2blue
        .body
        .footer
    So .h1blue is “Arial, Helvetica etc,” size 16 pixels, font weight bold, color #000066.
    I first delete this set of styles and then attach a new CSS:
    ALPHA 210 new.css
        .body [Arial, Helvetica, etc.; size 12 points, line height 16 pts]
        .head1Brown [Times etc; size 18 points, font weight bold, color #663300]
    When I apply .head1Brown, for example, the result is Arial 18 points rather than Times, and color #000066 (blue) rather than #663300 (brown). This means that I have to undo the font info (back to default), undo the color (to black), then reapply the style. Sometimes I have to do this 2 times or more for it to take.

  • With grep script help

    from the image processing with the script can we do

    only the selected text do how should I write command to
    app.findGrepPreferences = app.changeGrepPreferences = null;      
    app.findGrepPreferences.findWhat = "(.+?)~f(.+?)~f(.+?)\r\s+(.+?)\s\s+(.+)";
    app.changeGrepPreferences.changeTo ="$1\t\t$2\r$3\t\t$4\r$5";
    app.activeDocument.selection[0].changeGrep(); 
    app.findGrepPreferences = app.changeGrepPreferences = null;

Maybe you are looking for

  • Problem in creating new versions for existing DIR using CV01N

    I am working in SAP ERP 6.0 EHP 4.0 system. I have problem in creating new versions for existing DIR using CV01N I create a DIR version 00 with functional location and mpd cycles. Then when i try to create a new version by copying the contents create

  • Export as HTML to desktop ( outside Mobile App)

    Hi all, Right now we are in 4.1 SP2, Just checking whether there is any new feature added in the recent upgrade on Export Dashboard ( Xcelsius ) as HTML to desktop ( outside Mobile App)

  • Is it possible to import Reports in BAM Active Studio?

    Hi, i exported (saved as) a Report in BAM Active Studio as a .mht file. Now i'm searching for a possibility to import this Report on another Server. There seems to be no way to import it directly. Even on the file system is no folder where it can be

  • Using the EX2500A LXI-VXI interface in LabVIEW

    Not sure if this is bad form or not, but I'm duplicating a post from the VXI forum (it seems very, very dead) and it is also (sorta) a LV issue. I'd normally wait, but sadly I'm on a bit of a time crunch now. I was wondering if anyone had gotten this

  • ACS External DB Error

    Greetings Everyone, I am having an issue with an ACS unit that has been in service for about a year.  It was setup by a contractor to hook into AD.  I am not that familiar with it it but the issue is we added a new network tech that is a member of th