• 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: Pause script until application is finished
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pause script until application is finished


  • Subject: Re: Pause script until application is finished
  • From: Andy Wylie <email@hidden>
  • Date: Sat, 02 Feb 2002 09:11:04 +1300

on 2/2/02 6:23 AM, W. Kirk Lutz at email@hidden wrote:

> I have a script that does a bunch of stuff including creating a PDF using
> Distiller. I have a problem with my script because it goes to the next
> part(opening the pdf in Photoshop) before the file is actually saved.
>
> Is there a way to pause the script while Distiller works and then fire it up
> again once the file WebAd.pdf is saved to my startup disk?
>
this should work...
-----------

repeat until (get exists file "file path as string" of application "Finder")
= true
delay 1
end repeat

_____________________________ Andy


References: 
 >Pause script until application is finished (From: "W. Kirk Lutz" <email@hidden>)

  • Prev by Date: Re: How to coerce a real to an integer in X?
  • Next by Date: Re: [Meta,OT] OOP and Forks
  • Previous by thread: Pause script until application is finished
  • Next by thread: Re: Pause script until application is finished
  • Index(es):
    • Date
    • Thread