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

Re: Viewing or printing a list of hyperlinks contained in a document

I am not too surprised if it is useless, I keep them in whatever I write in JavaScript as a "good habit", but please feel free to take it out!

View Article


Image may be NSFW.
Clik here to view.

Re: Viewing or printing a list of hyperlinks contained in a document

@Nukleas – did you test your script on documents that contain a tabel of contents?It will break on line 13: linkedURL = myHyperlinks.item(i).destination.destinationURL || ""; // extract destination URL...

View Article


Re: Viewing or printing a list of hyperlinks contained in a document

your "good habit" might get you in a lot of trouble in the browser world, as strict mode implementation differs substantialy from each browser (especially mobile ones)

View Article

Re: Viewing or printing a list of hyperlinks contained in a document

Ah, that's a good call! I am testing on Windows so it views a bit differently for me. I have changed the dialog to save dialog, for the destination I thought it might be better to try to catch any...

View Article

Image may be NSFW.
Clik here to view.

Re: Relink script for print imposition

Hi, Try this: var mDoc = app.activeDocument; var stop = 2; var mPDF, oldPageNum, currPDF, currFile, mRec; while (stop > 1) {    stop = 1;    var mPage = mDoc.pages[-1].duplicate();    var mGraphics...

View Article


Re: Convert spread pages to single pages using javascript

Hi Jump_Over, Thanks a ton for your help. It is working fine.  Regards,Muthuraj. D

View Article

Image may be NSFW.
Clik here to view.

Re: Viewing or printing a list of hyperlinks contained in a document

I've just gotten around to testing the script out and have come across the error relating to a table of contents on line 13.  I tried deleting the table of contents to see if the script would run but...

View Article

Re: Viewing or printing a list of hyperlinks contained in a document

Hiya, I've updated the script on github: https://github.com/nukleas/indesign-incopy-snippets/blob/master/extrac tHyperlinks.js The fix ought to do it, here's the raw code (still haven't nixed the "use...

View Article


Re: Viewing or printing a list of hyperlinks contained in a document

@gwhPoster – a table is just one out of a few other things the script can break. Try the following and change line 13 (of the original script posted in answer #3) to: try{ linkedURL =...

View Article


Re: Viewing or printing a list of hyperlinks contained in a document

@nukleas – our posts just crossed…Did not think you are still awake. @gwhPoster – first try the new script by nukleas. Uwe

View Article

Re: Viewing or printing a list of hyperlinks contained in a document

Thanks to you both - the new full script works great. I noticed that it includes cross-references in the results which are not needed but they can easily be deleted if I open up the file in excel and...

View Article

[basiljs] remove all pages except one

In a script i create pages, export to pdf, remove pages and then create again etc.At the moment i use this: [code]for(var j = b.pageCount(); j > 1; j--) {          b.removePage(j);}[/code]   But it...

View Article

Re: Viewing or printing a list of hyperlinks contained in a document

I just found the following script which looks like it will do a find/change for hyperlinks: http://in-tools.com/downloads/indesign/scripts/ReplaceHyperlinkUrlValu es.jsx Hope it helps someone-else also.

View Article


Re: Place library asset

Hi hurix123, Please try the below code, may it will be helpful... Kindly ensure the paragraph style, object style and library assets....    var myDoc = app.activeDocument var myLib = app.libraries[0]...

View Article

can't find exported png

I want to export png's out of a file.I would prefer to have them in a output folder located to where the indesign file is saved but it allready goes wrong with this:  #includepath...

View Article


Data Merge not picking up all data fields

Hi, I've been having a problem, posted here: http://forums.adobe.com/thread/1217090 Essentially, I have been using the script 'CSV2Tables' to prepopulate simple 2 column tables with information drawn...

View Article

Re: can't find exported png

To put the file in the same folder as the currently executing script, use new File((new File($.fileName)).parent.fsName + "/test" + j + ".png")

View Article


Re: can't find exported png

I had my for loop wrong as well in previous post. Now i have:  #includepath "~/Documents/;%USERPROFILE%Documents"; #include "basiljs/bundle/basil.js";   function setup() {       b.units(b.MM);  }...

View Article

Re: How to increase the soap session timeout?

I wrapped up my case with Adobe, and it turns out: confirmed bug. The timeout is 30 seconds and does not respond to the -rxidletimeout parameter.

View Article

Re: Relink script for print imposition

Worked perfectly! Thank you so much!

View Article
Browsing all 37788 articles
Browse latest View live


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