Scripting - adding a line to the exponent of the copyright and brand symbols

I get a lot of text files from the writers and editors with™ and®'s. In InDesign, I add a line or two for the FindChangeByList script to automatically exposing these symbols. Can someone give me the GREP for this? If he could also find some MSDS superscript (where the author does not know how to create the™ symbol, but knows how to the Exhibitor, so they pretend) and replace them with™ s be fantastic.

Thank you.

Hi ejcarter9,

You don't need a GREP search for them - a text search will work just fine. Add the following lines at the end of the definitions of the FindChangeByList.txt file (I assume you are using the version of JavaScript... right? If not, I will need to change the lines a bit):

text {findWhat: "^ d"} {position: Position.superscript}, {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeWord:false} find symbols (TM) brand and make them exposing.
text {findWhat: "^ r"} {position: Position.superscript}, {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeWord:false} find trademark (R) symbol and make them exposing.
text {findWhat: 'TM', position: Position.superscript} {changeTo: ' ^ d ', position: Position.superscript '} {includeMasterPages:true, includeHiddenLayers:true, includeFootnotes:true, wholeWord:false} find the Exhibitor brand symbols typed as a "TM" and transform the symbols of the mark by exposing.

You may need to add tabs between fields after you have copied these lines on this message - I'm not sure that the forum will maintain their when copy/paste.

Always nice to hear from anyone using FindChangeByList! This is one of my favorites.

Thank you

OLE

Tags: InDesign

Similar Questions

  • Added new line at the top of tabular form in APEX 5.0 and universal theme (topic 42)

    Hello Apex Experts,

    When the user clicks on the button 'Add Row' a tabular presentation, I would like the new line to be at the top of the report rather than the bottom.


    I followed the instructions from Added new line at the top of table in APEX 4.0 form and Denes Kubicek demo application. But it does nothing, always create new bottom line.


    Anyone have an idea or an idea?


    Your help would be appreciated.


    Kind regards

    Blabla

    Hi all

    This problem is now solved by following the new blogpost of Dene:

    http://www.deneskubicek.blogspot.de/2015/05/tabular-form-add-rows-top-universal.html

    Kind regards

    Blabla

  • Qosmio G30 - white lines on the screen and BSOD

    1. I have a Qosmio G30
    2 operating system Windows XP MCE
    and I have problem "white lines on the screen ' when windows start to load after that I got the"blue screen of death"and restart the computer.
    I try to get back, but unfortunately came with the laptop recovery CD doesn't seem to work...

    Whenever I finished to recover I have "windows loading files" and once this is done, it shows me the so-called "blue screen of death"...

    Hello

    I m afraid. I have bad news for you ;(
    I think you ve you have a problem with the hardware in my eyes, there might be something wrong with the GPU chip.
    The white lines on the screen could be related to a faulty graphics card and get the BSOD error due to a hardware malfunction or software serious questions

    I m sure that the recovery CD does not contain software problems and therefore only the fault of hardware could be the reason for the lines on the screen and the BSOD.

    In my opinion, you should contact the ASP in your country for assistance if all goes well you guarantee is valid.

    Good luck

  • A document I had previously recorded on my flash drive. All of a sudden the paragraph symbol appeared at the beginning of each line in the document and in documents on flash drive

    Original title: Word 2003 Documents

    I was working on a document I had previously recorded on my flash drive.  All of a sudden the paragraph symbol appeared at the beginning of each line in the document and all documents on the flash drive.  In addition, it appears on every document in the my documents folder.

    Can anyone help?

    Google search:

    How do I turn off paragraph symbol in Word 2003

    "You should have a paragraph symbol button in the bar... click on this tool and formatting symbols will disappear."

  • I have an epson printer p950 and try to print from lightroom. I get lines across the image and Epson tell me I need to contact you to find out how to slow printing

    I have an epson printer p950 and try to print from lightroom. I get lines across the image and Epson tell me I need to contact you to find out how to slow printing

    Suggest you to reset preferences in Lightroom and then, check out: to zero (or "Screw up") the preferences of Lightroom - Lightroom Forums file

  • Photoshop CC 2015 is a line connecting the start and end of the brush strokes

    Hi guys,.

    I had a strange problem with a certain brush (size 5px, difficult tour, no shape dynamics, no transfer) in Photoshop CC 2015.1.2.

    It only happens when the drawing very fast on my Cintiq 22HD.

    The problem is PS is a line connecting the start and end of the brush strokes. I don't hold in shift or whatever it is.

    PScc_problem.jpg

    Here's my brush settings:
    Capture.JPG

    I use a PC with these specs:

    Intel Core i7 - 4790 K 4.00 GHz

    ASUS motherboard

    NVIDIA GeForce GTX 970 (10.18.13.5354 driver version)

    16 GB OF RAM

    Cintiq 22HD

    Win 10

    Is it a question of PS or Cintiq?

    Thanks for help.

    OK, here is therefore an update.

    The problem is not at all with Photoshop or Cintiq, with Windows 10 parameters of the stylus.

    Fortunately, there is a small piece of free software that you can download called "Fix my pen" (by Smith Reddy) which defines the features of Windows Tablet PC in the registry for you (essentially by disabling everything related to it):

    viziblr - News - difficulty my pen makes your Wacom tablet JUST WORK on Windows 7

    It works fine on Win10 too.

    Now, as my original problem with Photoshop to do a line connecting the start and end of the brush strokes left, however I have another question more small that came after running difficulty my pen. The lines that I draw now are not smoothed by a software more. You can see the difference below.

    Fix My Pen sets a lot of things in the registry, but you cannot individually control which setting is disabled. So I guess that one of them is the cause.

    I expect response from Smith about it, cause I have no idea who he is.

  • lines to the column and summation

    Hi everyone, I am using oracle 10g consider the following data:

    WITH the data as {}

    SELECT 'XTR' mntrid, ctid 'AAA', ' hi tech' description, code "SPRING", 123.23 amount OF double UNION ALL

    SELECT 'XTR' mntrid, ctid 'AAA', ' hi tech' description, code "SPRING", 111.23 amount OF double UNION ALL

    SELECT 'XTR' mntrid, ctid 'AAA', ' hi tech' description, code to 'PAY', 666.23 amount OF the dual UNION ALL

    SELECT 'XTR' mntrid, ctid 'AAA', ' hi tech' description, code to 'PAY', 888.23 amount OF the double UNION

    SELECT "XTR2' mntrid, ctid 'BBB', ' Hi tech2' description, code to 'PAY', 333.23 amount OF the dual UNION ALL

    SELECT "XTR2' mntrid, ctid 'BBB', ' Hi tech2' description, code to 'PAY', 222.23 amount OF double UNION ALL

    SELECT mntrid "XTR3", "CCC" ctid, ' hi tech 3 ' description, code 'PC', 777.23 amount OF double

    }

    I would like secret lines at column and add the amounts.  my output should be like this

    MNTRID CTID DESCRIPTION MAIN PC PAYROLL

    XTR AAA hi tech 234,46 1554.46

    XTR2 BBB Hi tech2 555.46

    CCC XTR3 Hi Tech 3 777.23

    what I do is converting lines to the column and the display of the sum.  for example, for mntrid = XTR I get the sum of all MAIN lines and the lines all PAY and PC.

    Since there is no line of PC for XTR I display null.

    can someone help me write a query that displays the output in oracle 10g above?

    Hello

    elmasduro wrote:

    It's great Frank. Thank you very much.

    I have a request.  What happens if I want to add total main grad, wages, the pc? How would I do that.

    output

    Total general AFFID CTID DESCRIPTION MAIN PAY PC

    XTR AAA hi tech 234.46 1554,46 1788.92

    XTR2 BBB Hi tech2 555,46 555.46

    CCC XTR3 Hi Tech 3 777,23 777.23

    It's just plain old garden-variety SUM:

    SELECT Mntrid

    ctid

    Description

    , SUM (CASE WHEN code = "MAIN" THEN rise END) AS main

    , SUM (CASE code WHEN = "SALARY" THEN rise END) AS pay

    , SUM (CASE WHEN code = 'PC', THEN rise END) AS pc

    , The SUM of (amount) AS grand_total-* NEW *.

    FROM the data

    GROUP BY mntrid

    ctid

    Description

    ;

  • How to display the copyright and '& amp;' in a label

    I am putting the copyright and the symbols 'and' in a label, but it does not work:

    < mx:Label text = "Copyright \u00A9 2008 ABC & Associates - all rights reserved" color = "#FEFEFE" height = "20" y = "10" width = "316" x = "302" / >

    = © Copyright symbol
    & symbol = &

    In General:
    http://blog.flexexamples.com/2007/08/02/using-special-characters-in-your-Flex-applications /.

    ATTA

  • Added new line in the table

    Hello

    I have a table inside a panelCollection. When I press the button Add a new row (plu green) the empty line newly added appears in a random place in the table, but I want to appear as the first line of the table (top of the table). How I do that?

    Thank you very much
    Will do

    Will do,

    It is a weird behavior that was introduced in JDev 11.1.1.4. We fixed this in the next version by adding the new line always above the current line.

    You can do two things:
    -Make sure that the size of the range of the iterator binding is greater than the number of rows displayed, in this case the new line will be created directly below the current line
    -extend the JHeadstart TableBean class, override the createNewRow method and create a line in the first line

    Steven Davelaar,
    Jheadstart team.

  • added new line in the same page

    Can someone give me the code to add a new line in the same page itself. If we click on Add button a new line should come to the table.

    Thanks in advance

    Hello

    invoke a method in AM on click of a button

    Public Sub addrows()
    {
    Vo1 AddressesVOImpl = getAAddressesVO1();
    Row1 AddressesVORowImpl = (AddressesVORowImpl) vo1.createRow ();
    VO1.insertRowAtRangeIndex(0,row1);
    VO1.setCurrentRow (row1);
    }

    Thank you
    Gerard

  • Need help on repeat lines of the table and the subform

    I hope someone can help me find a way to accomplish things with a subform of repeating table in a form I'm building.  I have attached the file here.

    https://workspaces.Acrobat.com/?d=2nUNZuTf2T4tsdSykMTlXw

    I have a table (AssessChart1Table) set up on pg 7 (analysis) and built in buttons (AddRowAssesChart1 and DeleteRowAssesChart1) so that the user can add or remove rows of additional data according to the needs.

    The problem is that the user enters also cross the line header (AssessChart1HeaderRow1) in this data table.  There are 10 available columns; However, they will have to add more data than that. Therefore, I made a button (AddMoreCourses) for the user to click on to add another instance of the subform table (AssessEvalChart1) and also to cancel adding the subform with this button (UndoAddMoreCourses).

    In addition, I setup that whatever data the user enters in the cell of this table cell (Prog-DeptObjChart1) are automatically transferred to another table (AssessChart2Table), cell (Prog-DeptObjChart2), which is located on the next page (AnalysisCont1).

    All above works very well except that whenever the user presses the button (AddMoreCourses) I don't want it to automatically fill cells of text field that are copied from (AssesChart1HeaderRow3) because I need the user to be able to enter different values rather than add more columns to fit their data.  In addition, I would like that the values of the cells in the left column to repeat well because these values will not change. Currently the values of the cells in the left column that wear down (AssessChart2Table) to get stripped on (AssessChart2Table) whenever I the user pushes button Add more courses or cancel add more courses.

    In summary, the tables would look like the attached screenshots:

    Analysis_-_Assement_Chart_1.png:Analysis_-_Assess_Chart_2.png

    Any help would be highly appreciated.  I'm not experienced with Livecycle Designer.  The form I built by reading the forums and the examples.

    Where you need it, I use Livecycle Designer v. 9.0.0.2.20120627.2.874785 on a Windows 7 Pro platform.

    Thank you!

    They will need to copy in a similar way as with the other lines. I would say on the exit event for the field of Prog-DeptObjChart1, add the code that copies the rawValue of him in the second table. Your code has something there now, but it does take into account that there will be multiple instances of the same line.

    Thus, in the constructor of your action, add another result to the condition of AddRowAssessChart1.click: Add a new instance of AssessChart2Row1.

    Then exit to Prog-DeptObjChart1 in the event, add this code.

    xfa.resolveNode ("AnalysisCont1.AssessEvalChart2.AssessChart2Table.AssessChart2Row1 [" + this. "]") parent.index +"]. Prog-DeptObjChart2") .rawValue = this.rawValue;

    Now when you exit the field you typed in, the text is copied in paragraph2.

  • Drawing a triangle shape through a script, reading a limits of the selection and the pointer of the mouse?

    Hello...

    It's a little more complicated, I guess...

    dialog sample.jpg

    I am looking for a way to automate the work I do for a manga magazine - cartoon or whatever they are called... I have a dialog box in an oval shape that is already formatted with a style of object to look like the oval in the left part of my image. I would like the script to read the position of the mouse pointer - I ran the script after selecting the oval and the place where the oval must point hover with the mouse... (In the picture so you can imagine my cursor somewhere in the lower left of the image, in the second part of the image corresponding to the angle of the triangle) I imagined this operation in at least two steps, the triangle (arrow) of the oval is a separate object (I would join the two forms later). The triangle can be with streight lines or maybe a little bent, for a most desirable look. I have no idea where to start, for now I create ovals and duplicate the triangle an old and position (+ turn) until I'm happy, after that I could join them. I hope the picture can better explain what I'm looking for.

    I know it is hard work - I think it may be useful for others, as it would be a good challenge for the very smart Scripting Guys of this forum...

    Thank you..

    Maybe you can use a single line to indicate the direction and the location where to that you must point.

    I did Speeech.js to illustrate this approach:

    http://www.Indiscripts.com/post/2012/01/speeech

    @+

    Marc

  • Firefox installed on Windows 7 but the menu bar and icons is filled with small horizontal lines on the icons and the menu bar...

    I installed Firefox 21 on a new Windows 7 operating system. The menu bar and the toolbar at the top of the windows is full small horizontal lines. Sometimes, there are more lines and sometimes less. It makes the icons and menu items almost impossible to see. So far, is that the Firefox screen that made it. Other programs I have installed so far doesn't do this.

    Any ideas?

    Try disabling hardware acceleration in Firefox.

  • How to make the double line things go away when I read web pages, that what happens in front of him just some words that are double line under the word and then you will see an announcement when the cursor passes through the word.

    He double blue line under a word like POWER or Medicare, etc.

    It is contextual advertising. You should be able to eliminate one of the following. I suggest you have a file hosts and Adblock Plus with EasyList filter subscription.

    Extension "Adblock more."

    You also need the filters as "Easylist" subscription so after installation of
    with the right button on the icon of the status bar and choose 'Préférences'
    then on the filters menu-> Add-> EasyList subscription
    https://addons.mozilla.org/firefox/addon/adblock-plus/ (608,3 KB)

    Blocking unwanted Parasites with a Hosts file

    Blocking is at the level of the system
    http://www.MVPs.org/winhelp2002/hosts.htm
    View/use the HOSTS offered above as a plain text file
    http://www.mvps.org/winhelp2002/hosts.txt (596KO)
    If you add one of your own you will have to keep in mind
      and manually include the online hosts.txt file below your own.
    

    Hosts file is more oriented to protect your system against the really bad
    or things spread by its host name. Do not confuse with no antivirus protection more.

    Please mark "resolved" a response that will better help others with a similar problem - hope it was her.

    BLOCKED TOO - with Adblock Plus - no problem:

    With the ease of blocking items in Adblock Plus occasionally, you can be too aggressive and suddenly disappear all over the page. Adblock Plus provides functionality to help you know more precisely what you block with on a page.

    As seen in the Preferences ("Ctrl + Shift + F"), ABP maintains separate groups
    -The filters that you created yourself (rules of Exception, blocking rules, element hiding rules)
    -Separate groups for each subscription filter

    The report of blockable items ("Ctrl + Shift + V"), it's where you go to see what is blockable, what is blocked and if blocked what the rule is on the line with the mouse hovering. It would also enable the source, so you can see if it was your rule. The right mouse button opens a context menu with options. I show the columns are {address, filter, type, State} selected to the right of the headings. I have sort by State so block appear in red at the top.

    You can use the report to make the changes you need.
    We'll see changes you make in the preferences.

  • How to get rid of the black lines on the printed and scanned documents

    When I print, copy or scan on my officeject 6500 wireless I get a black line to the bottom of the page.

    While I wait for your answer, I'll post the most likely cause:

    Lift off the cover.  Now lift the document feeder cover, it opens to the left. You will see the mech feeder, you want to raise that to the left as well, it will increase by 2 inches or more. See this article from underneather glass it? Clean it. Really good.

    Then see you the white piece of plastic above the glass, which clean really good too.

    If it is a perfectly vertical line, in that it's probably caused by some dirt here, what is happening is the seat of bulb scanner in one place, the paper is then slipped over in the same place. If there is a grain of dust, it covers the entire page, top down. You clean the white room because there might be dirt there, when the bulb shines through the paper, he thinks returned as a dark spot.

Maybe you are looking for