Old InDesign Scripts

I have been trying to get some Calendar .JS scripts running from Adobe Exchange. I suspect they are a little old because when I double click on them for a brief second you see the computer think and then stop. I have tried this on 5 separate scripts.
I was advised that creating folders labelled "Version 3.0 Scripts" or "Version 4.0 Scripts" will attempt to run the scripts in a legacy way. I did this but still had the same problem.
I don't know any .JS scripting so cant run simple tests to see if the folders are working.
Can any body please suggest a solution or at least a bit of code to test to see if my script "Version 3.0 Scripts" or "Version 4.0 Scripts" are working (say like a dialogue box that pops up to say that it is working when I run it).
Thanks

solution found at http://www.adobeforums.com/webx/.59b67c45/9

Similar Messages

  • Canvas support in Indesign scripts?

    Hi there,
    short version:
    I was wondering if it is possible in any way to include auto generated raster content (Using canvas api for example) in in-design using JavaScript?
    Long version:
    I noticed that In-design supports a very old version of JavaScript, and since I'm pretty new to InDesign scripting I thought it's better to get informed about its capability / limitations before planing about what to do with it! I wrote a Javascript code (not in in-design script) that generates unique random patterns of motifs, now I'm interested if I can integrate it in in-design scripts so it would put one of this raster images in each page of an in-design document (IE: left and right side of each relatively facing pages);
    also since my first guess after studying a bit In-design's object-model documentation was that it is very much limited to just what is possible through the software UI itself (and not any/some thing new/more), then I was wondering (in that case) how much is it possible to hook an script to an external script, and sending and receiving data/vars between them; like putting both scripts in the same folder, the first one calls the other one giving it some info (document dimensions, etc.), the second script runs (outside of ID), put the images on disk and return to main script when it's done!! :/
    I have some other solution sketches as well in my mind, but wanted to have your input before doing anything ridiculous!! :-)))
    I really appreciate your in-put on this,
    thx, mim,

    And yeah! It looks like I can execute an external file of any type!
    After reading and looking for a while, finally:
    In 52th page of documentation it says:
    execute()
    fileObj.execute ()
    Opens this file using the appropriate application, as if it had been double-clicked in a file browser. You can use this method to run scripts, launch applications, and so on
    Voila! Exactly what I need (If what I think I need is actually what I need! indeed!!)
    I'll try to see if it works later on (impatient actually!), and thx again!
    ,mim

  • I can't save an old InDesign file to the new version

    I can't save an old InDesign file to the new version. I keep getting this message:
    I can only save the file as .IDML.

    This happens to ALL old InDesign files on my iMac (problem does not happen on my Macbook pro). I have saved the files as .idml and opened them again. I get the same error when I try to save the file as .indd. They can ONLY be saved as .idml.
    I never embed images and do not have font issues (file was created on the same iMac as it is being opened on now).
    Sometimes I get an error when I first try to open an old file - it ays the file is damaged and can't be opened. I try again right after and it opens fine.

  • Old Version Script Obsoletion

    I have flash 5. I want to continue using it. (I cannot afford
    to buy a new version)
    I am used to using "tell target" and other obsolete scripting
    tools.
    If I make a website with flash 5 old school scripts, will the
    Internet continue to play these old code?
    Will the current, and future flash players support these old
    scripts?

    Yes, new players include support for movies published under
    older versions. The only problem is taking your old fla files and
    publishing them with a newer version. That's when you have to
    update your code.

  • How to Run Indesign Script in a file from plugin code in CS4?

    Hi,<br />I have the code to execute the InDesign script stored in external file for InDesign CS3.<br /><br />InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss)); <br />InterfacePtr<IScriptRunner> scriptRunner(scriptManager, UseDefaultIID()); <br />     IDFile scriptFile(scriptFilePath); <br />     if (scriptRunner->CanHandleFile(scriptFile)) <br />     { <br />       ScriptData returnValue; <br />       PMString errorString; <br />       ErrorCode error = scriptRunner->RunFile(scriptFile); <br />         ASSERT(error == kSuccess); <br />     } <br /><br />But the RunFile() method is cs4 expects an additional argument of the type RunScriptParams. <br />Someone please show me with a code snippet on how to excute a script file in CS4??

    Dear Ian
      Here I'm used the below coding in CS3, Its working fine....
    //In CS3 Coding
      PMString jsFullPath("c:\\windows\\sample.jsx"); // a path to my java script file
    do
    const
    IDFile outFile(jsFullPath);InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss));
    ASSERT( scriptManager ) ;
    InterfacePtr<IScriptRunner> scriptRunner(scriptManager,UseDefaultIID());
    ASSERT( scriptRunner ) ;
    if(scriptManager){
    InterfacePtr<IScriptRunner>scriptRunner(scriptManager,UseDefaultIID());
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, kTrue, kFalse);
    while(kFalse);
    But the same time I used this coding in CS4, Its not woking
    //In CS4 Coding
    PMString jsFullPath("c:\\windows\\MacID\\BIN\\sample.jsx"); // a path to my java script file
    do
    const
    IDFile outFile(jsFullPath);InterfacePtr<IScriptManager> scriptManager(Utils<IScriptUtils>()->QueryScriptManager(kJavaScriptMgrBoss));
    ASSERT( scriptManager ) ;
    InterfacePtr<IScriptRunner> scriptRunner(scriptManager,UseDefaultIID());
    ASSERT( scriptRunner ) ;
    if
    (scriptManager){
    InterfacePtr<IScriptRunner>scriptRunner(scriptManager,UseDefaultIID());
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, params);
    while(kFalse);
    I changed the "RunFile" arguments also
    RunScriptParams params(scriptRunner);
    ErrorCode err = scriptRunner->RunFile(outFile, params);
    But Still I'm facing the problem in InDesign CS4.  That's mean  "Adobe InDesign CS4" shout down for serious error happend.
    Please kindly help me, for solving this problem.
    Thanks & Regards
    T.R.Harihara Sudhan
    Message was edited by: Adobe-InDesign CS4

  • Mail server rejecting messages and carrying out old sieve scripts

    A week ago I upgraded to 10.6 and am now experiencing strange behaviour: occasionally, incoming messages do not make it to their recipient and the sender gets an old vacation reply that I had set up using sieve scripts in Leopard. Here is what the SMTP log reports when a message does not make it:
    "Recipient address rejected: Service is unavailable"
    I do not know how to go in and investigate what is going on with sieve scripts because it seems sieveshell has been gutted in 10.6. I currently do not have SL's new vacation message feature enabled, but it worked fine when I tested it. Any help would be greatly appreciated!

    You can remove all of the old sieve scripts...
    sudo rm -rf /usr/sieve/*
    copy/paste into terminal.
    Jeff

  • InDesign Scripting Guide/Apple Script

    The command
    set myTop to top of margin preferences of myPage
    described in the InDesign Scripting Guide doesn't work with Indesign CS2. Does anyone can help?
    Thanks

    Hi Morenga 65,
    Try:
    tell margin preferences of myPage
    set myTop to top
    end tell
    But, as Dave says, do come to the Scripting Forum--there's lots of good stuff there!
    Thanks,
    Ole

  • How do I handle Style Groups in InDesign Scripting?

    Hi,
    I am relatively new to InDesign scripting.
    I'm trying to map Paragraph Styles to CSS, and it seemed to be working fine, till I came across Style Groups -
    Styles belonging to a group are identified as - Root Style Group name : Child style group name : ...... : Style name
    Because of this paragraph style  <Style name> was not mapping to the TOC style <Root Style Group name : Child style group name : ...... : Style name> and my TOC styles were not correctly mapping.
    I wrote a fix for this in my app, by fetching parent groups and appending to a string - which i check in the TOC style entries.
    Before calling this a FIX, I need to confirm if there are any more hierarchies/represnetations that could be used to represent a Paragraph Style as a TOC style? I don't want to see that a week later I discover something like <Style : Nested paragraph style> as a TOC style and then I'd have to fix my fix!
    Thanks.

    Hi,
    If YourPara is a paragraph style in myDoc and defined inside group of styles named myStGroup
    you can refer to it using:
    myDoc.paragraphStyleGroups.item("myStGroup").paragraphStyles.item("YourPara");
    Jarek

  • It´s possible to call to Adobe Professional 8 with Indesign scripting (.jsx) [JS/CS3] ?

    Hello, I would like to know if it´s possible to communicate with Adobe Professional through a Indesign script (.jsx). I need to convert the pdf file that I export from Indesign to specific standard type that is only available in Adobe Professional.
    I want to save the Indesign generated file with Adobe Professional and obtain the pdf that I particularly need.
    I would like to know if there is a way to do this.
    Thank u,
    Peter

    That's nothing!
    An engineer and I contacted Adobe technical support by phone to ensure the PC I was having custom built was configured to its optimum. They advised XP64 as the best operating environment. After that discussion we had to completely revise procurement, etc to get the bits and compatible XP64 compatible software, putting the build project back a few weeks as well, Imagine how I laughed when I found out on one of these forums that XP64 is the worst choice and totally unsupported by CS4!
    I have written to Shantanu Narayen, Adobe CEO and didn't even get an acknowledgement I raised this last week on the Adobe stand at BVE and was told they'd get someone to contact me asap but guess what, niet...! To be fair there has been one Adobe executive that recognises the problem and the damage poor customer support is causing the company; he has been as helpful as he can. Unfortunately, it seems the overall Adobe culture at the top is "get the money and run". If your problem goes beyond what's already on their web pages, tough luck!
    Regards,
    Graham

  • Call Photoshop script from Indesign script CS4 JS

    Hi, I open Photoshop linked file from InDesign in Photoshop and I need same InDesign script to run Photoshop script on the file. How I can call the Photoshop script from InDesign script.
    Thank you very much for your help.
    Yulia

    Thank you, Kasyan.
    800 lines of script is little be intimidating.
    What we are trying to achieve is to open jpgs in Photoshop and resave them as tiffs and replace same jpg with corresponding tiff in Indesign as it was placed before.
    Is there a way to call Photoshop from Indesign through appleScript.
    I have most of the script done for Indesign and I have Photoshop shript ready that saves jpgs as tiffs done. I am only missing the part where I can call this existing Ph. script from Indisign.
    We prefer not to use BridgeTalk if possible, because we have a lot of programs open and running in the same time, and would like to avoid to open one more program (BridgeTalk).
    Thank you very much for your great help.
    Yulia

  • I am new in indesign scripting, please tell me how to write a script to get  content of a element in xml and then sort all the content

    I am new in indesign scripting, please tell me how to write a script to get  content of a element in xml and then sort all the content

    Hi,
    May the below code is useful for you, but I dont know how to sort.
    Edit the tag as per your job request.
    alert(app.activeDocument.xmlElements[0].contents)
    //Second alert
    var xe = app.activeDocument.xmlElements[0].evaluateXPathExpression("//marginalnote");
    alert(xe.length)
    for(i=0; i<xe.length; i++)
        alert(xe[i].texts[0].contents)
    Regards
    Siraj

  • Can't open old indesign docs

    Hi
    I installed 2014 release and now can only open old indesign files in the old version not the new one.  What do I need to do to be able to open them in the new version?
    Thanks in advance

    The tef file is an iCloud file.
    Maybe turn it off for a while and do something else before restarting it to give it time to reset.
    http://www.file-extensions.org/pages-tef-file-extension
    http://www.macworld.com/article/1163173/bugs_and_fixes_losing_iwork_documents_in _icloud.html
    http://cydiahelp.com/how-to-fix-iwork-sync-bug-on-mac-with-icloud/
    http://www.macobserver.com/tmo/article/digging_deep_into_iwork_document_sharing_ in_mountain_lion
    Peter

  • Can InDesign or an InDesign script solution tell me if I have hidden elements in a document?

    Can InDesign or an InDesign script solution tell me if I have hidden elements in a document? As in the following examples:
    • I import a picture file and some, or all of the file is not viewable in the picture frame, can InDesign alert me of it?
    • I accidentally place a picture so that it is completely covering another picture, can InDesign alert me the an image is being completely covered by another?
    I am using InDesign CS on a Mac running OSX version 10.4.11.
    Thanks,
    Elliott

    Not out of the box. Perhaps with a script. You can ask in the scripting forum.

  • SlideShow using Indesign Scripting

    Hello...
    I want to convert the Indesign SlideShow file into HTML file using Indesign Javascript... In Indesign file One Enlarged image will be there and other small images will be there. When you click the small image it should display as Enlarged image...
    Please can anyone help me on this...

    InDesign scripts only work within InDesign, on the native file. For a function such as you imagine, you need to insert some sort of Javscript into the HTML.

  • Whatever happened to the File: Place: In InDesign Script?! I want it back!

    Whatever happened to the File: Place: In InDesign Script?! I want it back!

    I think Configurator will happen for InDesign CC, just not yet.
    For now, you could write a startup script.
    I only suggest these as alternatives. It would have been better if Adobe had made it an option. Very heavy handed and another thing that is going to P loyal users off.
    P.

Maybe you are looking for