How to suspend an Applescript While an application is running.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   nervais_nervais
Posted On:   Friday, April 26, 2002 06:52 AM

Hi folks, Here is my problem: I launch the application Lotus Notes on a configuration file (Config.nsf for exemple) by applescript: Tell application "lotus notes" open file "HD:...:Config.nsf" Well it's working fine. But now I have to make few opĂ©rations in this file, and quit Lotus Notes. After the lotus notes close down, I want to delete the file Config.nsf: Tell application "lotus notes" open file "HD:...:Config.nsf" (...) Select file "HD:...:Config.nsf" delet selection empty trash I just need to k   More>>

Hi folks,



Here is my problem:

I launch the application Lotus Notes on a configuration file (Config.nsf for exemple) by applescript:



Tell application "lotus notes"

open file "HD:...:Config.nsf"



Well it's working fine. But now I have to make few opérations in this file, and quit Lotus Notes.

After the lotus notes close down, I want to delete the file Config.nsf:



Tell application "lotus notes"

open file "HD:...:Config.nsf"

(...)

Select file "HD:...:Config.nsf"

delet selection

empty trash



I just need to know how to creat a loop wich detect if the application Lotus Notes is running (True or False), to suspend the script execution untill Lotus Notes shutdown.



Somebody can help me?

I'm just a beginner in Applescript.



Thanks a milion for an answer.



nervais@ifrance.com

   <<Less
About | Sitemap | Contact