Forum Replies Created
-
AuthorPosts
-
Masood Ahmad
ParticipantHi Mike,
Both the scripts worked like a charm, but I’ll prefer to use the first one. It will help me to replace and check my content.
As I said in my initial post, I’ll also try some GREP code. It seems I’m lucky to achieve it. I came up with three Grep Code sequence to run one by one. I wonder I might have to add subsequent codes, if the numbers are too lengthy. However, I’m happy as it is working on the existing text.
1st Run) GREP Find/Change:
Find What:(\d\d\d)(\d\d\d), \1
Change to:$1$2,2nd Run) GREP Find/Change:
Find What:(\d\d\d)(\d\d\d), (\d\d\d), \1
Change to:$1$2, $3,3rd Run) GREP Find/Change:
Find What:(\d\d\d)(\d\d\d), (\d\d\d), (\d\d\d), (\d\d\d), \1
Change to:$1$2, $3, $4, $5,Thanks Mike for giving me an instant solution. The script is going to help me a lot.
Masood Ahmad
ParticipantHi Mike, The script is not working. As I requested earlier that I need a way out to feed the source numbers either from a selection or through input message box. Can you please look into this again and help me out with some updated and working code.
Thanks in advance.
Masood Ahmad
ParticipantOf course I love videos and this one is really good and it could be great if I could see the code :)
Masood Ahmad
ParticipantHi Mike, thanks for the code and suggestions. It seems interesting and hope it will work as expected. I’m away from my computer right now so I’ll test it on Monday.
Though I am not a script writer but it looks that you have taken the source numbers as constant values whereas they are not fix. They are of varied length and numbers. So I need a way out to feed the source numbers either from a selection or through input message box.
Hope I’m able to explain.Masood Ahmad
ParticipantI came up with this code, but it removes the duplicate initial numbers from the second group only.
GREP Find/Change:
Find What:(\d\d\d)(\d\d\d), \1
Change to:$1$2,…I’ll try more
Masood Ahmad
ParticipantThe ExtendScript Toolkit is all you need. However, if you need more, I would suggest vising this valuable resource:
https://www.jongware.com/idjshelp.html
Oooooppps! that’s a lot much :)
August 23, 2017 at 6:54 am in reply to: Script to apply Paragraph style to a specific tag with attributes #97019Masood Ahmad
ParticipantHi Michael,
Can you please explain a little more so that a GREP code can be written.
Secondly, you can easily apply tags using the Find/Change. In the Change Format Settings, click the XML option at the bottom left and then choose the XML Tag to apply to.
But before the F/C, you need to import the XML Tags in to your document.Masood Ahmad
ParticipantI think, you’re looking for this:
https://creativepro.com/page-exporter-utility-peu-5-script-updated-for-cs3.php
Masood Ahmad
Participant@Kai, Let’s say…
I group all the Paragraph Styles and named the group as “Styles for ABC”, now I want a script that will pop me to input the Group name (to make changes to) and also pop me for the suffix to rename the para styles with that group.This is useful, when I want to duplicate the styles and create new ones with minimal changes.
Hope you have something in your pockets.
Masood Ahmad
Participant@Peter, your script works very well and I use it more often, when I have to export a number of PDFs. Is it possible somehow to batch convert both IDML and PDF in one go. Currently I export PDFs and then IDMLs.
August 22, 2017 at 8:03 am in reply to: Custom page numbering: Q1, A1, Q2, A2 — How to set up? #96979Masood Ahmad
ParticipantAhh! How I missed it :(
Masood Ahmad
ParticipantOptical Margin Alignment works on text frames not on Actual Text. You have to create separate Text Frames for the List numbers and apply Optical Margin Alignment on it.
August 22, 2017 at 7:22 am in reply to: Custom page numbering: Q1, A1, Q2, A2 — How to set up? #96975Masood Ahmad
ParticipantNo, you can’t accomplish this in InDesign. Odd pages will have odd numbers and Even pages will have even numbers. You can definitely prefix them with Q and A, but you can’t change the sequence.
Masood Ahmad
ParticipantIt seems, your InDesign Preferences are different.
Go to InDesign Preferences (Cmd/Ctrl + K)
Go to Guides & Pasteboard tab >> under the “Smart Guide Options”, check all the boxes.Hope you’ll see the Green again…
Masood Ahmad
ParticipantHey Marcos, try this:
https://creativepro.com/getting-started-with-xml-in-indesign.php
-
AuthorPosts
