Re: Open With
Hi Carlos, Thanks again that finshes of the answers up the original question.One last (I HOPE) question.What would I change in this line'app.Workbooks.OpenText...
View ArticleRe: I want to change/apply every page of first line keep option is keep next...
Hi Sazee, Plz make ur question some more clear. Providing question with sample or screenshot, sounds a lot. And Let experts in this forum can help u. Vel
View ArticleHow to show/say top level group/directory
So i have a script thanks to help from this forum for changing styles, but the one problem i still have is i don't know how to say or show the top level of a style (so one not in a group). Here is the...
View ArticleRe: link item space return string in language
Hi, Thanks your for your reply… Why not! But I would like to find a safer way to do this function is_image_bitmap(link_item){ var is_bitmap = false; var image = link_item.parent; if...
View ArticleRe: Need a stop block in my script
Hi, Let me ask you once more about a goal: - it should find ":" at the end of "no bullets" para and change case of 1st letter of the next para if it is with "bullet", or - it should find ":" at the end...
View ArticleRe: link item space return string in language
Hi, What about imageTypeName localized names? Are they differ so much as well? app.selection[0].images[0].imageTypeName.slice(0,6) == "Bitmap"; Jarek
View ArticleRe: link item space return string in language
If there's one image in your document which you know is bitmap, you can store that in a string: is_bitmap_string = bitmap_image.space and use that to compare. If not, you could consider getting the...
View ArticleRe: Re-Numbering numbers
You need to look for numbers, not digits, so use Grep to find all numbers: \d+Find all numbers and replace their contents with the value of the for-loop counter. No need to bother with what the...
View ArticleRe: How to show/say top level group/directory
I'm not sure if this is the answer you were looking for: if a style's parent is a document, it's a top-level style: if (myStyle.parent instanceof Document) { // myStyle is not in a style group} Peter
View ArticleRe: link item space return string in language
Hi thanks your for your help! Its really nice:)The imageTypeName return the file type by me. If I use an image in TIFF bitmap this function return TIFF… var image =...
View ArticleRe: link item space return string in language
Try using the language-neutral formulation of the string. Something like this: if(image.space == "$ID/Black and White") Peter
View ArticleRe: link item space return string in language
Maybe someone will come up with a more direct way. I'm not ruling that out at all...
View ArticleRe: How to show/say top level group/directory
Where abouts would i put that, and what do i put in the "group" instead of the name of the group, or do i just leave it blank? And thanks heaps for taking to time to answer, Cheers
View ArticleRe: How to show/say top level group/directory
Hi, Modify a function:function replaceStyle(GroupOld , find, GroupNew, replace){ try{ var myDoc = app.activeDocument, importedStyle = myDoc.paragraphStyles.item(find), ApplyStyle =...
View ArticleRe: Open With
Good morning, as you can read (;-)) in the AS-Excel-Reference you've posted (4th post) there's no open command for html-files.Commands offered: open; open FileMaker file; open links; open text file;...
View ArticleRe: link item space return string in language
Hi, Thanks you for your answer! It's look quite good but I read the documentation and I didn't find a solution.I find this code who look safe but doesn't work by me: #target indesign // copy paste...
View ArticleRe: Need a stop block in my script
Many many apologize for the confusions and many thanks for the patience in replying me...... & supporting me.... I do want to change the first character of every paragraphs which is bullets and...
View ArticleRe: Open With
Hi Hans and Carlos I see that using Carlos's script in 25 above works for html files as well One just needs to change the file suffix from .txt to.html and get rid of the as text... and excel opens the...
View Article