is now part of CreativePro.com!

*** From the Archives ***

This article is from June 15, 2010, and is no longer current.

Self-running slide show script

16

I’ve been traveling a lot lately. Strangely, I’ve found that I do some of my best scripting at 30,000 feet. Must be the in-flight peanuts. Just for fun, I decided to knock a script together to create self-running slide shows in InDesign CS5.

InDesign CS5 has a new Presentation Mode that displays the active InDesign file full-screen, hiding the InDesign interface. But when you’re in presentation mode, you need to use the arrow keys to advance from slide to slide. I thought it might be handy to have the slides advance automatically, and the SlideShow script is the result.

The script is rough and unpolished, but it does the trick. It will likely only work in the US English version of InDesign. If someone really needs it to work in another language, let me know, and I could tell you how to modify it for your language.

Keith Gilbert is a design consultant, developer, educator, speaker, and author. His work has taken him throughout North America, Africa, Europe, and Asia. During his 35+ year career his clients have included Adobe, Apple, Target, Oracle, and the United Nations. He is the author of several popular titles for LinkedIn Learning, Adobe Press, and CreativePro. Find him at gilbertconsulting.com and on Twitter @gilbertconsult
  • Praveen says:

    Hi Gilbert,

    This script is working fine, but checked the option ‘Loop at end’ script is continuously running. Pl. confirm how we can stop this script while running.

    Thanks,

    Praveen

  • Keith Gilbert says:

    Praveen, to quit the self-running slide show, hit the Esc key twice. (There’s a note about this at the bottom of the dialog box to remind you.) Hope you find the script useful!

  • Praveen says:

    Yes Gilbert, I missed to see that instruction. Anyway, it’s fine now and I feel that this script is very useful for me.

    Thanks,

    Praveen

  • James Wamser says:

    Keith,

    Since you’re at 30,000 ft again today, I wonder what you’re come up with next.

    The SlideShow script is very cool!

    J

  • Uwe Laubender says:

    @Keith:
    To utilize the script in all international versions of InDesign I suggest to use app.menuActions.itemByID instead of item(“Next Spread”) like:

    var myMenuAction1 = app.menuActions.itemByID(118818);

    I tested that with my German version of InDesign CS5 (7.0.1) and it ran well.

    Stephan of the InDesign Scripting forum was so kind to send me the available ID numbers of all menuActions. Thank’s again, Stephan?

    Uwe

  • Keith Gilbert says:

    @Uwe: Thank you for the ID number. I hadn’t had the time to dig up the code. I’ve made the change to the script, and posted the new version on my Web site.

    What this means to everyone is that the script should now function in all localized versions of InDesign CS5, regardless of your language. The interface has not been localized, so that will always be in English.

    Pierre Labbe has translated the interface into French, and that version is available on the Web site also.

  • SEO says:

    This script is working fine .Thank.

  • Cheryl Jackson says:

    do you have the slide show.jsx script for INDD cs5.5 in english? all I see is french.

    thanks.

  • Keith Gilbert says:

    @ Cheryl, the English version is on the same Web page. Just click on the “SlideShow” heading to download the English version.

  • cinzia says:

    Hello, I’m following you in lynda.com (InDesign CS5: Interactive Documents and Presentations) and I’m searching the slideshow jsx in italian to do the exercise.

    Thanks

  • Keith Gilbert says:

    @Cinzia, I’m sorry, the script is only available in English and French. There isn’t an Italian version.

  • Cheryl Jackson says:

    Hey Keith,

    Ok, I got the slideshow.jsx script to intall and work properly. I work in a corporate office and want to be able to loop indd presentations in another more common application besides INDD. Not everyone in the office has that program. Can I use this slideshow.jsx script to run a looped interactive indd presentation in say, Acrobat as a pdf? If not, how can I make this happen?

    Thanks,
    Cheryl

  • Keith Gilbert says:

    @Cheryl, The script will only run inside InDesign. If you create a PDF of the InDesign file, then open the PDF in Acrobat, you can run it in full screen mode in Acrobat (command/ctrl-L) and dig around in the Acrobat Preferences to control the speed at which the slides advance as well as set the presentation to loop.

  • Bradley says:

    Is there a script or a procedure for a self-running photo slideshow for within an Indesign document? I’ma novice at Indesign and can’t figure it out. Thanks for any help.

    Bradley

  • strawberrycupcake says:

    Hello Keith,

    thank you in advance for your time.

    1. could you please give me a link to comprehend the steps in opening & installing: .jsx files
    2. and will this script work for CS6 too?

  • AlexisUKorth says:

    Hi Dear, are you really visiting this web site daily, if so afterward you will definitely obtain pleasant experience.

  • >