Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Browsing all 15932 articles
Browse latest View live

Viewing or printing a list of hyperlinks contained in a document

Hi everyone,I have a document containing hundreds of hyperlinks. Is it possible to automatically compile a list of those hyperlinks so that I can view and/or print them as I need to check the syntax...

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


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

[JS][CS5] automate numbering swatches?

Hey,I'm trying to make a script that will automatically number swatches based on their order in the swatch panel. I found this script in another topic already var myDocument = app.activeDocument;for(i...

View Article

[JS] :: [CSX] - PageItem Stacking Order

Hi folks,Does any one here have any knowledge and or experience on how indesign handles the stacking order of page items.I have a simple script which can be viewed...

View Article


File extensions on Mac

Hi there, Using a line like this on a Windows machine:      myFile= File.saveDialog("Save Settings", "Super script extension: *.sse"); this makes sure that whatever name the user chooses for their...

View Article

InDesign 7.0 breaks Visual Basic reference

I've previously posted this to the Indesign SDK & Scripting forums, but haven't gotten a reply.I thought I'd try again, rephrasing it a bit.When I installed Creative Suite 4, InDesign 6.0 installed...

View Article

Indesign XML-IN workflow - Anchoring issues

Hi all, We are using Indesign CS5.5 and CS6.For XML-IN workflow, we have developed a in-house tool for automation. Marginal Notes: Using Script we drag the content from the XML tree and anchor it in...

View Article


How can I get a total page count of a PDF before placing every page in the PDF?

Before the [long] spiel, I'm using javascript in InDesign CS3.I'd like to create a script that places a multiPage PDF in any number of different impositions. (saddle stitch, 4up signatures, 16up...

View Article


Script launch counter

Hi,following the example in this site:http://www.indiscripts.com/post/2009/11/can-indesign-script-rewrite-it self I tried to include the following code in my script for protection purposes: var cpt =...

View Article

Image may be NSFW.
Clik here to view.

Doubt hyperlink Page Destination

Hi Script Legends, I am entirely new for hyperlink concept. Requirement:In the active document Hyperlink having "Link to Page" property. My requirement want to check the destination page. Suppose that...

View Article

[JS][CS6] Create destination from CharStyle and automate hyperlinking

Hi Script Gurus, I've been wondering for years if I can automate the time consuming hyperlinking of cross-references. Here's the scenario: There's a figure citation in paragraphs which is something...

View Article

Stop Redrawing in VBA

Hello, I try (or better ife done) a complexe Script in VBA.It accesses directly Indesign and send Line by Line all Stuff to Indesign.So i DO NOT load the script in Indesign, i execute it directly in my...

View Article


How to get exact values.

Hi Forum, I'm trying to get page margin Width and Height as a text in slug area. When I minus the pagewidh with pagemargin, i'm getting values in fractions like this. eg. 177.43999999.  When i draw a...

View Article

Call another InDesign script with doScript in InDesign CS4 js

Hi, I need to call a separate InDesign script from an active script. Could I do it through java script, or do I need to call applescript to run the InDesign script. var myJavaScript = "myOtherScript";...

View Article


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 Article

How to getFiles from subdirectories as well

Hello all, I am using a modified version of tomaxxi's script as seen here (yes I know it is an old thread): http://forums.adobe.com/message/3168013 I know he has a new script, but neither of them can...

View Article


How to increase the soap session timeout?

Looking through the ExtendScript DOM for InDesign Server CS6, I noticed this: app.serverSettings.sessionTimeout (number, readonly) The session timeout (in seconds) for soap sessions. The default seems...

View Article

Close document after background export to PDF

Hello all,I've javascripting InDesign for about a year. My job is almost completely automated now.However, something is eluding me.  When I export a document to a PDF, I have a script that adds the...

View Article

XML ATTRIBUTE

Hi, xml data with contains attribute values. XML Data: <chapter><div class="figure" id="s9781452281988.n9.i73"><p class="fig-caption" name="Figure 9.2.">Prevention of, and Treatment...

View Article
Browsing all 15932 articles
Browse latest View live


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