Arduino IDE versus Processing IDE

I have both the Arduino IDE and the Processing IDE running on my Windows7 computer. There is one thing I would like to find out if anyone else has hit and see if there is a way to work around it.

When I double-click an *.pde file, I may get the wrong IDE starting up to open the file. Both IDEs use *.pde for the source file. Does anyone have a decent solution for this (other that starting the IDE first)?

Also, when I close one IDE (Arduino) and open the other (Processing or vice versa), I sometimes end up with the sketch folder pointing to that other IDE. It seems that somewhere in Windows, there is a common registry key (or *.ini specification) that gets updated by both IDEs for the same thing. Is there any way around this?

The extension for sketches for the Arduino is being changed to .ino, in the next major release. Meanwhile, there isn't much you can do, except use the File + Open menu in the IDE, instead of double clicking on a .pde file.

Thanks for the feedback.