Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Browsing all 37788 articles
Browse latest View live

hyperlinkTextSources from hyperlinkTextDestinations text

Hi Scripters, big question!!!With two documents open, I have some hyperlinkTextDestinations previously created by text selections. Now want to create hyperlinks with hyperlinkTextSources refering to...

View Article


Re: Grep expression not working in JS

Vandy   For some inexplicable it now also works fine for me.    Thom Blake 1 Foch Street Ashgrove 4060 <mailto:thom@thomblake.com.au> thom@thomblake.com.au t  0733661177 m 0418187604

View Article


Re: Grep expression not working in JS

Jump_over   Thanks for your reply but for some inexplicable reason it now works fine. Sorry to be a bother   Thom Blake 1 Foch Street Ashgrove 4060 <mailto:thom@thomblake.com.au>...

View Article

Re: [JS/CS4+] Best way to add formatted text?

Hi Jongware, Would you mind discussing which option you did go with? I am currently working with XML in the scenario you suggest in your top post. I import an XML file, map it to paragraph styles and...

View Article

Re: How to write data at the end of doc in reverse order?[CS6-jsx]

Hi, I think what you are doing is the code below.you should fix usingfindGrep(true) => true is 'reverse order' optionand move()var dummy = "Um veles 1.eatiorum et alic tem 2.quibusda nit volest, to...

View Article


Re: ConvertToButton using script

Thanks Peter for reply

View Article

Re: hyperlinkTextSources from hyperlinkTextDestinations text

-- by using apple script -> u converted this into java script eg :  set mydoc to active document -> apple script    var myDoc = app.activeDocument -> java script  select text of selection...

View Article

Re: Place library asset

using apple script -> u converted into java script set LibraryPath to "MAC:Users:user:Desktop:Beecher:Libraries: ProjFolName" & ".indl"open LibraryPath                        tell application...

View Article


Re: Place library asset

Hi Suriya, I have placed Library Item which is my activeDocument. See my above javascript code. my questio is i have to move the item where the "box" is cited in page layout. place either top or...

View Article


Re: Spread Extract as JPEG not show image on spread

Before you have to export, set ruler orgin to spread orgin............ var myDocument = app.documents.item(0);    //<fragment>    with(myDocument.viewPreferences){        //Measurement unit...

View Article

Re: hyperlinkTextSources from hyperlinkTextDestinations text

Thank you SuriyaRevathi, but, if I've right understood your script, a selected text is my target (js line 1) not my starting point (it will be at js line 2)

View Article

Re: How to write data at the end of doc in reverse order?[CS6-jsx]

Yes, param True is good. But unforunately, i need to move entries with numbering its. So numbers appear in reverse order. The mision: to create endnotes list of specially marked texts fragments. I...

View Article

Re: How to write data at the end of doc in reverse order?[CS6-jsx]

i think this will interest you:http://jongware.mit.edu/idcs5/pc_Array.html#reverse long story short after the find grep or whatevermyFoundArray.reverse();

View Article


[CS5.5][JS] Delete character located before search result

Hi, I have a small question.  I would like to delete all spaces before all text tagged with a specific character style. Example: "Appel:[SPACE][BEGIN CHAR STYLE FRUIT]5 pieces[END CHAR STYLE FRUIT] I...

View Article

Re: [CS5.5][JS] Delete character located before search result

Hi, For those who are interested: I found a solution:              app.findTextPreferences = NothingEnum.nothing;             app.findTextPreferences.appliedCharacterStyle = "FRUIT"...

View Article


Re: [CS5.5][JS] Delete character located before search result

Hi, What about 2 steps://1st step to find replace inserting some "original" chars combination:// let say: em-space en-space app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.nothing;...

View Article

Re: Indesign Scripting: Loop through Layers

Thanks for all the useful and helpful answers. The script Laubender posted worked perfectly, and I have learnt a lot about scripting from it.Indesign Scripting: Loop through Layers

View Article


Re: [JS/CS4+] Best way to add formatted text?

Hi folks, I needed to do this exact thing back in the CS3 days, and back then I found that tagged text was by far the fastest alternative. I did not try Harbs' idea, though. I wrote the tagged text...

View Article

Re: How to print PDF with H&J Highlights

Hi Pickory, Can I get the plug-ins for InDesign 5.5 version. The existing version not working for InDesign 5.5. Thanks in advance  Vinoth V.

View Article

Re: How to write data at the end of doc in reverse order?[CS6-jsx]

Yes, .reverse() method helped: var mStory = app.selection[0].insertionPoints[0].parentStory; var aEndList = []; // prepare arraymFind ="\\{\\{\\{.+?\\}\\}\\}"; // my coding of text being searched...

View Article
Browsing all 37788 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>