InDesign CS2 Error adding bookContents to a book

Hi all,
I want create a book in InDesign CS2 and add indesign documents to it using javascript and I get this error //ERROR:Process aborted by user What's wrong with this script?
//DESCRIPTION: Create a book and add indd-files of a choosen folder
var path = "//Users/INDD";
var bookname= "BookINDD";
var myFolder = new Folder(path);
if( myFolder != null ){
// get indd-files of choosen folder
var myFiles=myFolder.getFiles( ficheroIndd );
if ( myFiles.length > 0 ){
var myBookFileName = myFolder + "/"+ bookname + ".indb";
var myBookFile = new File( myBookFileName );
//the book file exists
if(myBookFile.exists){
var myBook=app.open( myBookFile );
myBook.automaticPagination=true;
}else{
//the book file doesn't exist, so make a new one
var myBook=app.books.add( myBookFile );
myBook.automaticPagination=true;
//add indd-files to a book
for ( i=0; i < myFiles.length; i++ ){
myBook.bookContents.add( myFiles[i] ); // ERROR:Process aborted by user
myBook.save( );
Thanks,
Chus.

Hi Dave
The idea is filter the files "*.indd" of the folder "Users/INDD" and then insert them in the book "BookINDD.indb". This script must be executed on InDesignServer. When I executed it, I get the error // ERROR:Process aborted by user, in the next line of the script: myBook.bookContents.add( myFiles[i] );
I write de script again:
//DESCRIPTION: Create a book and add indd-files of a choosen folder
var path = "//Users/INDD";
var bookname= "BookINDD";
var myFolder = new Folder(path);
if( myFolder != null ){
// get indd-files of choosen folder
var myFiles=myFolder.getFiles( "*.indd" );
if ( myFiles.length > 0 ){
var myBookFileName = myFolder + "/"+ bookname + ".indb";
var myBookFile = new File( myBookFileName );
//the book file exists
if(myBookFile.exists){
var myBook=app.open( myBookFile );
myBook.automaticPagination=true;
}else{
//the book file doesn't exist, so make a new one
var myBook=app.books.add( myBookFile );
myBook.automaticPagination=true;
//add indd-files to a book
for ( i=0; i < myFiles.length; i++ ){
myBook.bookContents.add( myFiles[i] ); // ERROR:Process aborted by user
myBook.save( );
Thanks in advance
Chus

Similar Messages

  • InDesign CS2 won't open: error msg states "Please install the MetaData plug-in and restart"

    I'm unable to open my InDesign CS2 program, and am wondering if anyone has any suggestions for me. When I try to open it, I get an error message stating: "Cannot load Adobe InDesign CS2 because it requires MetaData. Please install the MetaData plug-in and restart Adobe InDesign."
    It worked just fine last week - I have no idea what happened this week... (other than my 3-yr-old 'playing' with my computer...) I am able to open other CS2 programs like Illustrator and Photoshop. Any ideas for me??

    Try trashing your preferences: Hold down Shift + Control + Option + Command immediately after launch. You'll get a dialog asking if you want to delete your preferences. If no dialog comes up you didn't do it fast enough.

  • I am trying to finish a book in InDesign CS2 with another person. My old XP computer became unstable and I had to get a Windows 7 computer. I was able to install CS2 on the Virtual XP Machine on my Windows 7 computer, but I cannot register or activate it.

    I am trying to finish a book in InDesign CS2 with another person. My old XP computer became unstable and I had to get a Windows 7 computer. I was able to install CS2 on the Virtual XP Machine on my Windows 7 computer, but I cannot register or activate it. Adobe no longer supports activation. Is there a way I can keep using CS2? I need to get files back and forth to my coauthor. I also have CS6. I understand that files can go form 2 to 6, but not backwards. Thanks Robert

    you can download a new installer and serial number from Adobe at Adobe - CS2 Downloads

  • Error message reads, " Wizard Interuppted before InDesign CS2 was comletely installed" when removing

    Adobe Tech Support no longer supports CS2 since the release of CS4 and has referred me to knowledgebase and the forum for help.
    This is my original problem:
    When you try to start Adobe InDesign CS2, or Adobe InCopy CS2, the application returns one of the following error messages:
    -- "Could not personalize your copy of [application] because of missing or invalid personalization information."
    -- "Please personalize your copy of [application] to continue the setup process."
    -- "The serial number you provided is not valid. Please check your serial number and re-enter it"
    I was referred to:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=331649
    The instructions for all methods require that I remove InDesign, but I get an error message that says "Wizard Interuppted before InDesign CS2 was completely installed" when removing.
    My OS is Windows XP. Any help is highly appreciated.
    Thank you!

    Step one is to back up your computer in case anything goes wrong.
    Once you've done that, look at http://kb.adobe.com/selfservice/viewContent.do?externalId=331300 which lists all the folder locations for the creative suite along with the registry keys. It says you should uninstall using ad/remove, but if this doesn't work it should be OK to remove things manually and edit the registry, then run the Windows Installer Cleanup Utility.
    At that point you should reboot and you should be able to try installing again.

  • Suddenly getting "Missing Plug-Ins" errors when opening .indd files in InDesign CS2

    I have a PC running Windows 7 and InDesign CS2. The laptop's installation of Windows was corrupted and I had to re-install the OS. I backed up all files, reinstalled the OS, and then reinstalled applications. One of those applications was InDesign CS2. However, after the installation of CS2 on the fresh copy of Windows, I noticed that I have trouble opening most, but not all, of the InDesign files on my hard drive.
    When I try to open a .indd file I see an error message pop up that says "Missing Plug-ins. LILO.APLN, DYNAMICDOCUMENTS.RPLN, CONDITIONALTEXT.RPLN" and three more. Under that list of missing plugins is the warning "This document uses one or more plug-ins which are not currently available on your system. Do you want to open anyway?"  If I click "okay" I then am met with another dialog box that says "Cannot open file. TEXT.RPLN, LAYER.RPLN" and on and on for about 60 more items.
    I KNOW WHAT YOU'RE THINKING! I've searched around concerning this issue and it appears the consensus is that the file was opened by a newer version of InDesign. That possibility is, in fact, an impossibility. Never have I used a newer version of InDesign. The files that I am working on were backed up, stored on local storage and not touched once before reinstalling the OS and reinstalling InDesign CS2.
    I also noticed that not all InDesign file formats were associated with InDesign in "Windows Programs and Defaults." I changed those to look to InDesign. I've also uninstalled InDesign CS2 and re-installed.
    Not all InDesign CS2 files are exhibiting this behavior. So far, it appears more than half are, but some can be opened with no problems. There seems to be no correlation between which ones are able to be opened and which ones can't be opened.
    What could have happened to these files and is there any possibility of opened them again? Any guidance is greatly appreciated.

    [Jongware] wrote:
    Nonapeptide wrote:
    ...  an error message pop up that says "Missing Plug-ins. LILO.APLN, DYNAMICDOCUMENTS.RPLN, CONDITIONALTEXT.RPLN" and three more. ... 
    I KNOW WHAT YOU'RE THINKING! I've searched around concerning this issue and it appears the consensus is that the file was opened by a newer version of InDesign. That possibility is, in fact, an impossibility.
    Conditional Text was a new feature in CS4. I'm thinking, can you explain how your old CS2 documents became aware of it?
    Not exactly sure myself. Abiogenesis?
    [Edit]
    Almost forgot. I wrote a script to unequivocally determine the InDesign version a document was last saved as:
    http://forums.adobe.com/message/4071273
    I'll give that a try today. Even an affirmative judgement that the files are newer than CS2 would not impress me however. The fact remains, the files were copied off one hard drive over to another, the plug was pulled on the hard drive, the PC was re-imaged, CS2 was reinstalled, the files were copied back over... and whammo.

  • I am using InDesign CC and added Garamond premier pro font. This has worked for months, now suddenly my entire book is  highlighted in pink and my font is missing! I get the message that the font is currently unavailable on my computer, how can i get it b

    I am using InDesign CC and added Garamond premier pro font. This has worked for months, now suddenly my entire book is  highlighted in pink and my font is missing! I get the message that the font is currently unavailable on my computer, how can i get it back?

    BlazingRiver wrote:
    So my computer is running on OSX but my question is if any of the viruses on my windows partition can still run and communicate information to their 'master' as there is still a supply of electricity? Sorry if its obvious.
    Here's a positive thing: Windows viruses can't run on OS X, but they can be transferred from OS X to other PCs (only if you have them on the OS X volume).
    BlazingRiver wrote:
    1. How could a trusted source e.g. Google and Steam contain viruses if they are downloaded from the original source? and
    You could get a virus from a different source that infected Steam and Chrome without any problem. Viruses normally try to infect as many files and programmes as possible.
    BlazingRiver wrote:
    2. Can iOS devices get viruses and I know this is probably in the wrong but 3. What anti-virus scanner and remover tool do you recommend for windows. The only one I am familiar with is Kaspersky?
    iPhones, iPads and iPods touch can't get viruses but they can transfer them to other PCs. For Windows, I recommend Microsoft Security Essentials

  • Error encountered when scrolling over particular InDesign CS2 page, causes file to crash

    I am working on a 36.6 MB InDesign file with 134 pages. There is at least one photo on each page. Most of the photos are linked in to a server.
    When I scroll to page 93, I always get an error message and the option to debug. But the debug always fails and InDesign closes.
    I have updated my InDesign CS2 to 4.0, but have had no luck.
    Here is the error signature:
    AppName: indesign.exe AppVer: 4.0.5.688 ModName: master page.rpln
    ModVer: 4.0.5.688 Offset: 000053b6
    Please, please help.

    Is page 93 based on a different master from the others?
    I think this could be caused by either a bad graphic or a bad font on the page.
    I also remember, vaguely, something about closing the links palette and or Navigator might help, as probably, would moving the links to your hard drive.
    Peter

  • "SignalNthResponder(): error code not reset" upon opening Indesign CS2 Debug

    I've been using InDesign CS2 Debug (with IDCS2_Updater_Roman_Debug_2.exe file version 4.1.100.1332 applied) on Windows XP for several months with no problems, but lately I've been getting the following sequence of errors upon opening InDesign, which causes InDesign to shutdown. It also occurs before code flow even reaches the constructor for my plug-in so I have no idea what is causing it.
    1. (ASSERT) SignalMgr::SignalNthResponder(): error code not reset
    2. (ASSERT) Putting up an alert when the global error state is not kSuccess can cause crashes if a command is fired while the alert is up! Try moving call to ErrorUtils::PMSetGlobalErrorCode(kSuccess) to before call to CAlert::ErrorAlert.
    3. (Adobe InDesign) Adobe InDesign is shutting down. A serious error was detected. Please restart InDesign to recover work in any unsaved InDesign documents.
    4. (ASSERT) ProtectiveShutdown - Debugger break
    5. Then it shuts down.
    But of course restarting InDesign only repeats these messages. Restarting the computer does nothing to help. The only way I have found to alleviate the problem is to uninstall and reinstall InDesign Debug. But then after using InDesign Debug for a couple of days without problems, this sequence reappears. Anyone know how to end this vicious cycle?
    Thanks,
    Miles

    I've been using InDesign CS2 Debug (with IDCS2_Updater_Roman_Debug_2.exe file version 4.1.100.1332 applied) on Windows XP for several months with no problems, but lately I've been getting the following sequence of errors upon opening InDesign, which causes InDesign to shutdown. It also occurs before code flow even reaches the constructor for my plug-in so I have no idea what is causing it.
    1. (ASSERT) SignalMgr::SignalNthResponder(): error code not reset
    2. (ASSERT) Putting up an alert when the global error state is not kSuccess can cause crashes if a command is fired while the alert is up! Try moving call to ErrorUtils::PMSetGlobalErrorCode(kSuccess) to before call to CAlert::ErrorAlert.
    3. (Adobe InDesign) Adobe InDesign is shutting down. A serious error was detected. Please restart InDesign to recover work in any unsaved InDesign documents.
    4. (ASSERT) ProtectiveShutdown - Debugger break
    5. Then it shuts down.
    But of course restarting InDesign only repeats these messages. Restarting the computer does nothing to help. The only way I have found to alleviate the problem is to uninstall and reinstall InDesign Debug. But then after using InDesign Debug for a couple of days without problems, this sequence reappears. Anyone know how to end this vicious cycle?
    Thanks,
    Miles

  • Leopard, InDesign CS2, and Xerox Phaser 6120 Broken

    I just updated to Leopard andexcept for a few minor burps, most everything is working except printing from InDesign CS2. When I try to print to my Xerox Phaser 6120, in the printer queue window I get the error:
    /usr/libexec/cups/filter/pictwpstops failed
    If I look in the CUPS logs, I see this:
    \[29/Nov/2007:23:57:35 -0500] [Job 39] Adding start banner page "none".
    \[29/Nov/2007:23:57:35 -0500] [Job 39] Adding job file of type application/pictwps.
    \[29/Nov/2007:23:57:35 -0500] [Job 39] Adding end banner page "none".
    \[29/Nov/2007:23:57:35 -0500] [Job 39] Queued on "Phaser6120_94_D4_50" by "tom".
    \[29/Nov/2007:23:57:35 -0500] [Job 39] Started filter /usr/libexec/cups/filter/pictwpstops (PID 598)
    \[29/Nov/2007:23:57:35 -0500] [Job 39] Started filter /Library/Printers/Xerox/Filters/xc6120pstops (PID 599)
    \[29/Nov/2007:23:57:35 -0500] [Job 39] Started backend /usr/libexec/cups/backend/mdns (PID 601)
    E \[29/Nov/2007:23:57:38 -0500] [Job 39] can't create PictWPSDoc from `/private/var/spool/cups/d00039-001'.ERROR during execution of pictwpstops. Error number -9783
    E \[29/Nov/2007:23:57:38 -0500] PID 599 (/Library/Printers/Xerox/Filters/xc6120pstops) crashed on signal 10!
    I \[29/Nov/2007:23:57:38 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
    E \[29/Nov/2007:23:57:38 -0500] PID 598 (/usr/libexec/cups/filter/pictwpstops) stopped with status 1!
    I \[29/Nov/2007:23:57:38 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
    It looks to me like xc6120pstops is crashing and dumping core. Or maybe the issue is with pictwpstops . If I switch over to the "Generic" PostScript printer everything works just fine (but I loose duplexing). And no problems printing from other applications, at least yet.
    Has anyone else seen a similar problem?

    I seem to be having the same problem with my Xerox Phaser 6120 although it is not application specific. xc6120pstops crashes even if I just print a test page. Generic postscript printer works fine. I've managed to set the printer default to use the duplexer via the web interface, but I'd still rather have full access to the driver.
    The Crashreporter log (which oddly reports that xc6120pstops is PPC even though it should be Intel) indeed shows a crash, but I don't know how to interpret any of the detailed information:
    Process: xc6120pstops [6211]
    Path: /Library/Printers/Xerox/Filters/xc6120pstops
    Identifier: xc6120pstops
    Version: ??? (???)
    Code Type: PPC (Translated)
    Parent Process: cupsd [6156]
    Date/Time: 2008-03-05 22:59:12.691 -0800
    OS Version: Mac OS X 10.5.2 (9C31)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000000
    Crashed Thread: 0
    Thread 0 Crashed:
    0 ??? 0x812a5bc1 0 + 2167036865
    Thread 1:
    0 ??? 0x800bb9e6 0 + 2148252134
    1 ??? 0x800c31dc 0 + 2148282844
    2 translate 0xb818b6ea CallPPCFunctionAtAddressInt + 202802
    3 ??? 0x800ecc55 0 + 2148453461
    4 ??? 0x800ecb12 0 + 2148453138
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x00000000 ebx: 0xb813d020 ecx: 0x00000000 edx: 0xffffffff
    edi: 0xb81d8794 esi: 0xb81d8770 ebp: 0x8080d180 esp: 0xb7fffacc
    ss: 0x0000001f efl: 0x00010246 eip: 0x812a5bc1 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    cr2: 0x00000000
    Binary Images:
    0xb8000000 - 0xb81d7fe7 translate ??? (???) /usr/libexec/oah/translate
    Translated Code Information:
    Rosetta Version: 21.01
    Args: Hermione 44 AK testprint.ps 1 APDInputSlot= pserrorhandler-requested=standard nocollate com.apple.print.PrintSettings.PMColorMatchingMode..n.=0 com.apple.print.JobInfo.PMJobName=testprint.ps APColorMatchingMode=APApplicationColorMatching job-uuid=urn:uuid:1b35ef40-ebf4-379b-7024-3c89d9a29659
    Exception: EXCBADACCESS (0x0001)
    Thread 0: Crashed (0xb7fffacc, 0x812a5bc1)
    0x00003088: /Library/Printers/Xerox/Filters/xc6120pstops : _main + 2172
    0x000022fc: /Library/Printers/Xerox/Filters/xc6120pstops : __start + 392
    0x8fc01048: /usr/lib/dyld : _dyldstart + 60
    0x00000000: /Library/Printers/Xerox/Filters/xc6120pstops : + 0
    PPC Thread State
    srr0: 0x00000000 srr1: 0x00000000 vrsave: 0x00000000
    cr: 0xXXXXXXXX xer: 0x00000000 lr: 0x00003088 ctr: 0x900210c0
    r00: 0x00003088 r01: 0xbfffc900 r02: 0x0000000e r03: 0x00000000
    r04: 0x00003ee4 r05: 0xa0022d34 r06: 0xbfffc920 r07: 0x00000012
    r08: 0x00000008 r09: 0x00000000 r10: 0x90061160 r11: 0x8fc33c48
    r12: 0x900210c0 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
    r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
    r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
    r24: 0x00000000 r25: 0x00000000 r26: 0xbffff010 r27: 0x0000001c
    r28: 0x00000006 r29: 0xbffff014 r30: 0xbfffc900 r31: 0x00002834

  • Problem opening PM7 in PC Based InDesign CS2

    Hello,
    I am attempting to open MAC based Pagemaker 7 files in PC based InDesign CS2. I get the following error message: "Cannot open the file...Adobe InDesign may not support the file format, a plug in that supports the file may be missing, or the file may be open in another application". It's not the latter as I can't open it in any other format. Interestingly a coworker working on Mac based InDesign CS2 is able to open the Pagemaker file within InDesign. But when I open that InDesign file on my PC and attempt to make a type change and save the file it crashes my InDesign and I get the following error message:  InDesign.exe has encountered a problem and needs to close. We are sorry for the inconvenience." I am able to view and print this file but not make any changes. Any assistance would be greatly appreciated.
    Thank you.

    CS2 and earlier will not open PM files on any machine running XP SP3, Vista or Win 7.
    If you recently added SP3 to your XP machine and you have to open PM files you'll either have to roll back to SP2 or upgrade to CS5.
    Worth noting is the fact that CS2 is the earliest version eligible for upgrade pricing.
    Bob

  • Adding metadata to a book upon export as a pdf file

    I have a collection of files that I'm exporting from Indesign (CS2) to the pdf format as a book.  I want to add metadata.  The files are exported to pdf with no changes allowed.  Therefore, meta data cannot be added to the pdf file using Acrobat>File>Document Properties>Description after the pdf file's creation.  Anyone know how to accomplish this?

    At least with ID versions through CS4, if you use ID's Book feature to export a set of ID files into a single PDF, the PDF picks up the metadata from the first file in the set: the metadata for other files does not make it into the PDF.  If you need individual files to carry unique metadata then you may want to look into PDF Portfolios -- though I guess those came in with Acrobat 8, meaning after CS2.  One day we're supposed to get full object-level metadata for different things in a PDF, though perhaps a chunk of PDF pages -- a chapter in a book, for example -- still may not qualify as an "object."
    The metadata categories availble through the standard ID interface are pretty limited, and heavily biased towards photography.  As I mention in a comment in Bob's ID Secrets blog entry, Adobe makes available a versions of the XMP FileInfo SDK for various versions of ID that allow you to add additional categories (such as PRISM, for magazine articles).
    Good luck!
    David
    (edited to fix a typo)

  • Issues in IDoc Sender Scenario:IDoc  with errors added

    Hi all
             Am working on an IDoc to JDBC scenario. In R/3 system, I have created distribution model, partner profile, RFC destination and port.The IDoc is generated and is sent to XI successfully. But in XI , there is no entry in SXI_MONITOR for this (unfortunately IDX5 is not available in the XI server! ;as of now). Instead an entry is made in WE05 and WE02 with stautus 56(IDoc with errors added). In the status record:
    status 56 : External segment name E2KOMG003 cannot be interpreted
    status 60 : Basic IDoc type COND_A03 could not be found.
    And the segments displayed in data record  are different from the segments in the data record of the IDoc generated at R/3. (say for E1KOMG at R/3, E2KOMG003 in XI).Earlier the flow was working fine and the DB table was updated successfully. And the entire stuff is believed to be 'unmodified' .
    Would any one help in resolving the issue.
    Thanks,
    Chilanka

    Hi,
    >>>>I have created partenr profile in R/3.Need I create a partner profile in XI for R/3 system?
    no you cannot create any partner profiles in XI
    for more about IDOC configuration in XI check :
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Printing graphics from InDesign CS2 to an HP 4000 PS Laserjet

    My HP 4000 Laserjet will not print InDesign CS2 documents that have pictures, other graphics, or objects created in InDesign with either a drop shadow or feathered.
    I have an HP Laserjet 4000 which I previously used with Pagemaker 6.5. I could set the screen lpi and angle values for exactly as it needed to be using the Acrobat Distiller PPD and print documents (with pictures and graphics) to the post script printer with no problem. Now I am using Adobe InDesign CS2 and I don't seem to have same the printing options and control that I had with Pagemaker. But mainly, in Pagemaker, when I printed a document I could select the HP 4000 PS printer in the Print Document box and it listed Acrobat Distiller in the PPD box which is what I used.
    Now with InDesign CS2, when I select the HP 4000 PS printer it only shows the HP 4000 PS series ppd (and this may be correct). Although I can still set the values for screening (lpi) and screen angles and screened objects that are created in InDesign will print to whatever screen values I selected, the document will not print when pictures and other graphics are placed into the document or if an object created in InDesign has a drop shadow or is feathered. When I remove the graphics and drop shadow, it will print, however, another problem is that it will not print certain fonts properly (leaving out certain letters in certain words - for instance the "l" in "floor".)
    Is this a compatibility issue between this older Laserjet and InDesign -- is there another driver that I need -- or am I overlooking something that's obvious? I'd appreciate someone's help who may know what the problem is so I won't be doing the trial and error thing.
    Thanks,
    Cliff Stone

    Thanks everyone for their input. As far as the memory shortage, I'm pretty sure that's not the problem. I can create a document in Pagemaker of only 200KB that prints fine and the convert the same document to ID and it fails to print.
    I think Dov is right about the 4000 because I remember when the printer was new, there were some incompatibility issues with Pagemaker that I had to work around. The Adobe people told me back then that Pagemaker and HP postscript printers didn't get along very well.
    I'll check with HP again (I've already written to them twice with no response) and see if the firmware upgrade Dov mentioned is still available, however, even though this 4000 has been very durable and a real workhorse for me, it may be time to put it out to pasture and invest in a new Postscript laserjet.
    Any recommendations?
    Thanks again for everyone's help.

  • Call JavaScript from AppleScript using InDesign CS2

    Can this be done?
    The following script:
    tell application "Adobe InDesign CS2"
    tell active document
    do script "var thisNumber = 5;" language javascript
    end tell
    end tell
    results in the error:
    tell application "Adobe InDesign CS2"
    do script "var thisNumber = 5;" language javascript
    "Adobe InDesign CS2 got an error: \"var thisNumber = 5;\" doesnt understand the do script message."
    Why doesn't this work and what can I do to fix it?
    William

    On 4/12/08 5:41 AM, "Olav Kvern" <[email protected]> wrote:<br /><br />> These sorts of things are hard to see in AppleScript, because the dictionary<br />> browser(s) don't group methods with their parent objects. Sal Soghoian at<br />> Apple has long said that this needs fixing.<br /><br />And in fact it has been fixed -- it just needs app developers to write their<br />dictionaries appropriately. For a good example, have a look at the<br />dictionary of Script Debugger 4.5 -- you'll see classes listed with<br />elements, properties, and "Responds to". And none of that truncation ID's<br />dictionary is full of.<br /><br />-- <br />Shane Stanley <[email protected]><br />AppleScript Pro Florida, April 2009 <a href=http://scriptingmatters.com/aspro>

  • Scripting applications preferences in Indesign CS2

    Hey folks, I'm attempting to set the cmsSettings preferences (current color management system) in Adobe InDesign CS2 using javascript but my code is not working. The script goes something like this:
    #target InDesign
    app.ColorSetting.cmsSettings="MyColorSettings";
    This errors - ID says that it doesn't recognize the object called ColorSetting. Any assistance is appreciated.
    Will

    Check your documentation. The class name is ColorSettings; the property (name of the 'variable' inside a class) can have any name, such as "app.bob", "app.jack", or "app.colorSettings". It's sort of convention that these are written with lowercase, to let humans distinguish them easily from class names (which are, obviously, written using initial uppercase).

Maybe you are looking for