> I use Alt-Spacebar to run AZZ Cardfile, but if I minimize it by
> clicking on the Min box at the top right of its window, it will
> not 'switch to if active', by using the hot key again, but tries to run
> another copy.
For programs which for one reason or another don't want to behave, I've
used a script like the one below. In PowerPro, I set the desired hotkey
(Alt-Spacebar in your case) to run [EMAIL PROTECTED], while clicking the
program's close button (you could also make it the minimize button) runs
[EMAIL PROTECTED]
@Min
Window Hide! [Caption]
Window MinMemory! [Caption]
Window SetPriority! idle [Caption]
Quit
@Open
test = anywindow("[Caption]")
If(test == 1) do
window Show! [Caption]
Else
[Command to run program]
EndIf
Quit