How to access settings of application?

How can i access the settings of the application?
Do i need to modify the run command and store a reference to them before they are used?

I searched a bit and did not found a way either to change the application settings.