Re: opening PowerPoint presentation without bringing to front?
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