Duplicate pdfExportPreset
This script: app.pdfExportPresets[0].duplicate().bleedMarks = true; Works correctly when run from a pallet Sctipts (new preset created)and does NOT work if you run it from the editor ExtendScript...
View ArticleRe: word style conflict
Hi, You could iterate through doc all para styles. if (someStyle.imported == true);someStyle is one of yours "floppy" someStyle.remove(yourStyle);this would remove it replacing with yourStyle Jarek
View ArticleRe: Doubt hyperlink Page Destination
@Peter – hm, I think myPagedestination[j].pages[0] cannot work, because hyperlinkPageDestinations have no page property… There is a destinationPage property for that purpose. And if we remove all...
View ArticleRe: word style conflict
Hi, Is there any option to Looping one by one to change the styles. Hurix
View ArticleRe: Strange behavior function Document.exportFile()
@enbanat – what kind of method do you use to export to PDF? 1. "exportFile()" //InDesign CS1 (?) and above or 2. "asynchronousExportFile()" //InDesign CS5 and above ?? If you use the method in 2. you...
View ArticleRe: word style conflict
Hi hurix123, Better use "show import options". Using this you can mapping all the word styles and indesign styles. Finally you use the "Save Preset" or Another options using that "save preset" flow...
View ArticleAdd text sources
Hi All, Kind request: Entirely new for hyperlink concept Requirement: I want to create text anchor in each page and for every textframe[0] contents. Using forum I modify the script (Running...
View ArticleRe: Strange behavior function Document.exportFile()
Laubender wrote: @enbanat – what kind of method do you use to export to PDF? 1. "exportFile()" //InDesign CS1 (?) and above or 2. "asynchronousExportFile()" //InDesign CS5 and above Uwe, thanks for...
View ArticleRe: Doubt hyperlink Page Destination
Thanks, Uwe. I simply looked no further than "pages[0].allPageItems == 0" and 'corrected' that. Indeed hyperlinkPageDestinations don't have a page property, but they do have a destinationPage property,...
View ArticleRe: Viewing or printing a list of hyperlinks contained in a document
Sorry to come back to this post. The script is still working as intended but I'm having a bit of a problem. Within my hyperlinks panel there are upwards of 12 to 15 hyperlinks that are a light grey...
View ArticleRe: Viewing or printing a list of hyperlinks contained in a document
@gwhPoster – as stated here: http://forums.adobe.com/message/5356216#5356216 there is the possibility, that a script is just deleting the destination of a hyperlink, leaving the hyperlink intact. It's...
View ArticleRe: Viewing or printing a list of hyperlinks contained in a document
Thanks for the reply Uwe, You mentioned about the possibility of script deleting the destination of a hyperlink. Are you saying that I must have run a script at some point and that this script is what...
View ArticleRetrieve string from web server
Hi,I was thinking of a method for protecting a script, which would consists in retrieving a string from a web server and comparing it with a variable inside the script itself.Is there any chances for...
View ArticleRe: Retrieve string from web server
Yes, ExtendScript can talk to a server. So you can create a .php page to validate your script and send back confirmation to the script. Take a look at the Socket object in the documentation. Ariel
View ArticleRe: Viewing or printing a list of hyperlinks contained in a document
@gwPoster – no, I did not say such a specific thing.And, if you are not sure what has happened, how could I instead ;-) Without inspecting the InDesign file(s) that are affected, one can only suggest a...
View ArticleRe: Viewing or printing a list of hyperlinks contained in a document
Ok fair enough. So will the code snippet that you supplied remove the "orphaned" links from the panel? The code seems to target hyperlinks without a destination whereas my links have a destination,...
View ArticleRe: Viewing or printing a list of hyperlinks contained in a document
@gwhPoster – the snippet removes hyperlinks without destinations.So you cannot use it for your destinations without a source. You could try (CAUTION. I did NOT test that yet !! ) : source === null...
View ArticleRe: Retrieve string from web server
http://www.rorohiko.com/wordpress/indesign-downloads/active-page-item- developer/ ...For optional copy protection, APID provides a licensing system that ties into the InDesign serial number. The...
View ArticleMove using selected width
Hello forum, I have a textFrame(1) inside document, and i have a another textFrame(2) selected. Help, i needed is to; move the textFrame(1) X & Y position. The textFrame(1) X & Y should be :...
View Article