Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Cross posted on Apple Stack Exchange

I am trying to execute a script when a server becomes available (a bit like when the OS detect the presence of a time capsule device and it starts the backup.) I didn't find a simple way to attach an applescript to an system event. Is there a way?

I am not looking for anything that requires a compiler. I am simply looking at attaching to an OS event (a bit like "Folder Actions" I guess, but for a server.)

I asked the question in stackoverflow, but as I this place is more appropriate.

share|improve this question

closed as too localized by Sathya Jun 21 '11 at 14:48

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
You should have petitioned a moderator for migration of your question here, then. –  Daniel Beck Jun 21 '11 at 6:45
1  
What do you mean exactly by "server becomes available"? –  slhck Jun 21 '11 at 7:17
    
daniel, i didn't know the process. thanks for the info. –  machunter Jun 21 '11 at 10:56
    
slhck, actually when I say server I really mean a shared disk on a server being available: i move from location to location so i would like the machine to mount the share when it is available. –  machunter Jun 21 '11 at 11:04
    
machunter you'll need to prefix @ to the person you're replying to, else they won't get the notification. /cc @slhck –  Sathya Jun 21 '11 at 14:48

Browse other questions tagged or ask your own question.