How do I find/change hard returns to soft?

I tried it with ^n and ^p, but it says it's not finding any. I'm sure I'm just overlooking something. Thanks.

This is a good guide http://oreilly.com/catalog/9780596517069
But building GREPs is a bit of an art lol - what I mean is it takes a while to get all the tricks to building good GREPs. I find it's one of those things that practice makes perfect. You did the right thing asking here as there are brilliant GREPers here and understanding the GREP is more important than knowing the symbols, in my opinon (you can learn the symbols on the fly)

Similar Messages

  • [JS CS3] How to load Find/Change dialog?

    Hello,
    Below is a script that uses GREP to find straight apostrophies and then change them to smart (curly) ones. The script invokes the Find/Change dialog so that the user can see what she or he is doing.
    However, if the user last used the Find/Change dialog in the TEXT mode, that is the mode that appears. I want the script to go to the GREP mode. I see that there is code for app.loadFindChangeQuery(queryName, searchMode), but I have no idea what the "queryName" is and how to use it in this script.
    Thanks for any help.
    Tom
    theGrepLoader("~'", "~]");
    function theGrepLoader(grepFindIt, grepChangeIt){
        app.findGrepPreferences = NothingEnum.NOTHING;
        app.changeGrepPreferences = NothingEnum.NOTHING;
        app.findGrepPreferences.findWhat = grepFindIt;
        app.changeGrepPreferences.changeTo = grepChangeIt;
        app.menuActions.item("Find/Change...").invoke();
    }//end theGrepLoader

    Thanks, Peter!
    I appreciate your help but I have found another solution. I am amazed at my own stupidity sometimes. You see, I do my scripting in a very lame sort of way because I have never used Javascript outside of InDesign. As such, I find myself at a disadvantage because the documentation that Adobe provides assumes that you are aware of many of the basics. Case in point: I have always had trouble manipulating strings because I NEVER KNEW that you could search and replace strings! I just could not find examples of this in the Adobe documentation. So here I was in some cases adding temporary textFrames so I could get to my strings as text contents and then removing the temporary textFrames at the end of the script. In this particular case I needed to merge several paragraphs into one paragraph. Now that I know how to search & replace strings, it is so simple to strip away all the paragraph returns (which are included in text contents). I am learning, albeit rather slowly. Thanks again.
    Regards,
    Len Swierski

  • How to Open Find/Change with menuAction

    Hi,
    Read the question carefully I'm asking how to open the Find/Change
    dialog, not how to toggle it.
    Toggling is easy enough:
    app.menuActions.itemByName("$ID/Find/Change...").invoke();
    But if it is open, this will close it, and vice versa.
    I'm wondering if there's any way to specifically make sure it's opened?
    Thanks,
    Ariel

    Hi Ariel,
    This probably won't help but see https://forums.adobe.com/message/4413557#4413557
    If you could perform some action that will fail if the panel is closed then you could use a try catch to determine its state.
    I'll leave it to you to think of what that action would be.
    Trevor

  • How to use Find Change to add FC in front of all item numbers?

    Hello,
    I am using Indesign CS5 on iMac, running OS 10.8.3.
    I designed a product catalog that has 148 pages. Now I need to save the same design and make a new catalog for our wholesalers. On the wholesalers catalog I need to change the item numbers and add FC in front of each item number. How can I use find change to find each item and change them with FC in front of the item numbers? The following are a few examples of the item numbers:
    LED-4042 I want to change it to FCLED-4042
    UA-42 I want to change it to FCUA-42
    SC-110 change it to FCSC-110
    KN-10 change it to FCKN-10
    etc....
    I am hoping there is a fast way to find and change these.  I was looking in to GREP, but I could not figure how to do this.
    Thanks,
    Omar

    One way would be to just run it and then *remove* any double FC's -- but GREP can do even more! One of its many functions is to scan ahead for the presence or absence of certain text, and only act when it is (or it is not) there. This is called "lookbehind" (before the text you want to match) and "lookahead" (after the text you want to match).
    In this case, you want to find a phrase starting with capitals, but NOT the exact string "FC". That's a job for Negative Lookahead -- Only Match If Not.
    Try this: search for
    \b(?!FC)\u+-\d+\b
    ... the Replace With stays the same.

  • How do I find a hard drive connected to Airport Extreme Base Station?

    *Apple Says:* "If your base station supports it, you can connect a USB hard disk to the USB port on your base station and computers on your network (both wired and wireless) can connect to it to access, share, and store files and data."
    Cool. So I followed the instructions. The drive is recognized by the base station and listed in the Airport Utility. It looks like it's ready to go...
    So... How do I access the drive? I don't see it on my desktop, it's not under network. I've tried "Connect to server..." and browsing, I can't see the drive, anywhere. Yeah, I've searched the crap out of this issue on google and this message board as well as apple support knowledge base. I'm sure this is a simple issue and I'm just missing the obvious. Help me out.

    Hello Timothy Uhl. Welcome to the Apple Discussions!
    Try the following to mount the disk...
    o Click on the Desktop to enter Finder
    o Go > Connect to Server...
    o Enter 10.0.1.1 for the server
    o Enter Disk Password
    o Connect
    If this still doesn't solve the problem, let's double-check your disk sharing settings...
    AirPort Extreme Base Station (AEBSn) - File Sharing Setup
    Either connect to the AEBSn's wireless network or temporarily connect your computer directly (using an Ethernet cable) to one of the LAN ports of the AEBSn, and then, using the AirPort Utility in Manual Mode, check these settings:
    Disks - File Sharing
    o Secure Shared Disks: <With disk password | With base station password | With accounts >
    (Note: Choose "With a disk password," or "With base station password" if you want to secure the shared disk with a password, or choose "With accounts" if you want to secure the disk using accounts.
    If you choose to use accounts, click Configure Accounts, click the Add "+" button, and then enter a name and password for each user that will access the disk.)
    o Guest Access: <Not allowed | Read only | Read and write>
    o Share disks over Ethernet WAN port: (unchecked)
    (Note: Select the "Share disks over Ethernet WAN port" checkbox if you want to provide remote access to the disk over the WAN port.)
    o Advertise disks globally using Bonjour: (unchecked)
    o Workgroup: <Windows workgroup name>
    o WINS server: <WINS server IP address>

  • My Intel iMac recognizes DVD as hard drive, how can I find my hard drive?

    I was listening to iTunes one morning, song stopped randomly and iTunes froze (Pinwheel). I shut down and when I restarted I kept getting the image of a question mark on a folder, I reset the pram as a way to allow me to eject a DVD I had. I put in Snow Leopard so I could get to Disk Utility, but the Disk Utility recognizes the original DVD as the Hard Drive. Any ideas?

    Restart holding the Option key and start up into the Startup Manager, select your Macintosh HD and click the arrow.
    Startup Manager: How to select a startup volume

  • How can I find/ change Metadata?

    I have two questions involving Bridge's Metadata. First of all, where is the original XMP Metadata saved after a batch process? Where can it be retrieved?
    Secondly, is there anyway to make bridge automatically carry over information from one field into another? In other words, can I have 'file name' populate 'job identifier' with out going into some kind of reprogramming?

    Picking up from Leah's query:
    We are dealing with oodles (10,000+) of image files, some born digital and some scanned from film. The photographers and our partner organizations retain copies of the files and/or the original film and index/contact sheets, identified in various ways. We need to rename the files in a consistent manner for our long-term archiving, but we also need to retain somewhere the original filename and other legacy information (e.g., roll number, frame number, index sheet number, etc.) so that we can easily match up an image in our collection with its original. (For instance, to ask the organization holding the negative to rescan a given frame at a higher resolution.) So we need to store metadata such as the original file name, roll number, folder name, etc.--and when we rename files we need to retain the original file name. We would like to use the "Job Identifier" metadata field for all such information, potentially amending additional metadata several times. And we'd like to retain the original filename within this metadata field if possible. The "PreservedFileName" seems to store only the most recent previous name, so we'd like to read data from the "PreservedFileName" value and use that to populate (append, not replace) the "Job Identifier" field. Does this make our task clearer? Any suggestions will be appreciated.

  • I can't find my harddrive when i try to reload OS after i relaced hard drive, How do i find it?

    How do I find my hard drive when i try to reload OS after i replaced it?

    Insert your Original OS X Install or Upgrade Disc and startup holding the Option Key. > Startup Manager: How to select a startup volume
    Startup from the Install Disk and open (depending on the install disc version) Utilities > Disk Utility.
    Next you will need to use Disk Utility to set the new drives Partition Map Scheme to GUID Partition Table and it's Format to Mac OS Extended (Journaled).
    Then you will need to reinstall the OS X either from your backup Clone, Time Machine or fresh from the Install Disc.
    Dennis

  • Has anybody else noticed that Find/Change searched according to -

    Has anybody else noticed that Find/Change searched according to date added?  It doesn't go page by page — it searches in the ORDER that text was added to a document.
    For instance, if you started with Pages 300-400, then added text to page 200, then added text to pages 100-200, THAT IS THE ORDER Find/Change will search.  Crazy, no?
    By the way, does anyone know how to FORCE Find/Change to always center a spread?  Currently, it moves the various pages all over the place during a search …

    We are using Exchange 2010 and IOS 6.0.1 and seeing this issue with exceptions associated to recurring meetings on both the iPad and iPhone. 
    Oddly, you can make the first change (time of meeting, for example) to an exception in the series and have the change sync from Outlook 2010 to the iPad. If you attempt to make a second change to the same exception, the 2nd change does not sync to the IOS device.  Thoughts?

  • [AS] CS3 Find -Change inserting soft return instead of hard

    Can anyone help identify why this script doesn't work? i want it to replace multiple returns with a single paragraph return. It's replacing with a soft return rather than a hard return.
    I copied and pasted the find grep and change grep fields into the script. I even tried it by typing "\r" into the change grep field. Any thoughts? Much appreciated!
    tell application "Adobe InDesign CS3"
    --Clear the find/change preferences.
    set find grep preferences to nothing
    set change grep preferences to nothing
    set find text preferences to nothing
    set change text preferences to nothing
    --Set the find options.
    set include footnotes of find change grep options to false
    set include hidden layers of find change grep options to false
    set include locked layers for find of find change grep options to false
    set include locked stories for find of find change grep options to false
    set include master pages of find change grep options to false
    --delete multiple graphs
    set find what of find grep preferences to "~b~b+"
    set change to of change grep preferences to "
    set myStory to parent story of item 1 of selection
    tell myStory
    set myFoundItems1 to change grep
    end tell
    set find grep preferences to nothing
    set change grep preferences to nothing
    end tell

    Shane, thanks! This worked. What I meant to have written was that when copying "~b" from the find/change field in InDesign and pasting into Script Editor, and saving, it converted it automatically to a hard return. I didn't try it manually because sometimes the obvious is elusive! (to me at least)
    Thanks again.
    Jim

  • How do I change the spacing before or after a hard return in Pages 5.5.2?    I am working on an academic article and need to specify paragraph formatting (OS X Yosemite 10.10.2)

    How do I change the spacing before or after a hard return in Pages 5.5.2?    I am working on an academic article and need to specify paragraph formatting (OS X Yosemite 10.10.2)

    Hi Michele,
    Select the paragraphs where you want to change the spacing.
    Format Panel > Text > Spacing
    You can change 1.0 - Single to something else, or type a number in Before or After.
    Regards,
    Ian.

  • I lost my logic 8 pro serial number. I can't find the booklet that comes with the serial number. How can retrieve this? I upgraded from logic pro 7. I changed hard drives and now it keeps asking for the serial number. But I can't find it. Where can I requ

    I lost my logic 8 pro serial number. I can't find the booklet that comes with the serial number. How can retrieve this? I upgraded from logic pro 7. I changed hard drives and now it keeps asking for the serial number. But I can't find it. Where can I request it? Thanks!

    If you still have the receipt or other proof of purchase, you can ask Apple to send you the serial. Otherwise, bad luck mate.. Good news is, you can now buy Logic Pro 9 from App Store for just 199 USD

  • How do I find my external hard drive capacity?

    I've just bought a Brand New Western Digital 1TB My Book Pro Hard Drive.
    However, now that it's hooked up when I look at it 'Get Info' it tells me the following
    Capacity 465.75 GB
    Avaliable 421.57 GB
    Used 44.18 GB
    This doesn't look right to me - How can I verify the Hard Drive I've bought actually has 1TB of space?

    Hi,
    looks to me that the two HDs inside your 1TB are setup as a mirrored RAID, so that the actual size is 500GB (whic actual is 488GB).
    Together with the drive you should have a CD where you can find some sort maintenance application.
    Have a look inside the manual for the Drive at how to change it from a 'mirrored 500GB' to a 1GB Drive.
    regards
    Stefan

  • How can I erase my hard drive if the Installer can't find it?

    Our iBook, 10.3.9, was pretty reliable for 5 years, but it started to work slower the past days (maybe thru too little free space or too many programs open at the same time), so we restarted a lot.. until it didn't restart but came up with the question mark; then with a black screen/white letters asking for a login. But what is my login? I only know my admin password.
    I ran DiskUtility and repaired the permissions and wanted to repair the disk as well, but it said (in red letters): unable, could not unmount disk.
    I tried Archive and Install, but it stopped halfway and said there was an error, try again later. I didn't try again, but managed to save most of my documents to another iBook (10.4.3) thru FireWire Target mode.
    Then I was ready for Erase & Install.
    When I first got this iBook, I had a big accident and had to erase and install, at which time an Apple tech person advised me to first install 10.1 and then 10.2 ('cause this iBook was first made with 10.1, it had 10.2 when I bought it). So this morning I put my 10.1 install CD in and selected Disk Utility to Erase the hard drive. This was recommended in another thread to erase all faulty blocks on a computer. I must say the hard drive itself (below the '27 GB OSX' thing with the triangle in front of it) was already greyed out, but I selected this triangle thing and said erase.
    Then I went back into the Installer but... it can't find any hard drive to install OSX on. It shows just one blank space...
    The strangest thing is that one time this morning when I opened the iBook, it started up just like normal! But it worked too slow, it wasn't fine, so I restarted and then the problems came back just the same. Now I'm back atthe black screen with white letters. It makes me think though that not all is lost with this computer, which my family hopes with me.
    What can I do???
    ibook   Mac OS X (10.3.7)  

    Cornelius,
    ask as many questions as necessary! I know it is a confusing situation.
    Your profile lists OS X 10.3.7.
    I believe I upgraded last year to 10.3.9.
    Do you have a Full Retail Version of Panther available for re-install?
    Yes.
    What OS version(s) do you have a full retail version for?
    For 10.1, 10.2 and 10.3.2.
    Do you have an OS currently installed on your computer?
    I don't know...
    This morning I had set my mind to do the Erase & Install. I inserted the 10.1 disk, opened DUtility and selected "Erase" from the tablist. At that point the hard drive under the top-triangle was already grey I believe. I selected the top line, or the grey line, am not sure which was last. The computer started to spin. I can't tell if it erased anything at that point. But I know that once the computer stopped spinning its operationwheel, I quit DU and went on trying to install, but then there was no installation disc available. There was just a blanc field.
    There was nothing else to do but restart, and at that point the computer opened up with a desktop like normal. I know it sounds crazy.
    But it didn't work well. I could open a jpg-file in "Preview", but went in "Mail" and it took forever to open a message, at which point I restarted.
    And since then, the normal desktop hasn't shown up anymore.
    Whenever I restart, I keep getting stuck at 1. a flashing icon with the picture of a globe, which changes into
    2. the question-mark, then
    3. the window "Mac OS" with the blue stripe, filling up almost all the way and then
    3. a black screen with white letters. If I type something and press return, it asks for password. If I type anything and press return, it says 'login incorrect', and then I see a new screen with "Darwin/BSD (X-3.local) (console)..... next line: "login: "
    I don't know what my login could be.
    I have since started up from the 10.3 CD, but also only saw a blank field where there should be an icon of my hard drive. (at 'select destination').
    Since my post, I used my Apple Hardware Test-CD, and that gave a pass. It said "No device found" for AirPort and Mass Storage. "Device found" for Modem and "Passed" for Logic Board, Memory and VideoRAM.
    In any case, what I want to do is still to Erase & Install, because something seems to be very wrong and my stuff is safely backed up.
    Looking forward to your answer. Thanks a lot.
    ibook   Mac OS X (10.3.7)  

  • Find my iphone: how can the thief change the phone name?

    Hello.
    I have had 3 iphones stolen the last 5 months.
    Finally I got a ping from one of the stolen iPhones. I could follow it for almost 2 months. Since I am in a country were the police wont do anything it does not help me that I have name/address of the thief.
    But this strange thing happened last day/last ping I got from my stolen iPhone:
    Somehow the device is removed from my "find my iphone" list and/or the device have changed name.
    The device was locked with passcode/touch ID.
    I have changed password AppleID 3 times since the phone was stolen (well: The police wanted my password/AppleID to track the phone. Somehow the thief got this information and I found out when my address book had 150 new entries from the thief).
    I managed to change password and lock the phone remotely after that incident.
    To bad I cant ask Apple any question.
    How can a device be removed from my account? (I have not got any warnings that someone have logged into my iCloud account from a new device/location)
    How can a thief change the name of a stolen iPhone that is locked with touchID/Password/passcode? (Iphone6).  Is there still DFI attacks that can wipe the phones?
    How can I check if my account is hacked?
    Why cant I remotely detonate my iPhone? The battery would be a nice little bomb making the phone worthless?
    (and F lazy Russian tourists police that just ask "what should we do" when I provide address/name/video of a person that have stolen stuff worth over 5000 dollars including iphones/Ipads)

    Hi Brirendine,
    Take a look at the instructions below for what to do when you sell your iPhone.  If you have followed all of these steps, the new owner should contact his/her carrier to activate the phone.
    iCloud: Activation Lock
    http://support.apple.com/kb/PH13695
    With iOS 7 or later, Find My iPhone includes a feature called Activation Lock, which is turned on automatically when you set up Find My iPhone. Activation Lock makes it harder for anyone to use or sell your iPhone, iPad, or iPod touch if it’s ever lost or stolen. 
    With Activation Lock, your Apple ID and password are required before anyone can:
    Turn off Find My iPhone on your device
    Sign out of iCloud on your device
    Erase and reactivate your device
    Important:    Make sure to remember your Apple ID and password, and that your password is unique and secure—someone else shouldn’t be able to guess it. For more information, see the Apple Support article Security and your Apple ID. 
    If you want to give away or sell your device, be sure to erase your content and settings (in Settings > General > Reset > Erase All Content and Settings). When you erase your content, Find My iPhone and Activation Lock are also turned off. 
    If you no longer have the device, follow the instructions to remove a device you no longer have. For more information, see the Apple Support article What to do before selling or giving away your iPhone, iPad, or iPod touch. 
    If you’re purchasing or selling a used device, you can check its Activation Lock status at icloud.com/activationlock from a Mac or PC. 
    For more information about Activation Lock, see the Apple Support article Find My iPhone Activation Lock. 
    Last Modified: Jan 8, 2015
    I hope this information helps ....
    - Judy

Maybe you are looking for