Re: background app won't quit.
Re: background app won't quit.
- Subject: Re: background app won't quit.
- From: Luther Fuller <email@hidden>
- Date: Mon, 19 Dec 2005 14:58:24 -0600
Andy Huntington asked ...
I have the following script which I have running in the background.
All the functionality is there: it looks for a disk, when it finds it
it copies the contents of a folder from the disk to the hard disk and
ejects said disk.
My problem comes when I want to quit the script. I have to force quit.
It makes my shutdown hang.
You have to have a quit handler. Somewhere in your idle handler you
will use 'quit' (not return) at the point(s) where you want to stop
running the script.
on quit
-- do anything here you want just before quitting
-- then
continue quit
end quit
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden