I checked that to make sure an app was not added by mistake, nothing there. I tried it a few times and each time it only worked when I clicked on the desktop. Stickies was not the only app that stayed open, it was whatever app was opened last.
I tried it a few times and each time it only worked when I clicked on the desktop.
So the script won't run unless you click to the Finder first, then it still leaves one app open?
Not sure why it won't quit all. I just tried on another machine and quit all quits all. You're not running any anti-virus, MacKeeper, or any other useless clean my Mac product are you? You're on Mountain Lion? I tried from Snow Leopard and Mountain Lion.
Well at least it's most of the way there, only one app to quit then.
All apps close as long as I click finder first. In other words, if I have 4 apps open and happen to be working in one, it will not close if I use the script. It is not a big deal for me, just happy to have found a way to close them all.