When I go into arduino IDE preferences, I tick the box that says "automatically associate .pde files with arduino", but then after I exit IDE and open IDE back up again, I go into preferences, and the box is un ticked again. And I've tried right clicking on a .pde file, opening with, browse to arduino.exe, but when I do that, it won't display the IDE as a program that I can open the .pde file with. I am running windows 7 64 bit, anyone have the same problem or have a solution to my problem?
P.S. I already know that I can just open the .pde file by opening IDE first and then going to sketchbook. But I want to be able to just open a file directly by double clicking on it.
Replies
http://diydrones.com/profiles/blogs/how-to-associate-pde-files
Do you also have this?
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pde]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pde\OpenWithList]
"a"="arduino.exe"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pde\OpenWithProgids]
"pde_auto_file"=hex(0):
"Processing.Document"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pde\UserChoice]
"Progid"="Applications\\arduino.exe"
create a .regf file with the following contents adjusting the path accordingly. If you do not have a 64bit win7 box it would just be @="\"C:\\Program Files\\arduino-0019\\arduino.exe\" \"%1\""
I don't understand why we would have to go this route but it is OK this will work. A reboot will probably be in order.
REGEDIT4
[HKEY_CLASSES_ROOT\Applications\arduino.exe]
[HKEY_CLASSES_ROOT\Applications\arduino.exe\shell]
[HKEY_CLASSES_ROOT\Applications\arduino.exe\shell\open]
[HKEY_CLASSES_ROOT\Applications\arduino.exe\shell\open\command]
@="\"C:\\Program Files (x86)\\arduino-0019\\arduino.exe\" \"%1\""
[HKEY_CURRENT_USER\Software\Classes\Applications\arduino.exe\shell\open\command]
@="\"C:\\Program Files (x86)\\arduino-0019\\arduino.exe\" \"%1\""
I assume what you have looks like this....correct? If so what OS are you running? assumiing 7, are you up to date?
arduino_path.png
arduino funny.png
Move your Arduino folder under "Program Files\Arduino" or "Program Files (x86)\Arduino" in the case of an x64 installation.
When I speak of the Arduino folder I mean specifically the directory containing the Arduino executable and all of its subfolders.
Windows pre XP coul;d associate programs anywhere on the hard drive thru the use of winfile. XP and later require the programs to lie in the Program Files path to be associated. If you do the above it WILL work.