Forum Replies Created
-
AuthorPosts
-
October 10, 2012 at 5:28 am in reply to: Define table row heights, column widths in styles somehow? #63324
Al
MemberHi,
I need your help with this script you been working around. I can find it very useful and I tried to apply and works good but there is a tiny problem that I don't knowhow to fix yet as I am just strating to dive a bit into this fascinating world of scripting.
If I apply this script
app.activeDocument.stories.everyItem().tables.everyItem().columns[0].width = “8mm”;
app.activeDocument.stories.everyItem().tables.everyItem().columns[1].width = “36mm”;It clearly picks up every item (every table) from my story. But what if I want just to select tables made of two colums or just selected ones instead to apply the script?
How can I tell those conditions?
Thank you very much
Al
October 9, 2012 at 10:28 pm in reply to: Define table row heights, column widths in styles somehow? #52839Al
MemberHi,
I need your help with this script you been working around. I can find it very useful and I tried to apply and works good but there is a tiny problem that I don't knowhow to fix yet as I am just strating to dive a bit into this fascinating world of scripting.
If I apply this script
app.activeDocument.stories.everyItem().tables.everyItem().columns[0].width = “8mm”;
app.activeDocument.stories.everyItem().tables.everyItem().columns[1].width = “36mm”;It clearly picks up every item (every table) from my story. But what if I want just to select tables made of two colums or just selected ones instead to apply the script?
How can I tell those conditions?
Thank you very much
Al
Al
MemberOk, Found it. They belong to InMaths plug-in which has been used in the originally document. But the weird thing is that I cannot see any maths formula in this document. Anyway, that is the answer to my problems.
Thanks David and others
Al
MemberHi
I just have installled Indesign CS5 along with the other components of the Master Collection and I have the same problem.
I am trying to open a job originally created in CS4 on a PC and now opening in my Macbook Pro with CS5 and it says that this plug-ins are not available on my system MM.MS.IM.STYLES.PLN, MM.MS.IM.KERNEL.PLN, MM.MS.IM.TEMPLATES.PLN
Any suggestion on what should I do?
Thanks
Al
MemberOk, Found it. They belong to InMaths plug-in which has been used in the originally document. But the weird thing is that I cannot see any maths formula in this document. Anyway, that is the answer to my problems.
Thanks David and others
Al
MemberHi
I just have installled Indesign CS5 along with the other components of the Master Collection and I have the same problem.
I am trying to open a job originally created in CS4 on a PC and now opening in my Macbook Pro with CS5 and it says that this plug-ins are not available on my system MM.MS.IM.STYLES.PLN, MM.MS.IM.KERNEL.PLN, MM.MS.IM.TEMPLATES.PLN
Any suggestion on what should I do?
Thanks
Al
MemberOK, looks like it works!
I would have prefer to get a nonbreaking space between the group of numbers (fix width) but will be ok for the moment.
Thanks
Al
MemberHi,
Thanks for your explanation. I understand what you are saying thanks. One doubt about it. I have created quite a few paragraph styles for contents, tables, etc, shall I apply that GREP style to the basic paragraph style as is the one others are based on?
I have found a problem apllying that GREP style. Is not working, must be something I have missed btu I can't see what
Al
MemberThanks Mr Blatner (or David) :)
I am new defining GREP sentences and scripting, a completely beginner but I need to do this change on a long document as a matter of urgency. My problem is that I aleready knew how to find the numbers using the same code you have suggested £d[ds]+, but I don't know what to put under Change to:
Alfonso
Al
MemberOK, looks like it works!
I would have prefer to get a nonbreaking space between the group of numbers (fix width) but will be ok for the moment.
Thanks
Al
MemberHi,
Thanks for your explanation. I understand what you are saying thanks. One doubt about it. I have created quite a few paragraph styles for contents, tables, etc, shall I apply that GREP style to the basic paragraph style as is the one others are based on?
I have found a problem apllying that GREP style. Is not working, must be something I have missed btu I can't see what
Al
MemberThanks Mr Blatner (or David) :)
I am new defining GREP sentences and scripting, a completely beginner but I need to do this change on a long document as a matter of urgency. My problem is that I aleready knew how to find the numbers using the same code you have suggested £d[ds]+, but I don't know what to put under Change to:
Alfonso
-
AuthorPosts