Afterwards, click on the "Tool0" and modify the tool name. (In this case, "PICKit 3")
You can modify the shortcut as you wish.
Then on the screen, key in something like the screenshot (in attachment):
Assuming if you have MPLAB IDE installed already, the PICKit 3 command line program is inside as shown in the "File Name" box.
(Remove the (x86) if your operating system is a 32-bit one).
Then in the "Parameters" box, change the bolded "-P32mx795f512l" to a desired microcontroller model, example: "18F45K20". The command "-e", "-m" and "-l" means to erase all the flash, program the device in all memory areas, and finally, release from reset.
When you want to program the device immediately, just press your selected shortcut key.
Hope that helps you in using the PICKit 3 in this compiler.
