You can ask questions, prompt for text, etc. ...
...and then use the results!
Use "kdcop" to find out what functions you can access from outside
a program. (e.g., tell JuK to play the next song).
Here, we call the "pressure()" function in KWeather, and provide it our
weather station (Sacramento International Airport: KSMF)
Use "dcop" to do the same thing on the command-line.
Combine "dcop" with "kdialog" in a shell script to glue it together!
Next: Konqueror Actions: servicemenus