When I got my P0300 a couple of months ago, it was because my MAF sensor had popped out of my intake tube. I had put my K&N FIPK back on a couple of weeks earlier and must have forgotten to tighten the hose clamp. My MAF was sitting at about a 45 degree angle to my intake hose. The first time the code got set, I was coasting down a mountain grade. I pulled into the first gas station I found when I got into town. I ran my codes and had the P0300. Five out of my six cylinders had recorded a mis-fire. Wasn't really sure what was up with that, so I cleared the codes and when on my way. I wasn't 1/2 mile back on the road and the light came on again. I cleared it again and drove a little further and the light came on again. This time I stopped and removed my SuperChip since I have had flaky things happen before with it in. The light didn't come back on the rest of the day so I though that it might have been it. During the day I noticed a clanking sound from under my hood that was driving me nuts. I pulled over again and that was when I found my FIPK loose and bouncing against my hood. I tightened everything up and put the SuperChip back in and haven't seen the code since.
I really doubt that any kind of "generic complete diagnostics" will find the source of your code. It will only be a snapshot of your sensors at one particular instance. You need to have your vehicle diagnosed by someone looking for the source of the P0300 code. Just look over the obvious things first though like spark plugs, wires, air leaks.