Boot Down Scripting


Boot Down provides some rudimentary scripting support.

In short, you can determine what type of device is connected, erase the device and program the device with a hex file.

 

Dictionary

application n [inh. NSCoreSuite.NSApplication] : The Boot Down application
   properties
   device (text, r/o) : The type of device detected by Boot Down

program v : Program the hex file into the PIC
   program file : The file to be programmed into the PIC

erase v : Erase the non boot PIC flash memory
   erase

Example

tell application "Boot Down"
    #get the name of the device connected to Boot Down
    #name is "None" if no recognizable device is detected (no device,
    #unsupported device, or not in boot mode)
    set the_device to device



     #Program a new hex file in
     program "/Volumes/Zhaan/mplab/MyProjects/Blinky/Blinky.hex"
end tell