• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Invalid key form errors with Keynote slides
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Invalid key form errors with Keynote slides


  • Subject: Invalid key form errors with Keynote slides
  • From: Tracy Lakin <email@hidden>
  • Date: Fri, 11 Jul 2008 15:04:00 -0700
  • Acceptlanguage: en-US
  • Thread-topic: Invalid key form errors with Keynote slides

Hi,

I'm wondering if the following "Invalid key form" errors are due to a bug in Keynote or how I've scripted.

I'm using Keynote 4.0.3 from iWork '08, Leopard 10.5.4, Intel iMac.

tell application "Keynote"

-- This works:
    set curSlideNum to slide number of current slide of slideshow 1

-- This also works:
    set curSlideshow to slideshow 1
   set curSlideNum to slide number of current slide of curSlideshow


-- This does not work:
    set curSlide to current slide of slideshow 1
   set curSlideNum to slide number of curSlide                  --     Keynote got an error: Invalid key form. (-10002)


-- This also does not work:
    set currentSlide to (get current slide of slideshow 1)
   set currentSlideNum to slide number of currentSlide    --     Keynote got an error: Invalid key form. (-10002)

end tell


Is this my scripting or a bug in Keynote?

I'm finding scripting info for Keynote to be scarce. Are there any reference materials people are using (besides the dictionary)?


Thanks,
Tracy
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Invalid key form errors with Keynote slides
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: how to create scriptable preference panes with anchors?
  • Next by Date: Re: will this code test if a user is in a group?
  • Previous by thread: PDFPen scripting?
  • Next by thread: Re: Invalid key form errors with Keynote slides
  • Index(es):
    • Date
    • Thread