Keynote "current slide" not working
Keynote "current slide" not working
- Subject: Keynote "current slide" not working
- From: "David A. Cox" <email@hidden>
- Date: Tue, 22 Nov 2005 11:28:48 -0800 (PST)
I am stuck.
I am trying to get the slide number of an active Keynote presentation.
The sciprt:
tell application "Keynote"
set SlideNum to slide number of current slide of front slideshow
end tell
works great for getting the number of the slide that is selected for
editing. But this does not work correctly if the slide show is playing.
As an example, if you have a slide show, and you move to any slide other
than number 1 in the editing window thing, and then run this script:
tell application "Keynote"
start from slide 1 of front slideshow
delay 10 -- just to be super sure that it has had time to refresh
set SlideNum to number of current slide of front slideshow
end tell
you would expect to have SlideNum set to "1", but rather than that, you
get "SlideNum" set to whatever silde number you had selected in the
editing window of Keynote. I tried using "of front window" rather than "of
front slideshow" but that errors out.
Any ideas?
DAC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden