Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 13 posts - 16 through 28 (of 28 total)
  • Author
    Posts
  • in reply to: script needed to remove background colour #81149
    Paul White
    Member

    I thanks for your reply Keith.

    I keep getting a Syntax error. Error number 8 on line 3
    offending text: –

    I know nothing about scripts so totally in your hands

    in reply to: Spreads to Single page with bleed #77946
    Paul White
    Member
    in reply to: Grep help in paragraph style #75707
    Paul White
    Member

    where or how do you upload a cs6 doc?

    in reply to: Grep help in paragraph style #75654
    Paul White
    Member

    that didn’t work….!! Although

    Free Package…. appears as a sub header and within paragraph text but in upper and lower text format (f|F)ree (p|P)ackage

    The Crown Hotel
    (^.+\r) I had to put a tab in after the hotel name because it was applying the style to the start of every sentence with the paragraph style not just the start of the story. unless anyone knows a better way of doing this?

    The Crown Hotel (^.+\r)
    Dorset

    Free Package (f|F)ree (p|P)ackage

    Cant find the best way to style the Dorset.
    had thought of (?<=\r\r)
    This is the only occasion where there are 2 hard returns but I can get this to work. It will be any word/any character so I thought the positive lookbehind from the two returns would be easy…

    any ideas

    in reply to: Grep help in paragraph style #75503
    Paul White
    Member

    Just thought of something else whilst working on the above.

    Can you grep a find for a word ‘whitey’ and make it a styled hyperlink?

    in reply to: Grep help in paragraph style #75502
    Paul White
    Member

    Hi Masood.

    The help you gave me last week was invaluable. However, I am having problems trying to apply similar commands to a fairly basic grep. Just wondering if I could have a little assistance?

    1. How do you find a work to apply a style to? ie ‘Free package’ anywhere within a paragraph?

    2. Apply one style to ie. ‘The Crown Hotel’ \r this is any name at the start of a paragraph before the soft return, then followed by location ‘Dorset’?
    The paragraph would look like this….

    The Crown Hotel
    Dorset

    Lorem ipsum dolor sit amet, FREE PACKAGE elit. Sed dui felis, pellentesque eget neque at, fermentum iaculis nisl. Nullam volutpat laoreet facilisis. Mauris scelerisque ex euismod posuere congue. Maecenas vehicula consectetur dictum. Nullam tempus,

    FREE PACKAGE
    Lorem ipsum dolor sit amet

    in reply to: Grep help in paragraph style #75401
    Paul White
    Member

    It all helps. Does not seem so alien to me now and slowly building up some knowledge. Actually finding resources on this was difficult until now, with your help.

    I am sure I will have loads of other questions but this helps to reduce time in future projects.

    Thank you

    in reply to: Grep help in paragraph style #75398
    Paul White
    Member

    That works a treat… just so I know what is the \K. part of the code stand for?

    in reply to: Grep help in paragraph style #75392
    Paul White
    Member

    That works great, recreated it and used it on my working file. All fine here not sure why it would’t work on the original file, the file upload was a big help.

    sorry to be a pain, what grep would be ideal to manage the word weymouth for instance ie place name bold style N.B place names change per line.

    largest place name is WARNERS – CORTON HOLIDAY VILLAGE
    32 characters

    18TH – 22ND MON/FRI WARNERS – CORTON HOLIDAY VILLAGE £279 1/2 bar nightly
    18TH – 22ND MON/FRI Warners – Gunton Hall £299 £1 bar 12 noon – 8 pm nightly

    Just trying to learn more about this but your input is a great relief and very insightful.

    in reply to: Grep help in paragraph style #75390
    Paul White
    Member

    Hi
    Firstly £\d+\K.+ doesn’t work. I am using CS6 and you have put Apply Style: Price & Additions

    Price is one style, Additions is another. but the above didn’t change anything.

    I also didn’t know the grep in paragraph styles didnt do find and replace and can only be done automatically without a manual find and replace.
    Like you mention GREP Find/Change:
    Find What: ~=
    Change to: ~~
    This worked for me. Thank you.

    was thinking how do you select for style change anything from ‘start of line’ or after |\r a positive lookup to the first (ie a line of digits and charctors no fixed length up to the 1st tab point.)

    in reply to: Grep help in paragraph style #75359
    Paul White
    Member

    ohh and how do you replace a character ie em dash “–” replace with a minus sign “-”

    thanks

    in reply to: Grep help in paragraph style #75358
    Paul White
    Member

    Masood that works brilliantly. Thank you?

    how would i go about changing any character before the 1st tab? in this case the date. would it be this?

    (?<=).+

    in reply to: Grep help in paragraph style #75351
    Paul White
    Member

    What I am trying to achieve is when I apply a paragraph style to this document it automatically changes price tab and additions tab content using Grep

    I can’t add an image so difficult to explain.

    5th – 9th [TAB] Mon/Fri [TAB] Weymouth [TAB] £149 [TAB] 1/2 Price bar noon – midnight[RETURN]

    [TAB]
    [RETURN] \r

    1) I am looking to change the character styles of Price= £149
    2) I am looking to change the character styles of Addition= 1/2 Price bar noon – midnight

    N.B. Character styles are setup.

Viewing 13 posts - 16 through 28 (of 28 total)