InDesign CS3 find and edit error

My goal is to find a few words in a file and then apply to a specified character style, but it does not work.

According to the notes of the Adobe. :

More complex example:

text {findWhat: ' ^ 9 ^ 9.} {' ^ 9 ^ 9 '} {appliedCharacterStyle: 'price'} {include notes: true, include master pages: true include hidden layers: true, any word: false} find $ 10.00 to $ 99.99 and apply the character style 'price '.

I should be able to get what I want. But it gives me an error like this:

but I get this error:

Error number: 25

Error string: expected:.

Line 159

Can someone tell me how can solve this problem.

Thank you and please!

I think that the right of Jongware, this example has mixed AppleScript with Javascript, so it does not completely work in one or the other. AppleScript cannot cross the "findWhat", so he bombs on you there. If you try to run it through Javascript, it is bombing to the reference framework, which is written in the format AppleScript.

Try this, through Javascript:

text {findWhat: ' ^ 9 ^ 9.} {' ^ 9 ^ 9 '} {appliedCharacterStyle: 'price'} {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeWord:false} find $ 10.00 to $ 99.99 and apply the character style 'price '.

or this in AppleScript:

text {"find what:" ' ^ 9 ^ 9 ^ 9 ^ 9 '} {applied the character style: 'price'} {include notes: true, include master pages: true include hidden layers: true, any word: false} find $ 10.00 to $ 99.99 and apply the character style 'price '.

Tags: InDesign

Similar Questions

  • Please HELP: How do I find and edit a D7000 Nikon RAW files in Photoshop CS? (I downloaded Adobe DNG Converter 9.0, but when I try to download a file no picture and it says gray: "no item corresponding to your search.")

    Please HELP: How to view and edit RAW files from a Nikon D7000 in Photoshop CS?

    I downloaded Adobe DNG Converter 9.0, but when I try to download a file no picture and it says gray: "no items match your search."

    I'm in tight (like most designers), so any solution ASAP would be great. And Yes, I know that my Photoshop is old. Nothing I can really do about it at the moment. Thanks in advance!

    In Photoshop, select help > about plug-in > Camera Raw.

    If it is 2.3 or less, you need to update Camera Raw 2.4, which you can download here:

    Adobe - Photoshop: for Windows: Camera Raw 2.4 update

    Adobe - Photoshop: for Macintosh: Camera Raw 2.4 update

  • Question on find and edit function

    I need to change the size of the mark of R 'Neimology® science' and I want to use find and change in function to make sure that I don't miss a since there is so much.

    I can't figure out how to get the changes in the change to field. Can someone tell me how to get the information you have entered.

    At the bottom of the Find/Replace dialog box, see the Format change. Access it by clicking on the magnifying glass/T symbol.

  • Find and edit ports of Windows 7 sp1

    I want to know how to find my USB ports, as my printer is taking all of my ports, where it should be only on LPT1.

    LPT1 is not a USB port, it's an old legacy port which most new computers have more.  If you want to see which port is a printer, click Start-> devices and printers.  Right click on the printer and click on properties, then click the Ports tab.  Which will tell you the name of the port.

    Good luck.

  • InDesign CS3 - find - change

    Is it possible to find the first character in the online space and replace it with a tab?

    Jongwares solution is perfect.

    ^([^\s]*)\s

    What jongware meant was that instead of using the symbol #, replace it with a SPACE in your space bar.

    The above works too--it's just GREP for all white space, which includes; tabs, spaces figure, en and em space etc.

    Jongware wanted to do you is not use the \s, but use a instead of the space bar instead of «#»

  • JS CS4: Find and edit the text with a specified spot

    That's what I have so far:

    myDoc var = app.activeDocument;
    mySplit var = myDoc.name.indexOf ('_');
    var myFileName = myDoc.name.slice (0, mySplit + 3);
    Alert (myFileName);

    app.findTextPreferences = app.changeTextPreferences = null;
    app.findTextPreferences.findWhat = "Nx."
    app.findTextPreferences.swatches.item ("Proof");
    app.changeTextPreferences.changeTo = myFileName;
    app.activeDocument.changeText ();
    app.findTextPreferences = app.changeTextPreferences = null;

    "app.findTextPreferences.swatches.item ("Proof");" is not for me.

    Can someone tell me the correct verbiage on how to set swatch color preferences as well as the text needs to be replaced?

    Thank you

    John

    Hi John,.

    Looking in the OMV under "findTextPreferences", you won't find "gamut", but you can find "fillColor".

    So, instead of doing:

    app.findTextPreferences.swatches.item ("Proof");

    Fox

    app.findTextPreferences.fillColor = "Proof."

    or as I did below, assign a grade to a variable and use the shade as fillColor argument.

    myDoc var = app.activeDocument;
    mySplit var = myDoc.name.indexOf ('_');
    var myFileName = myDoc.name.slice (0, mySplit + 3);

    var myFindSwatch = myDoc.swatches.item ("Proof");

    Reset search options

    app.findTextPreferences = NothingEnum.nothing;
    app.changeTextPreferences = NothingEnum.nothing;

    app.findTextPreferences.findWhat = "Nx."

    in CS 3, there is a bug that prevents you from doing this
    http://forums.Adobe.com/message/1114413#1114413
    app.findTextPreferences.fillColor = myFindSwatch;

    app.changeTextPreferences.changeTo = myFileName;
    app.activeDocument.changeText ();

    Reset search options

    app.findTextPreferences = NothingEnum.nothing;
    app.changeTextPreferences = NothingEnum.nothing;

    --

    Thomas B. Nielsen

    http://www.nobrainer.dk

  • Bookmarks: Unable to find and edit in the Bookmarks Manager

    I want to clean my favorites that are a real mess and have been moved from one computer to another over the years. If I click on bookmarks, all list shows but if I click on the bookmarks show are all bookmarks, only tidy folders, not display bookmarks that are not in the files. Then someone know how I can get all the bookmarks sorted showing? They are not in the unsorted bookmarks folder.
    Thank you
    Jayne

    N the bookmarks manager that is labeled Menu bookmarks is itself a record. That opens on the right side of scroll down, who can then be bookmarks that you have not yet found.

    If bookmarks are those on the bookmarks toolbar look in this folder.

  • Conflict of InDesign CS3 and CS5 installation

    Hello

    We have Indesign CS3 installed and plan to upgrade to CS5. Is there a conflict by installing both version into one system? We want to keep the CS3 version.

    DennisM

    Both versions can coexist on the machine of the CAs, and I highly recommend you keep CS3 available.

    In addition, it is advisable to NEVER overwrite the version CS3 when convering CS5. There is no possible way to get a saved file CS5 to CS3 not CS4. Moreover, even if this isn't the norm, there are frequent reports of problems with the bad files conducted after the conversion of CS3 to CS5, I am now recommending export from CS3 .inx and opeing in CS5 instead of the .indd.

  • AppleScript which rotates all clipping paths in InDesign CS3

    At the following link, there is an Applescript script to light all clipping paths and another script to turn everything off. The script to turn off works great.

    http://forums.Adobe.com/message/1106200#1106200

    I get an error when you try to run the script to enable clipping paths.

    Adobe InDesign CS3 has been an error: invalid value for set property 'type of cutting. Planned none / detect the edges/alpha channel/photoshop path/user path of change, but has received (= > ("clippingpath", (cutting type = > traced photoshop, applied path name = > "Path 1"))).

    Running InDesign CS3 version 5.0.4

    Any ideas on how to solve this problem?

    Thank you

    The forum ate my post. I would try again.

    You cannot use 'all', you must use the name that was used when the path was made. You can find the names by getting "the photoshop clipping paths" of an image.

    It works very well here:

    Tell application "Adobe InDesign CS3"

    Tell document 1

    all graphs the value allPics

    Repeat with i from 1 to number of allPics

    define paths to the names of path of photoshop clipping point of allPics i

    If (count elements of paths) > 0 then

    {set the Properties of the point i of allPics to {(traced clipping:{{class=fontblue}}applied the name of path:(point 1, path), type of cutting:traced photoshop}}

    I allPics Properties of the traced clipping point

    end if

    end repeat

    tell the end

    tell the end

  • Cannot edit and save my Illustrator CS3 box files-unknown error occurs?

    Cannot edit and save my Illustrator CS3 box files-unknown error occurs? my program is corrupted?

    Choose to run the application in XP mode. Google for additional assistance.

  • Just bought the new pc with Windows 8.1 and cannot re - install InDesign CS3. Can anyone help?

    Just bought the new pc with Windows 8.1 and cannot re - install InDesign CS3. Can anyone help?

    Hi Dale,

    You can follow the article: system requirements | InDesign to check if the CS3 products can run on InDesign CS3.

    Also please let me know what error message you get while re installation of InDesign.

    Thank you

    Yann Arora

  • Import and run several text documents in InDesign CS3

    I have several files to plain text, where each runs several pages long I want to import into a single document in ID CS3. I want to import them and to make them sink in a framework unique block of text one after the other on several pages. With a single text of several doc page all what I have to do is select the place and hold down the SHIFT key and InDesign adds the necessary pages and run the copy until the end of the doc. However, if I move select the docs and import to try in a text frame by holding down the SHIFT key, it will just flow the first doc in the group without any indication of overset text. I tried to place several docs of text, hold down the shift and command and brings all my docs on the first page, but in the text boxes separated with text in excess for each doc. Is it possible to do this in InDesign or maybe a plugin that can do this?

    Thank you

    Randy

    I tried to find it. It was published on 21-04-08 by Peter Kahrel (I can tell because I see on my side of the discussion in my "sent" folder) in response to a post I did called "multiple files". Maybe I'm not the research archives forum correctly, or maybe it was during the time of last year when Adobe was trying (and failing) for updating the forums. In any case, I know at this time as Peter post this for public consumption, so I don't think he's going to mind if I post again:

    -------------------------------------------------------------------------

    Description: Place several textfiles as a story

    indesign #target

    default = "/ d/books/test/*.doc";

    app.wordRTFImportPreferences.useTypographersQuotes = false;
    app.wordRTFImportPreferences.convertPageBreaks = ConvertPageBreaks.none;
    app.wordRTFImportPreferences.importEndnotes = true;
    app.wordRTFImportPreferences.importFootnotes = true;
    app.wordRTFImportPreferences.importIndex = true;
    app.wordRTFImportPreferences.importTOC = false;
    app.wordRTFImportPreferences.importUnusedStyles = false;

    mask = prompt ('Enter a file path/mask.\r\r' +)
    "Examples: \r" +.
    ("d:\\books\\test\\*.rtf /d/books/test/*.rtf", preset).

    If (mask == null) exit();  Cancel the pressed

    FF = folder (file (mask) .path) .getFiles (File (mask) .name);
    If (ff.length > 0)
    {
    place = [];
    lack = [];
    = app.documents.add) (tframe. textFrames.add
    ({geometricBounds: [36, 36, 400, 400]}) ;
    placedstory = tframe.parentStory;
    app.scriptPreferences.userInteractionLevel =
    UserInteractionLevels.neverInteract;
    PB = initprogressbar (ff.length, "Loading");
    for (i = 0; i< ff.length;="" i++="">
    {
    PB. Value = i;
    Try
    {
    placedstory.insertionPoints [-1] = .silence ' £0 ';
    placedstory.insertionPoints [-1] concerned (ff [i]);
    placedstory.insertionPoints [-1] .silence = "\r\r";
    placed.push (.name ff [i]);
    }
    catch (_)
    {
    Missed.push (.name ff [i]);
    }
    }
    app.scriptPreferences.userInteractionLevel =
    UserInteractionLevels.interactWithAll;
    inform = ";
    If (placed.length > 0)
    inform = 'Placé' + ff.length + ' files (in this order): \r\r' + placed.join ('\r');
    If (missed.length > 0)
    inform += "\r\rCould no place: \r\r" + missed.join ('\r');
    delete_empty_frames ();
    alert (notify);
    }
    on the other
    Alert (mask + "is not found.");

    End

    function delete_empty_frames)
    {
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = "\\A\\Z";
    var empty = app.activeDocument.findGrep (true);
    for (var i = 0; i)< empties.length;="">
    Empties [i] .parentTextFrames [0]. Remove()
    }

    function initprogressbar (stop, title)
    {
    var progresswindow = new window ("palette", title);
    ProgressBar = progresswindow.add var ("progressbar", not defined, 1, stop);
    progressbar.preferredSize = [200.20];
    progresswindow. Show()
    return of the progressbar;
    }

    -------------------------------------------------------------------------

    Copy and paste everything between the lines of hyphen (excluding dash lines) in a text editor and save it with the extension .js and put it in your scripts folder. Should be something like:

    D:\Program Files\Adobe\InDesign CS3\Adobe InDesign CS3\Scripts\Scripts Panel

    After the alphabetical order of your files and put them in their own folder, copy the path and run the script. It will make a new folder and place all of your files in a continuous narrative. I don't know how it will work with .txt files.

    Ken Benson

  • Where can I find and download the file "Windiag.iso" for Windows XP Home Edition?

    Where can I find and download the file "Windiag.ISO" for Windows Xp home edition?  IT TURNS OUT THAT HE MUST FIRST DOWNLOAD AND RUN A FILE NAMED 'MTINST. "EXE", AND THAT IN DOING SO, THE FILE NAMED "WINDIAG. ISO"IS CREATED.

    Hello

    You can check this link:

    http://oca.Microsoft.com/en/windiag.asp

  • Ideas: I get the 0x80073AFC error code when I try to use the system restore then, how can I find and replace this file missing MUI?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: I get the 0x80073AFC error code when I try to use the system restore then, how can I find and replace this file missing MUI?

    • I am running Windows 7 for packs SP 1 or SP 2 does NOT solve my problem since neither one works with Windows 7.  Is there a way to search for this MUI (Multiple User Interface) missing file? The every thing must have himself installed in the first place. I took my mom (she died in June) and my brother on this PC as users so even if they do not use this PC supports multiple users. Maybe if I deleted as a reboot and additional users it will solve my problems. My updates install OK but I can't run at all system restore. It creates a restoration point OK but when I try to sr back to a restore point before I get the error 0x80073AFC topic of the missing MUI file. Then, when I spear SR it is said that he could not and no files have been changed because of the error 0x8000FFFF error, unspecified catastrophic failure and could not retrieve the file several times when system restore is attempted.

      I'm running Windows 7 on a HP Pavilion with browser Firefox 3.6.8 browser Opera 10.60, IE8 and Google Chrome 5.0.375.125 browser browser.

      Can you tell me what I try next? Thnks a lot and sayonara for now the guy-Jack McElwee / keimanzero the Scion of the Anime in Brookhaven PA - USA

      OK I tried everything and nothing works! Only added beginners are updated browser Opera 10.63; IE9 (Beta); Firefox 3.6.12 and Google Chrome 7.0.517.41 and Java 22. Of course like everyone else in the world, I had to uninstall/enable and disable/download again and reinstall new Adobe Flash 10 and 11 of the shock wave and they keep crashing too! Hello 4 keep screwing browsers and now I get connection network problems. I run Comcast doctor and did everything it said to do, but nothing works. Oh and I added 7-Zip and WinZip also. Likewise, they will not work! Help! Thanks - K & K

    keimanzero,

    Comcast of Norton Security Suite version is installed? If Yes, who and perhaps malware is most likely to cause questions you have published, in particular the failure of the restoration of the system.
    First, configure the system to boot - How to solve a problem by performing a boot in Windows Vista or in Windows 7
    NOTE: Start-up mode minimum state all the 3rd party firewalls will be disabled. Open Control Panel > Windows Firewall to make sure that the native firewall of Windows 7 is now on.

    Download and Save the update system (or CheckSUR) tool. You will need to download the specific Version of CheckSUR corresponding to the architecture of the system to Windows 7. If you do not know the architecture of the system, and then click the link that says "Click here to show or hide the instructions step by step with images" under method 2: download the update directly system preparation tool from Microsoft Download Center .
    Description of the preparation tool system update for Windows Vista for Windows Server 2008, for Windows 7 and for Windows Server 2008 R2

    Once the download is complete, close all open programs and browsers. Now, run CheckSUR with the system connected to the internet because it will download the .cab for system files. Reboot once CheckSUR is complete.

    Secondly, I suggest that you run the File Checker system while in the same clean boot state.
    To run the System File Checker tool, follow these steps:

    1. Click Start and type cmd in the field search programs and files .
    2. Right click on cmd.exe in the programs of list, and then choose 'run as administrator '.
      If you are prompted for an administrator password or a confirmation, type your password or click on continue.
    3. At the command prompt, enter the following line exactly as written including the space between thec and the/and then press ENTER:
      sfc/scannow

    When the analysis is complete, test to see if the problems facing the system have been resolved.

    If they are not, you will need to contact Norton support for the version of Norton Internet Security Comcast to get help, or just uninstall NIS, run the Norton removal tool (right click Norton_Removal_Tool.exe, choose "Run as Administrator"), reboot and then check to see if the problems are still occurring.

    Expert MowGreen Windows IT Pro - consumer safety

  • where can I find and download codec fo error COOD109B?

    My windows Media Player will play is no longer files.  Where can I find and download the codec appropriate for the COOD109B error message?

    Hello

    I suggest you to download and install the package from this link and check if it helps:

    http://www.Microsoft.com/download/en/details.aspx?displaylang=en&ID=507

    It will be useful.

Maybe you are looking for

  • Equium M50 does not stop

    I'm having this problem with my equium M50, it works fine, but when it comes to paralyze the system, the system seems to close as requested, but as soon as the system is turned off, it immediately starts up again! The same thing happens when I want t

  • HP 15-f033wm: HARD DISK 1 FAILURE

    On startup, I get a message that the hard disk failure is honor.  I ran diagnostics and received no ID failure: 9BVWXV-7J488N-MFPV7A-60CN03 The product ID of the laptop is: J9M35UA #ABA Is the serial No.: (deleted content) I don't think that it's sti

  • Live copy of a deployment system

    I saw a reference to an article that explains why you can not just copy screws to a deployment system. I took as gospel, but now am being bothered by skeptics. I too got a way with a few times but more often now it does not work. Could you point me t

  • Phone calls Nusicance

    A company called am (although they sometimes refer to themselves as Support Advance) regularly call my house and have done so for the past 2 years. I repeatedly asked them to stop. I'm on the TPS list, but as these calls are from the India I don't th

  • the sims3 game laucher does not open to play

    I played the sims3 for several months, and now the game Launcher does not open to play the game. He won't go to the black screen before the green diamonds came then go to my office. Now, it stays black. I uninstalled and reinstalled but still the sam