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.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Here's my solution (for those of you who have come across this thread and still aren't having any luck)

    http://diydrones.com/profiles/blogs/how-to-associate-pde-files
  • @Maserbaker - I really think that is clever :)

    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"
  • this will definitively do it. the double "\\" in the patch are correct.

    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\""
  • Ok sounds like we have some differences.that have not been accounted for
    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

    https://storage.ning.com/topology/rest/1.0/file/get/3692106554?profile=original
  • WTH..double clicking on a pde file will open the arduino app but the sketch is still blank. Anybody any ideas? The pde files even have the little arduino symbols.
  • I have been playing with mine to trying to get the file association to work. Put it in the Program Files and Program Files (x86). Tried a couple different paths with no success. I did run across this in the meantime. Funny the developers have a sense of humor too. Read last sentence.

    arduino funny.png

  • OK Finally something I can help with. [:-)'
    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.
  • Developer
    On Mac it "kinda" works. But don't install Processing language because it will mess up your file extension bindings. Earlier clicking .pde opened last installed Arduino IDE after I installed Processing.. it opens all .pde's on it :)
  • 3D Robotics
    Yeah, that's never worked. It's because Arduino doesn't have a proper installer. It's on the roadmap.
This reply was deleted.

Activity