How can I stop an Acrobat Reader slideshow?
How can I stop an Acrobat Reader slideshow?
- Subject: How can I stop an Acrobat Reader slideshow?
- From: Kevin Smith <email@hidden>
- Date: Tue, 8 Feb 2005 20:01:27 -0500
I need a script that will shut down Acrobat Reader only if it is
playing a slideshow. I thought that I could do this by testing its
'fontmost' attribute, but it doesn't seem to work. Can someone
enlighten me on why this won't work?
set myapp to "Adobe Reader 7.0"
tell application "Finder"
if exists process myapp then
if frontmost of process myapp then
tell application "System Events"
tell process myapp
keystroke "l" using {command down}
keystroke "h" using {command down}
end tell
end tell
end if
end if
end tell
Kevin Smith
email@hidden
_______________________________________________
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