Re: Pause script until application is finished
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