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

Disabling a signature line in Adobe Livecycle Designer

I have a form that have a yes / no question with checkboxes.  I want the digital signature line to be disabled if the "No" checkbox is selected.  I would also like the space where the digital singature...

View Article


Using app.findGrep() and app.changeGrep() consecutively

I have a script that should find and replace predefined terms and mark the changes visually on a separate layer.   The process basically works in two steps:  Loop through a list of expressions, look...

View Article


Re: Script to search for text and remove hyperlink and characterstyle that is...

Is it possible to search for a URL character stye and remove the Hyperlink, retaining the character style.

View Article

Image may be NSFW.
Clik here to view.

Re: Copy link name by selecting it in Links palette?

The selection made in the Links panel is unavailable to scripting so you can't do this.

View Article

Re: Script to search for text and remove hyperlink and characterstyle that is...

HI, Just comment these two lines: //.............if (myHyp[len].source.hasOwnProperty("sourceText") && myHyp[len].source.sourceText.contents == myFindVal) {     //...

View Article


Re: Copy link name by selecting it in Links palette?

Oh bummer, I had a feeling that was going to be the answer. But it's good to know for sure so I can stop searching. Guess I'll just have to go with clicking on the actual graphic, and not the link in...

View Article

Image may be NSFW.
Clik here to view.

Re: cleaning up text frames

Thank you for your test file Uwe. I have run my cobbled together script on the file and am satisfied with the results. Buttons and MSOs were left alone; grouped objects were not touched; empty inlines...

View Article

Find and replace text in hyperlinks

I want to find and replace text inside all of the hyperlinks inside my documents.  What property of the hyperlink elements is the hyperlink text stored in? I know the text that the hyperlink is applied...

View Article


Re: Find and replace text in hyperlinks

Hi, edit myHyp[len].destination.destinationURL In your case:// ............... var     myDest = myHyp.destination.destinationURL,      myDest = myDest.replace("subsite1","subsite2");...

View Article


Re: Find and replace text in hyperlinks

You're amazing as always my friend! Here's my final code for anyone who's interested:  main();  function main() {    var myDialog = app.dialogs.add({name: "Find and replace the user submitted text in...

View Article

Re: Find and replace text in hyperlinks

I'm getting a JavaScript Error! sometimes when I run my code. Error Number: 21Error String: null is not an object Source: if (myHype[len].destination.hasOwnProperty("destinationURL")    What's the best...

View Article

Re: Find and replace text in hyperlinks

Hi, I would add to the "if" statement:if (     myHyp[len].destination &&     myHyp[len].destination.hasOwnProperty("destinationURL") &&     myHyp[len].destination.destinationURL.length...

View Article

Re: Find and replace text in hyperlinks

Again, you're awesome mate! Thank you so much, that did the trick! Here's my final code:  main();  function main() {    var myDialog = app.dialogs.add({name: "Find and replace the user submitted text...

View Article


Re: Script to search for text and remove hyperlink and characterstyle that is...

Thanks Jarek. Its working. Can we find a specific URL style and remove the Hyperlink if applied.

View Article

Re: Using app.findGrep() and app.changeGrep() consecutively

As I read the theory it should work for you.  If you post your code snippet it will be easier the decipher them.

View Article


Re: Background Task panel pops up when copying text

Did you tried the latest version of the script?  http://web.mit.edu/jhawk/www/jsx/exportPop.jsx If this is not working for you, please post your feedback to "http://forums.adobe.com/thread/830572"...

View Article

Re: Background Task panel pops up when copying text

@Davey – did this issue start after updating InDesign from version 8.0.1 to 8.0.2 ?What is your exact version? Uwe

View Article


Re: Place image into table cell based on text value

Hi, Thanks for the reply. I tried implementing your code, but the results weren't as expected. I changed... image[i].absoluteHorizontalScale = 50; to image.absoluteHorizontalScale = 50; ...as I'm not...

View Article

Re: Background Task panel pops up when copying text

Hi GuysThanks for your replies! @ Green4Ever - I tried your version and I am getting the same results. @ Uwe - I am still using version 8.01  Just for track records,I already tried trashing my prefs,...

View Article

Image may be NSFW.
Clik here to view.

Re: ANN: automatic dialog after background export (exportPop.jsx)

Hello,First of all, Thanks John for this great script. It fits my work method perfectly! Now,Although I should have posted this question here first, This is the 3rd place posting it... hoping to find...

View Article
Browsing all 37788 articles
Browse latest View live


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