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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 Articlecan'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 ArticleData 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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