Keynote + AppleScript

Hi all,
Am I the only one that find it sad that Keynote '08 does not allow AppleScript Actions at run time?
This would so increase this product spectrum. I hate to have to use Powerpoint just because Keynote cannot do this.
Just to better illustrate my point. I would like to be able to run shows in a NON-LINEAR fashion. For instance, for running a game (Let's call it Jeopardy) where I do not know in advance how the presentation will "evolve". In that scenario, I would have slide for all the possible questions and 1 "main slide" that would hold the topics and amounts. Clicking on any given Topic/amount combo would bring me to that slides question (this can be done). Each of the question slides would have a "return" button. The problem here is that I would like to have the chosen combo(s) grayed out upon returning to the main slide and carry on from there.
As it turns out, the only way I can currently do that not is by generating a HUGE presentation that would hold ALL POSSIBILITIES (for those of you keeping count, that's 265252859812191078400000000000030 slides total or 30!+30). Adding runtime AppleScript would reduce that to 31...
I know this is not Keynote's main goal but seeing that its main competitor has had this capability for quite some time now, I hoped that Apple would have done it as well.
I guess I will have to brush up on my VB skills.
Thanks for listening!
Michel

Right now, the way OSX is set up by default, if I post a link to a .zip file, if you click on the link, Safari downloads the .zip and, after it's finished OSX automatically unzips the file, puts the .zip file and the trash then launches the .key file, all without notification. Then, if you've set up this .key file to automatically present when it's open, you've gone from clicking on a file to a Keynote presentation all in one swoop.
Hmmm, I wasn't aware of this but then again I NEVER allow my OS to automatically decompress files. Also, I have yet to receive a .key file, in fact I don't believe I ever came across one as of yet. All the more reason to post a "warning" before allowing Ketnote to run a "scripted" presentation.
I, for one, would never fault Apple for damages done due to MY accepting to run a suspicious presentation.
My opinion is that it's only the way it seems. I'm not a hacker and don't even know any hackers, but there are likely undocumented/unfixed vectors for attack in OSX.
There are a few and ,as I said, we seldom hear of much "use" of them. But let's not wake the beast...

Similar Messages

  • Help with Keynote AppleScript, please

    Hi,
    I would like to make a Keynote 3 slideshow from a few pictures (Keynote has nicer transitions than iPhoto). I saw that there is an AppleScript command that should do that:
    make image slides v : Make a series of slides from a list of image paths. Returns a list of paths from which new slides could not be made.
    make image slides reference : the object for the command
    paths Unicode text
    [master master slide]
    [set titles boolean]
    Can someone show me how I would actually do that? E.g. with my pictures at /Users/andi/Pictures/ ?
    That would be very nice! Thanks!
    iBook G4 12"   Mac OS X (10.4.4)   1.25 GB RAM

    Ah, thanks a lot! Your remark about cropping got me on the right idea.
    So now I have found a solution with Automator. Please be tolerant with the exact titles of the Actions as I write this on a german system and try to translate:
    1. Keynote Actions > New Keynote Presentation (with e.g. Theme "Black", Size 1024 x 768 pixels)
    2. iPhoto Actions > Ask for Photos (Note: You have to select some Photos and not just an Album)
    3. Finder Actions > Copy Finder Objects (e.g. to "Pictures")
    And now here comes the tricky part: I used the Photoshop CS2 Actions that can be found here: http://www.completedigitalphotography.com/index.php?p=389 to scale the images to 1024 x 768.
    4. Photoshop CS2 Actions > Fit Image (Width: 1024, Height 768, DON'T check the box named "Save and close")
    5. Photoshop CS2 Actions > Save as JPEG (Use the settings you like as long as you check the boxes "Close after saving" and "Pass saved files instead of originals")
    6. Keynote Actions > Create Slide with Picture (Don't check "Set Titles")
    That's all. Save it as a Programm or whatever you like. It asks you for Photos, corrects width and height to fit into the Keynote slide and puts everything in Keynote. You just have to select all the slides in Keynote and apply one of the gorgeous new transitions (like Reflections, my favourite!) to it and you're done.
    Please correct me if a translation wasn't correct (and I bet some were).
    iBook G4 12"   Mac OS X (10.4.4)   1.25 GB RAM

  • Play iTunes soundtrack under Keynote with Applescript

    OK, so this isn't a question, more of a solution to a question I was struggling with: how to play multiple songs in the background of a Keynote presentation. What's more, I needed that soundtrack to fade out for certain important slides that had their own audio, but then fade back in (without starting over) when that slide was done.
    I'm creating a standalone presentatoin that will run unattended, looped, during an event. It must be completely automated. It's mostly text slides, which is why I wanted general music underneath. But there are also some slides with videos of their own. I wanted a way to drop the soundtrack at the right time, and then restore the soundtrack afterward.
    My solution is to set up my playlist in iTunes, play it, then run an applescript, and then start the slideshow. The script first sets the iTunes volume to whatever "MAX" volume is in the script. You can edit this to be a MAX volume of 10, 40, 100, etc. The script constantly monitors the slideshow, and when the slideshow gets to any slide with the command "itunesdown" anyhwere in the text of the presenter notes, it triggers an incremental drop of iTunes' volume by 10 units every .1 second until the volume is zero. If you want a slower fade, look for all of the delay values of .1 and make them .2, .3, whatever. It also keeps a lookout for any slide with the text "itunesup" and does exactly the reverse, raising the volume incrementally up to the MAX value.
    I have not explored the possibility of also having the script monitor other text variables to perhaps trigger different playlists. I think that's possible, but for someone else to work out.
    I'm sure there's a more elegant way to code this; I have certain lines of code literally repeated ten times to cover the full range of volume from 0 to 100 and back. I know there's a counter function that could do that in less space. But, again, I'll leave that to y'all.
    Hope this helps someone!
    -Scott
    #ENTER YOUR OWN MAXVOL VALUE ON THE NEXT LINE
    set MAXvol to 80
    tell application "iTunes"
         if it is running then
              set the sound volume to MAXvol
         end if
    end tell
    repeat
      #LOOK FOR VOLUME DOWN SLIDE
         tell application "Keynote"
              set slideNotes to get notes of current slide of first slideshow
              if text of slideNotes contains "itunesdown" then
      #Decrease iTunes Volume
                   tell application "iTunes"
                        if it is running then
                             set curVol to the sound volume
                             if curVol > 10 then
                                  set sound volume to curVol - 10
                             else
                                  set sound volume to 0
                             end if
                        end if
                        delay 0.1
                   end tell
      #Decrease iTunes Volume
                   tell application "iTunes"
                        if it is running then
                             set curVol to the sound volume
                             if curVol > 10 then
                                  set sound volume to curVol - 10
                             else
                                  set sound volume to 0
                             end if
                        end if
                        delay 0.1
                   end tell
      #Decrease iTunes Volume
                   tell application "iTunes"
                        if it is running then
                             set curVol to the sound volume
                             if curVol > 10 then
                                  set sound volume to curVol - 10
                             else
                                  set sound volume to 0
                             end if
                        end if
                        delay 0.1
                   end tell
      #Decrease iTunes Volume
                   tell application "iTunes"
                        if it is running then
                             set curVol to the sound volume
                             if curVol > 10 then
                                  set sound volume to curVol - 10
                             else
                                  set sound volume to 0
                             end if
                        end if
                        delay 0.1
                   end tell
      #Decrease iTunes Volume
                   tell application "iTunes"
                        if it is running then
                             set curVol to the sound volume
                             if curVol > 10 then
                                  set sound volume to curVol - 10
                             else
                                  set sound volume to 0
                             end if
                        end if
                        delay 0.1
                   end tell
      #Decrease iTunes Volume
                   tell application "iTunes"
                        if it is running then
                             set curVol to the sound volume
                             if curVol > 10 then
                                  set sound volume to curVol - 10
                             else
                                  set sound volume to 0
                             end if
                        end if
                        delay 0.1
                   end tell
      #Decrease iTunes Volume
                   tell application "iTunes"
                        if it is running then
                             set curVol to the sound volume
                             if curVol > 10 then
                                  set sound volume to curVol - 10
                             else
                                  set sound volume to 0
                             end if
                        end if
                        delay 0.1
                   end tell
      #Decrease iTunes Volume
                   tell application "iTunes"
                        if it is running then
                             set curVol to the sound volume
                             if curVol > 10 then
                                  set sound volume to curVol - 10
                             else
                                  set sound volume to 0
                             end if
                        end if
                        delay 0.1
                   end tell
      #Decrease iTunes Volume
                   tell application "iTunes"
                        if it is running then
                             set curVol to the sound volume
                             if curVol > 10 then
                                  set sound volume to curVol - 10
                             else
                                  set sound volume to 0
                             end if
                        end if
                        delay 0.1
                   end tell
      #Decrease iTunes Volume
                   tell application "iTunes"
                        if it is running then
                             set curVol to the sound volume
                             if curVol > 10 then
                                  set sound volume to curVol - 10
                             else
                                  set sound volume to 0
                             end if
                        end if
                        delay 0.1
                   end tell
              else
      #LOOK FOR VOLUME UP SLIDE
                   if text of slideNotes contains "itunesup" then
      #Increase iTunes Volume
                        tell application "iTunes"
                             if it is running then
                                  set curVol to the sound volume
                                  if curVol < MAXvol then
                                       set sound volume to curVol + 10
                                  else
                                       set sound volume to MAXvol
                                  end if
                             end if
                             delay 0.1
                        end tell
      #Increase iTunes Volume
                        tell application "iTunes"
                             if it is running then
                                  set curVol to the sound volume
                                  if curVol < MAXvol then
                                       set sound volume to curVol + 10
                                  else
                                       set sound volume to MAXvol
                                  end if
                             end if
                             delay 0.1
                        end tell
      #Increase iTunes Volume
                        tell application "iTunes"
                             if it is running then
                                  set curVol to the sound volume
                                  if curVol < MAXvol then
                                       set sound volume to curVol + 10
                                  else
                                       set sound volume to MAXvol
                                  end if
                             end if
                             delay 0.1
                        end tell
      #Increase iTunes Volume
                        tell application "iTunes"
                             if it is running then
                                  set curVol to the sound volume
                                  if curVol < MAXvol then
                                       set sound volume to curVol + 10
                                  else
                                       set sound volume to MAXvol
                                  end if
                             end if
                             delay 0.1
                        end tell
      #Increase iTunes Volume
                        tell application "iTunes"
                             if it is running then
                                  set curVol to the sound volume
                                  if curVol < MAXvol then
                                       set sound volume to curVol + 10
                                  else
                                       set sound volume to MAXvol
                                  end if
                             end if
                             delay 0.1
                        end tell
      #Increase iTunes Volume
                        tell application "iTunes"
                             if it is running then
                                  set curVol to the sound volume
                                  if curVol < MAXvol then
                                       set sound volume to curVol + 10
                                  else
                                       set sound volume to MAXvol
                                  end if
                             end if
                             delay 0.1
                        end tell
      #Increase iTunes Volume
                        tell application "iTunes"
                             if it is running then
                                  set curVol to the sound volume
                                  if curVol < MAXvol then
                                       set sound volume to curVol + 10
                                  else
                                       set sound volume to MAXvol
                                  end if
                             end if
                             delay 0.1
                        end tell
      #Increase iTunes Volume
                        tell application "iTunes"
                             if it is running then
                                  set curVol to the sound volume
                                  if curVol < MAXvol then
                                       set sound volume to curVol + 10
                                  else
                                       set sound volume to MAXvol
                                  end if
                             end if
                             delay 0.1
                        end tell
      #Increase iTunes Volume
                        tell application "iTunes"
                             if it is running then
                                  set curVol to the sound volume
                                  if curVol < MAXvol then
                                       set sound volume to curVol + 10
                                  else
                                       set sound volume to MAXvol
                                  end if
                             end if
                             delay 0.1
                        end tell
      #Increase iTunes Volume
                        tell application "iTunes"
                             if it is running then
                                  set curVol to the sound volume
                                  if curVol < MAXvol then
                                       set sound volume to curVol + 10
                                  else
                                       set sound volume to MAXvol
                                  end if
                             end if
                             delay 0.1
                        end tell
                   end if
              end if
         end tell
    end repeat

    Oh - I forgot to cite my work. Thanks to these sites for the inspiration and some of the code
    http://alxndrmlr.biz/2011/06/itunes-increase-decrease-volume-script/
    http://stackoverflow.com/questions/8710892/applescript-detect-what-slide-is-show ing-in-keynote

  • Looking for a howto for an applescript to batch convert PPTS to Keynote...

    Looking for a howto for an applescript to batch convert PPTS to Keynote...
    Hi to group!
    (cross posted this a couple of weeks ago to Keynote forum, no responses) Perhaps the query really belongs here...)
    (I) Have a whole bunch of PPTs to convert to Keynote, now and more as time goes on.
    Looked into applescript to try to automate this a bit (could open PPT file but did not see any way to 'Save' file from a script).
    Also looked into bash scripting/automator too -- way too many options to choose from. Help!
    Anybody done anything similar to this already?
    TIA for pointers. //GH

    A word of caution.
    I have not tried the workflow before.
    I am not an applescript expert.
    These steps were quickly composed using my basic knowledge in Applescript
    What I was planning was to create a script droplet that when a ppt file is dropped upon it, it extracts the name of the file and sets it to a variable to name the keynote file later. You might have to modify it a bit to batch process multiple files.
    Try going through batch processing scripts made for quark or Adobe photoshop ( Not sure if these exist on internet) to see how they have implemented the steps in applescript.
    To GUI Script Keynote, do these steps...
    All the code has to go in here
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">activate application "Keynote.app"
    tell application "System Events"
       tell process "Keynote"
          -- insert GUI Scripting statements here
       end tell
    end tell
    </pre>
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">click menu item "Export…"  of menu 1 of menu bar item "File"  of menu bar 1</pre>
    This will click the next.. button provided the default export type is set to PPT
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">click button 2 of sheet 1 of window 2
    </pre>
    This will click the Export button on the next window
    click button 1 of sheet 1 of window 2
    This piece of code can be used to set the name of the ppt file using the extracted name in the first step
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">set value of text field 1 of sheet 1 of window 2 to "<string>"
    </pre>
    May be there is a better way out there.
    Thanks for red_menace for his Script formatter script
    Message was edited by: dj9027

  • How to set the transition duration of a slide in keynote with applescript

    hi
    how to set the transition duration of a slide in keynote with applescript
    i made an applescript script which converts a numbers file to a keynote presentation
    figured out how to set the transitions but cant find how to set the time
    +set appTransition of slideTransition of current slide to "apple:dissolve"+
    anyone?

    you can send keystrokes to invoke menu commands via shortcuts but as for transition time not sure. You've check the dictionary right? Scripting support is very limited in KN.

  • Resize a Keynote slide with Applescript

    Hi, I'm trying for hours to resize a Keynote presentation in a window, but with no success.
    I'm starting thinking that it's impossible..
    With
    tell application "Keynote"
      start
              set the bounds of the window 2 to {0, 0, 800, 600}
    end tell
    it doesn't work properly..
    Is there a way to launch the slideshow and then change the rect (size and position) of the presentation to show, for example, the slideshow in a particularly part of the desktop?
    Any hints would be appreciate...
    Thanks

    Any particular reason for those specific technologies?  wget does not exist on a mac, although you can nstall it I guess.  OS X has curl installed which should do pretty much anything you want to do with wget.  cron is being replaced by launchd, although cron still exists on mountain lion.
    As far as I can tell from automator all the standard 'actions' to access keynote  available to it require keynote to be open and running, but does not provide a function to actually open it.  So I think you will have to write some applescript, as a minimum to open and quit keynote. I notice that the keynote actions are mostly circa 2005 an wonder if they would even work.
    Under utilities in automator 'actions' there is a capability to add applescripts as part of the workflow.
    Also, note that cron is being dprecated by Apple and replaced by launchd.  that said cron is stil on my mountain lion instalation.
    This entry at stackoverflow shows use of cron with curl to get web urls.  http://stackoverflow.com/questions/1683620/getting-started-with-cronjobs-on-a-ma c
    If I have any time I may try and get this to work as it is quite interesting and new to me.  But otherwise, good luck.

  • Can I use applescript to export a PDF file from keynote?

    I use keynote to create documentation. Once complete I export the keynote to a PDF and then package the pdf into an adobe acrobat reader portfolio. I desperately need to script this process. Is it possible to export a PDF from keynote via applescript? The second 1/2 is can I tell acrobat reader to import files into a portfolio. Thanks much for any help.

    I believe this is one of the few things Applescript can accomplish with Keynote '09. You can send keyboard short-cuts to Menu Commands in an Applescript – so you can just send a Cmd-P to KN'09. As for setting the Print/PDF options not sure but the dialogue remembers previous settings so you'd only have to set once at most per batch of slideshows. Post on Applescript thread to get specific scripting advice or Applescript developers email list.
    Applescript Discussion
    Applescript List

  • Applescript and Keynote: skipping old/un-skipping new?

    I manage digital signage for a university department. Last week, I wrote an Applescript that will examine the contents of two folders (an Incoming and a Current folder), check the filenames of slides inside for start and end dates, and move new/old slides to the Current folder and an Old Slides folder, respectively. For example, a file named "xxx-20141027-20141031-xxx.jpg" would have been moved into the Current folder this morning and will be moved into the Old Slides folder the morning of Nov. 1.
    I thought I could adapt this script to do the same thing with Keynote, having the "20141027-20141031" portion in the Presenters Notes instead. However, I'm having trouble figuring out how to get this to work exactly.
    to extractStartDate(slideNotes)
         set TempID to AppleScript's text item delimiters
         set AppleScript's text item delimiters to "-"
         set notesParse to every text item of slideNotes
         set returnStartDate to text item 1 of notesParse
         return returnStartDate
         set AppleScript's text item delimiters to TempID
    end extractStartDate
    **repeat for EndDate
    to date_format(old_date)
         set {year:y, month:m, day:d} to result
         set todayDate to (y*10000 + m*100 + d)
    end date_format
    set old_date to current date
    set todayDate to date_format(old_date)
    set currentSlideshow to "*filepath*"
    set slideCount to count of currentSlideshow
    tell application "Keynote"
         repeat with slide sc from 1 to slideCount
              tell slide sc
                   set notesData to the notes of it
                   if skipped is false then
                        set addDate to extractStartDate(notesData)
                        if addDate comes before todayDate then
                             set skipped to true
                        end if
                   else if skipped is true then
                        set removeDate to extractEndDate(notesData)
                        if removeDate comes before todayDate then
                             set skipped to false
                        end if
                   end if
              end tell
         end repeat
    end tell
    Also tried this instead of repeat loop:
         set skipped of (every slide where the extractStartDate(notes) comes before todayDate to false
         set skipped of (every slide where the extractEndDate(notes) comes before todayDate to true

    Hi,
    Try this, it work on the current document of Keynote '09'
    set old_date to current date
    set todayDate to date_format(old_date)
    tell application "Keynote" -- version 09
        tell front slideshow
            set tc to count slides
            repeat with i from 1 to tc
                tell slide i
                    set notesData to the notes of it
                    if not skipped then
                        set addDate to my extractDate(notesData, 1)
                        if addDate comes before todayDate then set skipped to true
                    else
                        set removeDate to my extractDate(notesData, 2)
                        if removeDate comes before todayDate then set skipped to false
                    end if
                end tell
            end repeat
        end tell
    end tell
    to extractDate(slideNotes, n)
        set TempID to AppleScript's text item delimiters
        set AppleScript's text item delimiters to "-"
        set returnStartDate to text item n of slideNotes
        set AppleScript's text item delimiters to TempID
        return returnStartDate
    end extractDate
    to date_format(old_date)
        set {year:y, month:m, day:d} to result
        return (y * 10000 + m * 100 + d)
    end date_format

  • I want to use applescript with keynote

    I recently purchased Keynote specifically because there is an applescript that purports to run a Keynote presentation and use text to speech to provide narration from the notes on each slide.  I found the script and some supporting materials on http://www.macosxautomation.com/applescript/selfpreso/index.html.  However, this was produced a few years ago and a few versions of applescript and Keynote ago.  So, I need to accomplish the same feat with the current versions of these products.
    But I'm having a great deal of difficulty finding references that tell me much about using applescript with Keynote.
    Can anyone help me out with this?

    If you create an account for him you can setup Parental Controls.
    iTunes: Using Parental Controls
    Create a new Apple ID here.
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/21/wo/mz0CVVrDn8QtH1s 3uYclhM/10.0.31.145.6.3

  • Keynote 6 broke Applescript

    Apple has removed a lot of the Applescript language from Keynote 6. I have written many apps that interface with Keynote and now they are broken. For instance you can't get the current slide number of the slide show. Anyoen know how to get this working again? Very annoying!

    Hello gradinc,
    It is hard to say what this could be. If you are still getting prompts to upgrade Keynote, it may be trying to open an older version. I would try and delete Keynote and then download it again. I would also try to open it within Launchpad or opening it directly from the Mac App Store to see if the error comes up again. If it does let me know. 
    OS X Yosemite: Install, update, and uninstall apps
    https://support.apple.com/kb/PH18752
    Regards,
    -Norm G. 

  • Keynote And Applescript

    I have started to write an applescript to run keynote. But when I use the open command it says that I do not have permission to open the file. How do write the password into the open command.
    tell application "Keynote"
    open "Desktop / KeynoteFiles / MonthPresentations/November2006"
    end tell
    Thanks,
    Bill Wallace
    Librarian
    Manzano Day School
    Albuquerque NM

    tell application "Finder"
    activate
    open document file "keynote file" of folder "Desktop" of folder "xxxxxxx" of folder "Users" of startup disk
    end tell
    That should do it you will have to replace the path variables and keynote presentaion name to match your folder layout.
    Regards
    Chaz

  • Change image background of a shape with applescript in keynote

    Hi,
    I want to create an applescript that allow to change background fill of a shape in keynote.
    I saw background fill type is r/o ( I guess read only ), but can we change only the image file if the shape is in image fill state with already an image.
    I work with an mac book air, mac os mavericks, keynote 6.
    Thanks.

    In your assignment statement you should remove the "string(....)" XPATH method. So if you use
    xpath(BookMessage,"/*[local-name()='BookMessage' and namespace-uri()='http://UntypeMessage.Book']/@*[local-name()='Author' and namespace-uri()='']")=AuthorName;
    it will work. Now the Left-Hand-Side of the expression does evaluate to a node set (in this case it would evaluate to an XmlAttribute).
    Regards.

  • Applescript with Keynote

    I'm trying to write an Applescript to export the images from a Keynote presentation using Keynote 6.0, which has now added that option. I can export a movie, a PDF, and every other type of format except for an image. Here's what I'm doing and it doesn't do anything, doesn't even give an error. Any suggestions?
    tell application "Keynote"
         export front document to file "HD:Exported" as image with properties {compression factor:0.9, image format:PNG, export style:IndividualSlides, skipped slides:false, all stages:true }
    end tell

    If "HD:Exported" is intended to be a folder called Exported at the root of the disk you are booted into it should be: "/Exported".
    It is usually better to put such things in User files or Desktops.

  • Using Automator/Applescript with Keynote?

    For a series of presentations I'm creating, on practically every slide, I have to delete a picture, then paste the replacement on the slide, resize that item, and reposition it on the slide (at the same location).
    This seemed like a perfect use for Automator, and I recorded my steps in Automator, but I ran into a couple of questions after that.
    1) When I'm in Keynote, I don't see a command to run a script.
    2) I'm looking at the automation that was created, and the workflow includes "Type 600 px into the text field." But I'm concerned that I don't see anywhere in the workflow that specifies what property is being edited at that point.
    Chuck

    Thanks chuck,
    I never thought to use Automator before but may give it a try now.
    I'm pretty new to AS so don't quote me, I know some apps have a File Menu command to run scripts but in general *** are run from the script menu on RHS of Menubar, perhaps you need to activate a pref for that I can'r remeber how I got mine there. Applescripts can be run with Keynote but have limited use. It seems to me there is no property dictionary for Keynote items.
    But i did find this snippet in somebody's applescript suggesting interaction via keyboard shortcuts is possible. Also controlling the slideshow is definitely support by the application dictionary.
    tell application “Keynote“
      activate
    end tell
    tell application “System Events“
      tell process “Keynote“
        keystroke “v“ using {command down}
      end tell
    end tell
    http://piyocast.com/as/archives/537

  • Exporting from Keynote 08 using applescript or automator

    Hi
    Does anyone have a method for triggering an export from applescript of an open keynote presentation, I have an action that takes a sequence of images (exported slides) sorts and loads into an new presentation and I would like to then export as .ppt
    This allows the sad ppt user to see the slides perfectly formed (and stops them editing and stealing my ideas). However the last step of the export I have to do manually as I cant see any actions in automator or anything in the applescript dictionary.
    Any ideas
    thanks
    Jon

    I have exactly the same question. I have been experimenting with AS. I found some code that almost works, but it won't select the PDF button. The sheet with the buttons is obviously not a radio button group, and I can't work out what it is.
    tell application "Finder"
    set draggeditems to (choose file)
    repeat with thisFile in draggeditems as list
    tell application "Finder" to reveal item thisFile
    set thisFile to thisFile as alias
    tell application "Keynote" to open thisFile
    tell application "System Events"
    tell application process "Keynote"
    set frontmost to true
    if menu item "Hide Inspector" of menu 1 of menu bar item "View" of menu bar 1 exists then
    keystroke "i" using {command down, option down}
    end if
    click menu item "Export…" of menu 1 of menu bar item "File" of menu bar 1
    repeat until sheet 1 of window 1 exists
    end repeat
    tell sheet 1 of window 1
    click button "PDF" of radio group 1
    click checkbox "Include slide numbers"
    click checkbox "Include date"
    click checkbox "Print each stage of builds"
    click button "Next…"
    end tell
    repeat until button "Export" of sheet 1 of window 1 exists
    end repeat
    tell sheet 1 of window 1
    click button "Export"
    end tell
    delay 3
    keystroke "w" using command down
    end tell
    end tell
    end repeat
    end tell

Maybe you are looking for

  • Cannot open CR2 files from T5i in Photoshop CS5.5

    I have talked with Apple. These files can be brought in to iphoto and then exported. This is not what I want to do. I want to open in Camera Raw. Is there a workaround with a converter for CS5.5? I see there is Camera Raw 8.1 available. From what I h

  • Convert an embedded smart object to a linked smart object

    Hey guys, love the new "linked smart object" functionality. However, I can not figure out how I can convert (or export) an existing embedded smart object to a linked smart object. I have a huge photoshop file with several embedded smart objects that

  • How do I delete the duplicate items in my library on the new iTunes?

    I just backed up my library on a new external hard drive and noticed that all my media is doubled up. Aside from going through each item is there a way to do this on the latest version of itunes. There use to be a way via the file and clicking on dup

  • XI Configuration Design questions with multi-mapping message mapping object

    Hello, I'm having trouble designing a particular scenario for multi-mapping.  Currently i'm working with a Vendor create and change.  BPM is not being used. This is what i need: I need a CREMDM04 to turn into one or multiple ADRMAS/CREMAS IDocs and p

  • Booting from a SAN

    Hi There, I am booting my V240 server running Solaris 10 from an EVA5000. The system boots fine and there are no issues there. I have created a device alias for each of the 4 ports on the controllers on the eva. These all work fine and the system is