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

Applescript to run javascript

Hi all, I got error in this script. Could anyone help on this? tell application "Finder"    activate    set myApps to {"CS3", "CS4", "CS5"}    set selectedApp to choose from list myApps with prompt...

View Article


Delete and replace XML-tag

How do I delete an XML tag and replace it using script? There's a function for adding tags to the document (activeDocument.xmlTags.add("xml-tag")), but I can't find a corresponding function to delete...

View Article


Re: Applescript to run javascript

hey suresh.. can't realy remember the last time i used applescript, but still here are my two cents:the javascript you are trying to run has a error somwhere in it. open it in estk and try a "Check...

View Article

Re: Applescript to run javascript

Hi Vamitul, Thanks for your quick response. I  checked the javascript in ESTK which shows no error.Even if I write a simple javascript (an alert message), applescript throw an error in the same line....

View Article

Re: Applescript to run javascript

ok...tell application "Finder"    activate    set myApps to {"CS3", "CS4", "CS5"}    set selectedApp to choose from list myApps with prompt "Choose Application:" with title "Launch Application"    if...

View Article


Re: Applescript to run javascript

Hi Vamitul, Thanks for showing a different way to specify the path. It  throw an error in same line like this. run script file myScript // error "Adobe InDesign CS4 got an error: Can’t make some data...

View Article

Re: How can I change the import options for an Excel table in InDesign CS5.5?

Okay, now it is working. I had to save the XLSX-file into the older XLS format, but that seems to work quite well. But I won't ever understand why InDesign loses its backward compatibility from one...

View Article

Re: Applescript to run javascript

aa.. it's do script, not run script. (just checking form the scripting guide) try: do script alias myScript language javascript

View Article


Re: Applescript to run javascript

Hi Vamitul, It works fine when I edit the  script like this: tell application "Finder"    activate    set myApps to {"CS3", "CS4", "CS5"}    set selectedApp to choose from list myApps with prompt...

View Article


Re: Delete and replace XML-tag

Ok, this wasn't so difficult to solve. I was looking at the wrong place that's all. The remove(replaceWith) function is available from the XMLTag class. Meaning the followin code removes the tag called...

View Article

Re: Applescript to run javascript

tell application myApp     activate     do script alias myFile language javascriptend tell

View Article

xml impacting text flow

We have a script that inserts xml tags to document where pagebreaks are and in some instances, where linebreaks are. We're noticing that in some circumstances insertion of an xml tag will cause the...

View Article

Re: How will the Adobe Cloud feature affect my scripts?

With the Adobe Creative Cloud, users will be notified about availability of new updates for their respective applications. There is no automatic background installation of these updates. In fact,...

View Article


Re: xml impacting text flow

I haven't personally ever seen the 0xfeff characters InDesign uses to hold the xml tag markers trigger a recomposition. When I've seen recompositions that didn't make sense to me, it has often turned...

View Article

Re: xml impacting text flow

Thanks Jeff.  command-option-/ was first thing i tried. Nothing on that page reflowed. Then i added one processing instruction. Still nothing reflowed. Then i added a processing-instruction in another...

View Article


Re: xml impacting text flow

"Known issue" in 2008, and still known to us today... I guess I can be glad I don't often work with long documents. Maybe someone who does will come along with a workaround...

View Article

Getting the stack trace of an error

When I catch an error, I would like to be able to log its stack trace. So far I’ve come up with this little trick: Error.prototype.toString = function() {    if (typeof this.stack === "undefined" ||...

View Article


Re: How will the Adobe Cloud feature affect my scripts?

Thanks for the info vinothr, thats good to hear regarding the updates being optional from a scripting point of view, but I don't know how this will affect my organisation from a business point of view...

View Article

Re: Find and change GREP characters

Hi, My problem is when i find this method ALL Inside the italic style also applied EM_SPACE, I want to place before last line of the paragraph word applied style by ITALIC. Hurix

View Article

Image may be NSFW.
Clik here to view.

Re: Applescript to run javascript

Hi Mark Thanks for your reply. But it shows an error at this line do script alias myFile language javascript 

View Article
Browsing all 37788 articles
Browse latest View live


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