capturing which buttons/menu items are clicked
can you do this with a script?
for example i want to put a warning/confirmation dialog first for a certain button/menu item on the panel, or some link/shortcut on the desktop, before it proceeds with its action. i already got the dialogs done - kdialog and/or gdialog, i've read the basics, i've done the if-else control statements - but how to figure out the buttons pressed so the right script can be supplied. i'm not talking about the buttons yes, no, or cancel on the dialog here. i'm talking about capturing a button/item clicked outside my script.