• 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
How can I stop an Acrobat Reader slideshow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: [ANN] ConvexPoly.osax 1.3 by Satimage-software.
  • Next by Date: Re: [ANN] New comprehensive AppleScript book
  • Previous by thread: Re: DVDSP and applescript
  • Next by thread: help with folder copy
  • Index(es):
    • Date
    • Thread