@Dfaure: I just reread my post after your response. Especially the bit you quoted. I think I might have come of a bit harsher than I meant to. It was a valid question, and I did think about it when I first did this. But, there wasn't an obvious solution, so I didn't pursue it.
Thinking about it now, there might be a way to achieve it using the Action Chains plugin. It can build a list of things to do. It might be able to build a list such as call this function in the plugin and then call the eject. I haven't looked at the plugin closely enough to see whether it can do something like that. And if the Action Chains plugin needs something in this plugin to be able to use a function, I am willing to look at what needs to change.
|