Back

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

Forum Replies Created

Viewing 15 posts - 451 through 465 (of 498 total)
  • Author
    Posts
  • in reply to: pasteboard #67931
    Masood Ahmad
    Participant

    There are possibilities that one or more images/links might be corrupt. please check images one by one.

    in reply to: GREPS white space search in bullets? #67924
    Masood Ahmad
    Participant

    Bob, many thanks for the information. I just checked your query and found that there is no need to write any code in GREP to achieve this. It is very simple and can be achieved using the simple find and change command.

    Let me try to explain the things:

    1. Create a bullet list and instead of tab in the bullet palette options use a ‘thin space” from the palette’s drop down menu.
    2. In Find/Change dialog box under Text/GREP tab (works with both tabs, click the “Find Format” options, go to “Bullets and Numbering” section and select the “thin space” for the “Text After”.
    3. Now click the “Change Format” options and do the same process and select Tab or whatever for the “Text After” palette.
    4. click “Change All”

    Oops, what a magic… Wow… NO CODES… :)

    in reply to: Auto format from database textfile #67912
    Masood Ahmad
    Participant

    Dear Oscar,I’m curious to know the result of my codes. Does they helped?

    in reply to: GREPS white space search in bullets? #67911
    Masood Ahmad
    Participant

    Bob, could you give some text example in support to your query. I would like to know where exactly your different white spaces occur. Just to give a try…

    in reply to: Replacing negative numbers #67878
    Masood Ahmad
    Participant

    Please try this using GREP Find/Change

    Find what:
    -(\d+)

    Change to:
    ($1)

    in reply to: Selecting Next Paragraph following another one using Grep #67736
    Masood Ahmad
    Participant

    It’s too late to revert back to the old post. I was just searching something and found this. JC, I hope you might have achieved this already. Your query is interesting, so I think to give it a try…

    Might be I’m wrong, could you please check and let me know if this is the right code for your query:

    Find what:
    (.+\r)(?=.*myWord.*)

    Change to: paragraph style of your choice.

    The code works fine for me unless you do not have blank lines in between. It applies a style to a paragraph if the next para contains myWord.

    Masood Ahmad
    Participant

    Thanks Jean, that was really very good. I’m indeed on MAC but I do use PC.

    @Marcinploch, Thanks for such an initiative, here is my email-id: masoodahmad@inbox.com

    in reply to: Auto format from database textfile #67734
    Masood Ahmad
    Participant

    Dear Oscar,

    Based upon your sample text, I have tried to write some GREP Find/Change codes, that will help you to automate your task upto some extent. Since I’m not a script writer, I hope someone or David might help you accumulate all the below ten Find/Change GREP queries into one “FindChangeList” Apple or Java script, built-in in InDesign.

    Here are my codes with no formatting. Just run each step by step, you can also use your Paragraph/character style in the “Change Format” options box.

    01_Remove codes.xml
    Find What:
    ^.+(?=(Number|Chartrad|Charterpresident|Address|Meeting time|Phone|Email|Webpage|Title))

    Change to:
    blank (to remove the unwanted stuff)

    02_Change NumberClub.xml
    Find What:
    ^(?i)(Number)#(Club)(?-i)

    Change to:
    $2$1

    03_Change Chartrad.xml
    Find What:
    ^(Chartrad)#(.+)

    Change to:
    $1$2

    04_Change Charterpresident.xml
    Find What:
    ^(Charterpresident)#(.+)

    Change to:
    $1$2

    05_Change Address.xml
    Find What:
    ^(Address)#(\w+)( \w+)?#(\w+)###(\w+)#(\w+)

    Change to:
    $1$2$3,$4,$5 $6

    06_Change Meeting time.xml
    Find What:
    ^(Meeting time)#(.+)#(.+)

    Change to:
    $1$2 $3

    07_Change Phone.xml
    Find What:
    ^(Phone)#(.+)#(.+)

    Change to:
    $1$2-$3

    08_Change Email.xml
    Find What:
    ^(Email)#(.+)

    Change to:
    $1$2

    09_Change Webpage.xml
    Find What:
    ^(Webpage)#(.+)

    Change to:
    $1$2

    10_Change Titles.xml

    Find What:
    ^(Title)#(\w+)#(\w+)#(\w+)#(\w+)#(\w+)

    Change to:
    $1$2 $3$4-$5, $6

    Just try these step by step and let me know it these helps. You can also download these GREP queries from the link given below:
    https://www.hightail.com/download/elNJbGtBUzhkMnNVV01UQw

    and save them under the Find-Change Queries/GREP folder.

    I’m on MAC and my location is:
    //Users/username/Library/Preferences/Adobe%20InDesign/Version%207.0/en_GB/Find-Change%20Queries/GREP/

    …waiting

    in reply to: Auto format from database textfile #67725
    Masood Ahmad
    Participant

    Thanks, let me give it a try…

    in reply to: Auto format from database textfile #67724
    Masood Ahmad
    Participant

    P.S.: Also wants to know if there are any Paragraph/Character styles and what applies where?

    I’ll prefer there exact names, if possible.

    in reply to: Auto format from database textfile #67722
    Masood Ahmad
    Participant

    Are there Hash (#) symbols in between or are they white spaces or something else. Could you upload 3-4 listings, I’ll try to sort it out. BUT can’t promise.

    Masood Ahmad
    Participant

    Sorry Marcinploch, I should have asked Colin Flashman for the script. Colin: could you please arrange the script in a zip format.

    Masood Ahmad
    Participant

    Hi Marcinploch, could you please upload the zip version of the script. I’m on Mac and unable to fix the issue. I do not know about scripting. Getting numerous errors when trying to fix the script.

    in reply to: Numbering Style (?) #67716
    Masood Ahmad
    Participant

    You are welcome Yala. The pleasure of learning is beyond imagination. I’m still learning…

    Masood Ahmad
    Participant

    Hi Marcinploch, would it be possible to upload the script to avoid any errors. I’m too getting errors.

Viewing 15 posts - 451 through 465 (of 498 total)