MACSCRPT Archives

February 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Barry Wainwright <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 8 Feb 2006 07:20:37 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
On 8/2/06 03:59, "Terry Vogelaar" <[log in to unmask]> wrote:

> Can I start a script when a specific volume mounts? I want to perform
> a backup-like task when the external HD becomes available to the
> computer. How do I do that?
> 
> Terry

Create a stay-open applet with an idle handle that checks for the disk every
5 minutes, and fires the backup script when the disk appears.

-- 
Barry

ATOM RSS1 RSS2