4
Thank you for your review
Free
http://www.macupdate.com/download/15188/dsw.dmg
Email me when discounted: 

Do Something When is a system preference pane that allows the user to watch for drives mounting and un-mounting, allowing you to launch or quit applications, when these events happen. You can launch iTunes when your music hard drive gets mounted, you can quit iTunes when you eject the drive. This is just an example of what can be done.

What's New

Version 1.2:
  • Universal
  • Fixed intermittent bug with regards to saving existing rules.

Requirements

Mac OS X 10.3.9 or later

Similar Software

Open Comparison
Suggest Other Similar Software
Leave a Review

Do Something When User Discussion

Nobody has reviewed or commented on this app yet. Add your own comment and get a discussion going!
Sort by: Time | Smiles
Neil_m Member IconComment+179
Neil_m
+0

Dev - 64 bit please.

Reply0 replies
Version 1.2
lamontDakota Member IconReview+194
lamontDakota
+1

This works beautifully for me. I use it to start up and to shut down sets of apps, like opening and closing all of my audio crap at the same time, so that the apps load together with the plug-ins .This way, I don't sit here for fifteen minutes wondering WTF is wrong with my sounds. Oops! I forgot to start up Hear!
OS X 10.6.6

Reply2 replies
Version 1.2
Cowicide
+1

While I really dig the convenience of DSW and will love to see it further developed, I think in your case you're probably just better off saving system resources and using an AppleScript to launch all that stuff.

tell application "Audio Crap 2.1" to activate
tell application "Hear! 5.2" to activate
tell application "And So On 3.4" to activate

Then save it as an application, add a fancy icon and put it in your Dock to launch everything. Call it Audio Crap launcher or whatever. Does the same thing much faster and you don't have it always running in the background like DSW does.

(Basically) everything that DSW can do, I can do with AppleScript. For example, instead of using DSW to get rid of an encrypted dmg after a set amount of time I can do this:

tell application "Finder"
do shell script "hdiutil attach ~/Documents/cia_secrets.dmg"
delay 3000
do shell script "hdiutil detach -force /Volumes/cia_secrets"
end tell

Just like DSW, it forces the image to go even if you forgot and left files open on the dmg.

That said, what I LOVE about DSW is that I can very easily have all kinds of added factors that can close the dmg and I'm a glutton for user interfaces over typing a bunch of code. There's also a lot of hidden power with DSW that mabye even the dev doesn't know about.

Disclaimer: code AppleScript at your own risk. This is just pointers.

lamontDakota
+0

An excellent suggestion, Cowicide - say what, now? "Cowicide"? You from West Texas? - and I appreciate your having gone to the trouble of providing it. Unfortunately, I'm not looking for "better off." I have a kind of purposeless hobby of collecting random apps for any number of a random assortment of reasons. Maybe I need it. Maybe I like the design of the icon. Maybe I like its name.
IAC, under Lion, DSW has developed a bug/a feature that's annoying. It starts up all my audio shit, as desired. However, it now shuts them only long enough to fire them up, again. I can kill them, but, thanks to DSW. they won't die. Oh, well.

Cowicide Member IconComment+1131
Cowicide
+1

keeps shutting itself off in 10.6.6, I'll leave it on then check it later and it will have toggled itself OFF without any interaction with the prefpane on my part. not good...

Reply0 replies
Version 1.2
Cowicide Member IconComment+1131
Cowicide
+2

btw, the Macupdate link as of this post is broken and should be:
http://www.azarhi.com/Projects/DSW/index.php

Reply0 replies
Version 1.2
Cowicide Member IconReview+1131
Cowicide
+1

Works on my Intel MacBook Pro with latest Snow Leopard 10.6.6 just fine (I think). Doesn't seem to use a lot of resources at all and seem to be stable, but I'll report back if I run into trouble. It's a 32bit prepane, so I have to restart the Sys Prefs so that's an annoyance. But this surprisingly DOES work as advertised for me, but YMMV of course.

It will unmount dmg images of my choice after a certain amount of time I specify after mounting them. And even unmount dmg images after I quit apps I specify.

The only thing I don't like is if the timer goes off for the dmg image to unmount and if you have any files open on the mounted dmg image. It doesn't give an error or try to do it later. It just doesn't unmount the image at all without notice so it stays open and vulnerable.

I wish it would have an option to keep attempting to unmount it after a set amount of time after it fails to unmount. Or it would be fantastic if it could force unmount despite whatever is open if I choose that as an option (and willing to risk data loss on the image, of course)

What would be awesome if it also could unmount dmg images after a certain amount of idle time on your computer as well and on sleep, etc.

But anyway. I hope this continues to get updated as it's one of the only easy ways on the Mac to automatically unmount dmg images after certain amounts of time and/or after closing apps without having to write my own scripts, etc. & integrating terminal commands like: "hdiutil info | tail -n1 | awk '{print $1}' | xargs hdiutil detach $1"

Reply0 replies
Version 1.2
JetFireDX Member IconComment+34
JetFireDX
+0

Just wiped my system and started over after trouble with the 10.4.8 update and it appears that the link is broken. Any mirrors?

Reply0 replies
Version 1.2
jstrait Member IconComment-2
jstrait
+0

Does not work with Intel chip. Any idea when a Universal version is due out??

Reply0 replies
Version 1.1.1
 (Developer) Member IconDev+0
(Developer)
+0

The fix for the default install location is in to allow the Start on login to work again.

Sorry for the long delay.

Reply0 replies
Version 1.1.1
thebrix Member IconComment+0
thebrix
+0

Can anyone confirm that, on Tiger (10.4.2), the "Automatically start on login" checkbox setting doesn't stick - it is unchecked immediately after checking it and switching away from the DSW Preference pane?

A pity - it is a useful application, to the extent that it should be part of the OS, and I use it to run iPodBackup whenever I connect my iPod.

Reply2 replies
Version 1.1
Anonymous Member Icon
Anonymous
+0

I can confirm it.

Anonymous Member Icon
Anonymous
+0

I have the same. Pity as DSW is easier to use than Folder Actions. I'd really like to see it start on login.

Anonymous Member IconReview
Anonymous
+0

How is attaching a folder action to the /Volumes/ directory any different? The interface?

Reply1 reply
Version 1.1
Anonymous Member Icon
Anonymous
+0

Well, most likely. The /Volumes directory is invisible to an average Mac user. The average Mac user doesn't really want to mess with things he/she doesn't understand.

This is why we average Mac users appreciate software developers who give us clean and easy to use GUIs for accomplishing tasks we wouldn't even guess they are possible.

And it's even for free!

There are no Ratings for this App yet.
> 5 4

Ratings

Overall
(4)
Current Version (1.x)
(4)

Details

Downloads 10,522
Version Downloads 5,782
Type Utilities / System
License Free
Date 24 Jul 2006
Platform OS X / PPC 32 / Intel 32
Price Free
Learn how MacUpdate Desktop makes installing apps from MacUpdate.com one-click easy.
Next time, install Do Something When with 1-click

Learn how MacUpdate Desktop can install apps on MacUpdate with the simple click of the Install apps with MacUpdate Desktop icon. Plus, keep all your apps updated.