PDA

View Full Version : [ubuntu] Script to open an application and perform a sub-function



Tom_NC
December 1st, 2011, 03:44 PM
I am trying to create a script, which I can launch from the desktop, that will open an application and perform a specific function within that application. Does anyone know if there is a reasonably straightforward way to do this?

tjoff
December 1st, 2011, 04:13 PM
That depends entirely on the application.
There is no general way of doing that which you describe.
However, if the application has a command-line interface, look in the documentation to see if the specific function can be called from the command line.
Not all applications provide a command line interface, and some only give access to a subset of the functionality through the command line.

If this does not answer your question, please write which application and which function you are thinking about, and I am sure someone here will be able to give you a better answer.