Toys: July 2007 Archives

NOTE: This is for keynote 2, which is bundled with iWork '07. I've posted an updated script for keynote 3.

on run
  display dialog "Drag keynote documents on me to convert to PDF."
end run

on open draggeditems
  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 radio button "PDF" of radio group 1
          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 open

<deep sigh>

Hi, my name is Ryan and... and I am an info-junkie.

Hi Ryan!

I use NetNewsWire (pro) to read my newsfeeds. Too many newsfeeds. I've got 178 feeds currently tho that fluctuates. I've got them grouped into prioritized groups so I can focus on certain ones more than others, like "ruby" vs "ruby-bored". I know that's not good... but... That works pretty well, actually.

Why I'm really here... my real problem... From these feeds, I queue up even more. Like, I read wiki update feeds and queue up whole pages to read for later. Loads of them. 132 of them right now. I'm weak. I know it. I gotta know! But since I can't group them the way I can the feeds, I'd like SOME way to bring some order out of chaos...

About this Archive

This page is a archive of entries in the Toys category from July 2007.

Toys: April 2007 is the previous archive.

Toys: October 2007 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.1