Forum Replies Created
-
AuthorPosts
-
Masood Ahmad
ParticipantThere are possibilities that one or more images/links might be corrupt. please check images one by one.
Masood Ahmad
ParticipantBob, 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… :)
Masood Ahmad
ParticipantDear Oscar,I’m curious to know the result of my codes. Does they helped?
Masood Ahmad
ParticipantBob, 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…
Masood Ahmad
ParticipantPlease try this using GREP Find/Change
Find what:
-(\d+)Change to:
($1)March 25, 2014 at 2:25 am in reply to: Selecting Next Paragraph following another one using Grep #67736Masood Ahmad
ParticipantIt’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.
March 25, 2014 at 1:46 am in reply to: Copying all GREP-styles from one paragraph style to annother #67735Masood Ahmad
ParticipantThanks 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
Masood Ahmad
ParticipantDear 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$103_Change Chartrad.xml
Find What:
^(Chartrad)#(.+)Change to:
$1$204_Change Charterpresident.xml
Find What:
^(Charterpresident)#(.+)Change to:
$1$205_Change Address.xml
Find What:
^(Address)#(\w+)( \w+)?#(\w+)###(\w+)#(\w+)Change to:
$1$2$3,$4,$5 $606_Change Meeting time.xml
Find What:
^(Meeting time)#(.+)#(.+)Change to:
$1$2 $307_Change Phone.xml
Find What:
^(Phone)#(.+)#(.+)Change to:
$1$2-$308_Change Email.xml
Find What:
^(Email)#(.+)Change to:
$1$209_Change Webpage.xml
Find What:
^(Webpage)#(.+)Change to:
$1$210_Change Titles.xml
Find What:
^(Title)#(\w+)#(\w+)#(\w+)#(\w+)#(\w+)Change to:
$1$2 $3$4-$5, $6Just 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/elNJbGtBUzhkMnNVV01UQwand 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
Masood Ahmad
ParticipantThanks, let me give it a try…
Masood Ahmad
ParticipantP.S.: Also wants to know if there are any Paragraph/Character styles and what applies where?
I’ll prefer there exact names, if possible.
Masood Ahmad
ParticipantAre 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.
March 24, 2014 at 5:15 am in reply to: Copying all GREP-styles from one paragraph style to annother #67718Masood Ahmad
ParticipantSorry Marcinploch, I should have asked Colin Flashman for the script. Colin: could you please arrange the script in a zip format.
March 24, 2014 at 2:24 am in reply to: Copying all GREP-styles from one paragraph style to annother #67717Masood Ahmad
ParticipantHi 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.
Masood Ahmad
ParticipantYou are welcome Yala. The pleasure of learning is beyond imagination. I’m still learning…
March 21, 2014 at 4:46 am in reply to: Copying all GREP-styles from one paragraph style to annother #67698Masood Ahmad
ParticipantHi Marcinploch, would it be possible to upload the script to avoid any errors. I’m too getting errors.
-
AuthorPosts
