Search and Underline

Is there any way to let InDesign CS4 searchfor some text and underline it automatically.
I have a very large document, contains headings (title) and its contents, some titles are mentioned in other paragraphs,
here some Exmaple, where the words "Data", and "hard disk" is underlined, because it has it own Title.
please Help
Example;
Hard Disk
A rigid magnetic disk fixed permanently within a drive unit and used for  storing computer data.
Data
Numerical or other information  represented in a form suitable for processing by computer, and stored in a medium such as hard disk.

omansaud wrote:
Dear Shonkyin
Thank your very much for your help, but if possible i need to enter value in a dialogue box or reading the value from text file insted of changing the script.
because i have to do it for 5000 topics/titles.
Thanks for your valuable help
Can you explain a little more about why you need to underline the terms in main text in these examples? If you want to create a hyperlink from the term in main text to the definition, consider using cross-references. You can define a cross-reference format to appear with any text style, such as underline. In PDF, a click on the link will take the user to the definition.
Recently, there have been some discussions qnd links about scripts for automating cross-references. Here are some results from this Google search phrase;
automating indesign cross-references script
InDesignSecrets » Blog Archive » Create a Cross Reference Quickly ...
Feb 24, 2010 ... Create a Cross Reference Quickly with this Free Script ... I'll be prepared to swap them out for InDesign cross-references with this script. ... Automating Hyperlinks in Unlinked PDF Files by David Blatner ...
indesignsecrets.com/create-a-cross-reference-quickly-with-this-free-script.php -Cached -
Automated Cross-References" thread from InDesign Talk
Subject: Automated Cross-References, To: InDesign Talk .... In my script for the telephone directory layout (InDesign CS4) to each graphic module for the ...
www.listsearch.com/InDesign/Message/index.lasso?149046 - Cached -
Scripting automates many features in InDesign — it's
File Format: PDF/Adobe Acrobat
editor does this for you). Be very careful when you enter the text: Typos are script killers.Cross-. Reference. COPYRIGHTED MATERAL ...
www.indesigncentral.com/i/IDB3-Ch37-Updated.pdf - Similar -
HTH
Regards,
Peter
Peter Gold
KnowHow ProServices

Similar Messages

  • Regular expression to change Hour:Min:Sec time to Min:Sec using the Search and Replace tool

    Hi,
    I think the title says it all, but I've used a script to export a project from an NLE as a html file with a bunch of images and timecodes within table cells. For example, In=00:00:34 and Out=00:01:30 needs to be converted In=0:34 and Out=1:30. I think the Search and Replace is the most simple way of working that, but I've not experience with Regular Expressions (or much in that regard) so would really appreciate if someone could give me a hand writing the Regular Expression I need to achieve this.
    Thanks in advance,
    James

    Okay, so an example row is:
    <tr>
    <td align="left" valign="top"><p align="left"><img src="Snapshot At Event Start [00-01-22-19].jpg"><br>
    <strong>In: </strong>1:22<br>
    <br>
    </p></td>
    <td align="left" valign="top"><p align="left"><img src="Snapshot At Event End [00-01-24-25].jpg"><br>
    <strong>Out: </strong>1:24<br>
    </p></td>
    <td width="100%" align="left" valign="top"><p><strong>Cut to League Video</strong></p>
      <p><strong>Duration</strong>: 2<br>
      <strong></strong></p></td>
    </tr>
    I need to change it to:
    <tr>
    <td align="left" valign="top"><p align="left"><img src="Snapshot At Event Start [00-01-22-19].jpg"><br>
    <strong>In: </strong>1:22 seconds<br>
    <br>
    </p></td>
    <td align="left" valign="top"><p align="left"><img src="Snapshot At Event End [00-01-24-25].jpg"><br>
    <strong>Out: </strong>1:24 seconds<br>
    </p></td>
    <td width="100%" align="left" valign="top"><p><strong>Cut to League Video</strong></p>
      <p><strong>Duration:</strong> 2 seconds<br>
      <strong></strong></p></td>
    </tr>
    The script itself is something I found somewhere on the internet - it's for Sony Vegas.
    I've highlighted the changes with bold underlined italics.
    Thanks for you help, guys,
    James

  • Using a variable in a Powershell search and replace string

    Hi
    a couple of days ago I posted a question about doing a search and replace with wildcards
    Search and repalce with Widcards
    I got a swift and very helpful answer but now I need to build on it.
    In a text file I wanted to replace all the text between two defined words.  the script I got was this
    $text = 'Some Server this bit of text varies Language stuff'
    $text -replace '(.*Server) .+? (Language.*)','$1 it will always say this $2'
    It works great but now I want to replace "it will always say this" with a variable and I can't figure out the correct grammar to make this happen.
    Can anyone help??
    Thanks
    Alex

    Here's one way:
    $replace = 'it will aways say this'if ( $text -match '(.*Server) .+? (Language.*)' )
    { "{0} $Replace {1}" -f $matches[1,2] }
    else { $text }
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • TS2756 hotspot is not working on myiPad 3, hotspot tap is cellural data always appear that it is searching, and never stop. Vodafone and tradeline told me that there is no problem with carrier and Sw. Tethering data is never kept.

    Hotspot appear always to search and never stop
    internet is not working without internet APN data
    Tethering APN  never save the data
    Vodafone carrier checked and mentioned that the no problem with the SIM
    Tradeline checked and the IOS was latest 6.1, but asked to reinstall from scratch
    Please advice

    I have this _same_ issue, exactly.  Initial backup goes just fine, but incremental backups fail.  And like you, I replaced the internal drive.
    The failures didn't start occuring long after the original drive was replaced--which was about 1 year ago.  The new drive was non-Apple and worked fine--and tests fine now as well when outside the TC.  But suddenly incremental backups started failing when the TC firmware and utility app were updated about 2-3 months ago.  I even swapped the internal non-Apple drive for another known-working non-Apple drive, and same results.
    I strongly suspect Apple added something to the firmware to check if it's an Apple or non-Apple drive in the TC and, if the latter, maybe causes incremental backups to fail.  This is only speculation and, obviously, the initial backup still works, so any checksum like this would have to be only during the incremental backup process.
    I'll be checking into this thred to see if others have the same issue, or if a solution is found.  Hopefully my hypothesis is just para-apple-noia and it's some small, easy-to-fix issue.
    -Gizm0d0

  • Importing text file into search and redact window.

    I am in the search window under the search and redact tool.  I
    am trying to import a file that was originally an excel to populate the
    search multiple words window.  I read that text files can be imported.  I saved the file as a text file but it does not import.  I can import an adobe file but this gives me a list with a bunch of junk.  What am I missing?

    The dialog imports text files.
    Make sure that the file you are importing is a text file and has one word in every line.

  • HTML character entities problem in saved regex search and replace query

    I have a many search and replace regular expression queries (.dwr files) that I have saved. I have a problem specifically with saved queries that contain HTML entities such as "& nbsp ; " or "& shy ;" (spaces added otherwise code doesn't render in browser). For example if I use the following search:
    ([\d]{3}& shy ;[\d]{3}& shy ;[\d]{4}|[\d]{3}& nbsp ;[\d]{3}& nbsp ;[\d]{4})
    (which searches for numbers in the 888-555-1234 or 888 555 1234 formats)
    This will work fine if I manually enter it into the search text area. However if I save it to file and reload it, it will no longer work because the &shy; and   characters are now displayed as " " (space) and "-"(shy) rendering the saved query useless as it's no longer searching for the code. I have some fairly long and complex queries and this is becoming a problem.
    Thanks for any help.
    I'm currently using Dreaweaver CS4 at home and CS5.5 at work.

    Thanks for your reply Kenneth, but that is not what I'm trying to accomplish. I'm looking for the HTML entities that exist in the source code which are & shy ; and & nbsp ; (without the spaces). As I mentioned above, if I enter them manually in the search box, I will get the corrrect results. If I save the search and then reload it, the special characters are no longer in HTML and the search is now useless.
    Just for example again
    In an open document in code view insert a number in the format (without the spaces): 888& nbsp;888& nbsp ;8888
    Open a search dialog box and enter (without the spaces): [\d]{3}& nbsp ;[\d]{3}& nbsp ;[\d]{4}
    The search will find that entry.
    Save search as phone.dwr for example. Then load it and try the search again. It won't work because upon loading the search Dreamweaver replaces the HTML code which was saved with the rendered HTML. So now the search shows up as: [\d]{3} [\d]{3} [\d]{4} which will not find the string with hard coded non-breaking spaces that I'm looking for.
    Basically I want to be able to save a search query for reuse. When I load a search query, I want it to be exactly what I saved, not something that DW has rendered (that doesn't work).

  • Google Search and Google + updated

    Just seen Google Search and Google + has been updated.. Here is the Info on the two to support more and bring more Variety..enjoy b33
    http://www.droid-life.com/2013/11/13/google-search-receives-update-to-version-3-1-8-brings-new-cards-and-gel-to-android-4-1-devices/
    http://www.droid-life.com/2013/11/13/google-app-receiving-update-brings-android-beam-and-daydream-support/

    try
    Restart iPhone: Hold down the Sleep/Wake button and the home button together until the apple logo appears then let both buttons go and wait for the phone to restart.

  • New iTunes search help!:  I'd like to just start typing in the upper right search and have the list update like it did in older iTunes versions. Now it has little suggestions of WHAT IM NOT LOOKING FOR!

    Remember the days when you were looking for that metallica song... you kind of knew the name... so you start typing it in the search, and that BIG WELL of music would whittle down with every character typed?  the search covered titles, artists, genres, ANYTHING  that was displaying.  I know a lot of folks HATED  this dynamic,  but let's face it, it worked, and it worked WELL.  And Apple's had us all get used to that dynamic for over a DECADE. 
    I get that times need to move foreward,  but they went WAYYYYYYY too far with how the simple search box works now(upper right one) ... The columns of Title, Album, Artist, are still there, but they drastically change the layout and presentation with everything you search for... and newsflash, NOT  EVERY SONG BELONGS  TO A GENRE OR ALBUM OR ARTIST....
    I'm the kind of guy that doesnt allow itunes to attempt to copy eveything into hundreds of folders.  I already have it all pretty well organized...Lots of my music are soundbytes that I just had in the main widow of iTunes. Sure they'd be buried in the thousands of other songs,  but with a click of a key I could get to it... now iTunes ONLY  seems to try searching things that are in albums, genres, labeled so specifically that I would have to take a month off JUST  to start catalogging my music the way iTunes wants... Even THEN  only showing me a small number of choices in the search bar .... like "Do you want these 4 songs you DIDNT  search in the invisible queue next?"  "Did you mean all this other sh*t that you DIDNT  search for?"  **** I used to be able to find almost ANY  song with like 3 keystrokes.  if I type in "Zelda"  ... (looking for that obscure live Zelda acoustic I recorded with my phone that I dont have the band name to)  It suggests EVERYTHING else BUT  that song... whereas before it would just list the 20 or so ANYTHINGS  I have loaded into itunes with that string of letters in it.
    Anyone else seem to have this issue?  Is the OLD  easy to search buried in the furthest preference trenches to TRY  to weed out old dogs such as myself, who were able to master the crappy UI  iTunes has neglected to give a **** about in the past?

    Please try the action I supplied in my post.
    If you untick the search Entire library
    Then type in your search term it will give the list of songs in the main window

  • How to search and delete an email from the mailbox

    hi,
    have a hybrid scenario, exchange 2013 and office 365
    what command should I use to search and delete an email from the organization mailbox i.e. I do not want that email to be in any users inbox.
    I have tried this command but it does not work, it says search-mailbox is not recognized as the name of the command let.
    Get-Mailbox -ResultSize unlimited | Search-Mailbox -SearchQuery 'Subject:"Download this file"' -DeleteContent
    kindly assist.
    Kind Regards, Khuzema R.

    Hi Khuzema
    This can be accomplished by search-mailbox command
    First you need to create a new role group
    To Create –  New-RoleGroup “Mailbox Import-Export Management” -Roles “Mailbox Import Export”
    Then add the user to the group
    To Add user – Add-RoleGroupMember “Mailbox Import-Export Management” -Member Administrator
    Search the mailbox
    get-mailbox -ResultSize unlimited -IgnoreDefaultScope | search-mailbox -SearchQuery ‘Subject:”virus infected”’ -LogOnly -TargetMailbox administrator -TargetFolder filter -LogLevel Full
    Now we need to run the below command to search the infected emails and delete all of them in the whole organization
    get-mailbox -ResultSize unlimited -IgnoreDefaultScope | search-mailbox -SearchQuery ‘Subject:”virus infected”’ -TargetMailbox administrator -TargetFolder filter -deletecontent -LogLevel Full
    Also you can do a message tracking with the subject and delete them
    Get-ExchangeServer | where {$_.isHubTransportServer -eq $true -or $_.isMailboxServer -eq $true} | Get-MessageTrackingLog -Messagesubject “Virus Infected” | Select-Object Timestamp,ServerHostname,ClientHostname,Source,EventId,Recipients
    | Sort-Object -Property Timestamp
    I have written a blog with regards to the same. You can always refer this which might mostly  help you in your scenario
    http://exchangequery.com/2014/10/16/steps-to-delete-circulated-suspicious-emails-with-search-mailbox/
    Thanks 
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
    (MVP)

  • My drop-down list won't appear anymore so every time I want to go to a new site I have to type it in where before my drop-down box would appear and I could just click it and hit search and go there how do I make my drop-down box come back

    somehow I must've clicked a button that took away my drop down box when I go to use my Google search so different sites that I go to a lot I would always just click it when the drop-down box came up I would click again and hit search and you would bring that page up but even if I go to a site once I leave that I try to click and make the drop-down box come up again with the new search and it nothing happens so the problem is I need my drop down box to come back up to all the places that I visit kind of like a history of like I said I would just click and it would come up by itself now the drop-down box won't come up anymore so I need somebody to tell me what to do to bring my drop-down box back also I am new to computers so I don't know a lot so don't be real technical thanks for the help merry Christmas from Joe

    It's not a matter of me assuming to restore it, once the error comes up, the only next step I can do is to restore it. I can't access any of the iphones settings in itunes or anything, it's a mandatory restore. If I just cancel the sync (before restoring) and disconnect the phone, all my apps crash on opening: aka unusable phone. So I have literally no choice but to restore every time the error shows up if I want my phone to work.
    I have no idea where I may have duplicate files as it doesn't tell me, so if that is the problem (which I don't think it is) then I don't know where I have to go to delete the duplicates.
    And the duplicate file error still doesn't explain why leaving iTunes to restore the phone doesn't work and me having to drag the window around. I know it sounds utterly ridiculous, my friend didn't believe me when I told him either but then I showed him and he was as confused as I am. If I just leave the restore to do its own thing at it's own pace, it will loa maybe 20% then fail for whatever reason.

  • Friends,  i  have a problem with safari . Whenever i am typing in the safari main bar , so in the halfway through the typing my sentence/words are shifting to another main google search and in the end i have to type again in google

    Friends, 
    i  have a problem with safari . Whenever i am typing in the safari main bar , so in the halfway through the typing my sentence/words are shifting to another main google search and in the end i have to type again in google. I have attached a sample screenshot of the safari problem which i am facing. In this particular example i wanted to write Print Screen, however halfway,my typing automatically shifted to google bar?? can you guys help me.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • Does the labview 8.5 project have a search and replace option that appies to all vi's in the project?

    In 8.2, the only thing the project has to let you search for a vi is "Find vi's on disk", which is redundant since I can do that in windows explorer.  What I want is a way to search for vi's in my application the way the search and replace function works, except I want it to apply to all vi's in a project instead of just the vi's currently loaded in memory.  Do we have this in 8.5?
    -Devin
    I got 99 problems but 8.6 ain't one.

    I'll give an example of what I was trying to do yesterday in 8.2.  I tried to build a source distribution of a large instrument driver.  Since its an instrument driver there is no single top-level vi that contains all vi's - there are different categories of vi's to do different functions on my instrument.  When I'm doing the source distribution I have to do it in several stages since 8.2 doesn't do source distributions right - but thats not really what this post is about.  Anyway, every time I do the distribution I get an error saying CnvrtArrayIntoBitPattern.vi is password protected (and another engineer wrote it and I don't have the password).  So the build fails.  Now I don't know the password, I'll find it out later, but I at least want to know where in the hierarchy this vi is even being called.  I don't know where it is on disk, I don't know what is calling it, it isn't in the project explicitly, it's a dependency.
    If I had a top-level vi that loaded everything, I could just do a search and replace on that vi and find exactly where it is being called in seconds.  But since I am in a project and have no idea where to start looking, there is no way I can find this vi.  Ideally, in 8.5 there would be a search and replace menu option that searches all vi's in a project to find any calls to this vi.  I want to look for all instances of a vi in my project.  It sounds like you still can't really do that in 8.5.
    What I ended up doing is writing a vi that opens all vi's in a folder hierarchy on disk.  I don't know where this vi is, but all vi's in my project are in the same root folder.  So I run my program to open every single project vi.  Then since I know every single vi is open and loaded simultaneously I used the search and replace function on one of them to find all instances of CnvrtArrayIntoBitPattern.vi.  But that is a painstaking process to create a simple search function.
    I think NI is maybe misunderstanding how people are actually using a project.  Not every vi that is being called is going to be explicitly listed in the project.  (Its this same issue that makes source distributions impossible in 8.2 - you can't target dependencies to a support library so every dependency has to be explicitly listed in the project - which is virtually impossible because they are all in different locations and there are hundreds.)  Most people have lots of general purpose vi's they use in many different projects, and they are buried down in code so we aren't even sure where they are all being used.  The new searches you mention assume you already know where the low-level function is and you are looking for their callers.  But sometimes you don't even know where the low level function is.  What if its an NI directory function?  For example, "resample waveform.vi" is an NI function that changed its defaults in 8.2 which meant we had to find every single place we used it and wire "open-interval?" to a constant instead of depending on the default value.  Its in an NI library somewhere and is never listed as a project vi.  So when I needed to find every place through every project that I used this vi, I couldn't do it through  the project manager because there is no search function.  To be practical I add the project-specific vi's to the project, and maybe a couple support directories, but there will always be lots of vi's as dependencies.  But every now and then I'm still going to want to search for one of these vi's.  So in 8.5 there is there still no way to search for vi's that aren't explicitly listed in the project?
    -Devin
    I got 99 problems but 8.6 ain't one.

  • I will type in google let say tree the search will click on to one of the searches and instead of tree web page showing up a ad page will come up this happens with very thing can you help.

    I will type in google let say tree the search will click on to one of the searches and instead of tree web page showing up a ad page will come up this happens with very thing can you help.

    You (or your kids) inadvertently installed adware. You do not need to download or install anything to fix it.
    Any tips on how to stop it from happening?
    Yes. To learn how to avoid it in the future read How to install adware.
    If you require them, Apple's removal instructions are linked in the Recovery Procedure near the end of that document. Read and follow them carefully. Pay particular attention to the easily overlooked passages directing you to restart your Mac when required.

  • I backed up my ipod during a windows backup.  how do i find those ipod files(not itunes) in the windows backup files? i've tried searching and i can't find

    i backed up my ipod during a windows backup.  how do i find those ipod files(not itunes) in the windows backup files? i've tried searching and i can't find

    so i plugged in my ipod and it asked if i wanted to backup the files before restoring it. 
    Do you mean iTunes asked if you wanted to backup files before restoring? If so the it is in the location I posted. You don't need to navigate to the backup. Once your restore your iPod it will ask if you want to restore from a backup and present you with the backups made before hand.
    To restore information from a backup, use one of the following methods after connecting your iOS device to the computer with which you normally sync:
    -Click the File menu and select Devices > Restore from Back up.
    Or
    -Open the iOS device's Summary tab. There are two ways to access this:
    -Click the device button in the upper right corner. (If viewing the iTunes Store, click the Library button in the upper right corner. The device button will then be visible.)
    -From any view in iTunes, click the View menu and select Show Sidebar. Select your iOS device in iTunes under Devices.
    -Click the Restore Backup button.

  • How do I search and replace for invisibles in Pages 5.5.2?

    Three related problems all involving search and replace for invisibles.
    1. A block of text where all double returns need to become single returns.
    2. A block of text where all returns need to be replaced with a single word space.
    3. A block of text where all double word spaces to be replaced with a single word space.
    Pages 09 could do all three this handily. How can these be done in Pages 5.5.2?
    Appreciated.

    Here are screenshot of my attempts to make reducing double returns to one. First up selection of a double return:
    Copy to the clipboard. Do a Command-F. Here's the resulting dialogue:
    I paste in the contents of the clipboard:
    Note the Search field no longer has an empty slot selected. Something is clearly in there, but no instance of whatever is has been found. Nevertheless, I proceed to set up the Replace field by selecting a single return:
    Copy that to the clipboard and paste into the Replace field:
    Nothing to search for and therefore nothing to replace. Am now wondering what that little scoop to the right of the eyeglass icon might indicate. Clicking on it reveals this:
    Definitely not "a solution that just works."

Maybe you are looking for

  • After a complete Time machine recovery....

    I just finished using time machine to recover my iMac after putting in a new HD. Everything worked perfectly but now the contents of the time machine appear to be gone from before the install date. This is kind of concerning since one never knows wha

  • Windows has recovered from an unexpected shutdown(blue screen) windows 7 ultimate 64 bit

    Problem signature:   Problem Event Name: BlueScreen   OS Version: 6.1.7601.2.1.0.256.1   Locale ID: 1033 Additional information about the problem:   BCCode: 50   BCP1: FFFFF90043C98BEC   BCP2: 0000000000000001   BCP3: FFFFF9600025033E   BCP4: 0000000

  • Pnp-ce period

    hallow i use the logical data base pnpce and i wont in period that <b>just</b> the option of the <b>other pri</b>od be <b>active</b> how can i do that?

  • Error with Utility Configuration 9.3.1 with Foundation services

    I have a problem while configuring Utility Configuration 9.3.1 with Foundation services. I have entered "Oracle db 10g express edition" database configuration details. When I proceed for next step button, after couple of minutes system throw an excep

  • Why are push notifications from websites not working since 10.9.3?

    Since upgrading to OS X 10.9.3 on an early 2013 15 inch MBP Retina(8 GB RAM, 2.4GHz i7), push notifications from websites I had authorized (e.g. CNN, NYT, 9to5 Mac) stopped coming in.  I figured I would wait for another upgrade to see if that resolve