• 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
Re: opening PowerPoint presentation without bringing to front?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opening PowerPoint presentation without bringing to front?


  • Subject: Re: opening PowerPoint presentation without bringing to front?
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 10 Mar 2009 10:31:22 -0700
  • Thread-topic: opening PowerPoint presentation without bringing to front?

On 3/10/09 10:09 AM, "Bill Janssen" <email@hidden> wrote:

> I wonder if there's a way to
> say, "launch, then wait till that completes"?  Or to query the app
> for "launch completed"?


tell application "Microsoft PowerPoint"
    launch
    tell application "System Events"
        repeat while (not (exists (process "Microsoft PowerPoint")))
            delay 0.1
        end repeat
    end tell
    open alias "PB iMac Main:Users:berkowitz:Documents:Presentation1.pptx"
end tell


You could try it with and without the delay.

--
Paul Berkowitz


 _______________________________________________
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: opening PowerPoint presentation without bringing to front?
      • From: Bill Janssen <email@hidden>
References: 
 >Re: opening PowerPoint presentation without bringing to front? (From: Bill Janssen <email@hidden>)

  • Prev by Date: Re: opening PowerPoint presentation without bringing to front?
  • Next by Date: Re: opening PowerPoint presentation without bringing to front?
  • Previous by thread: Re: opening PowerPoint presentation without bringing to front?
  • Next by thread: Re: opening PowerPoint presentation without bringing to front?
  • Index(es):
    • Date
    • Thread