How to let Puppy Linux automatically open a set of files

In Puppy 4.xx series some new installed applications like Open Office can't be opened automatically by clicking on the icon of the file. For doing this follow these instructions.

swriter "$@"

Now if you click on the file it should open with the application that you have chosen. If this doesn't happen then you have to create a symlink in /root/my-applications/bin to let the system find the application. For doing that do as follow:

Now you can automatically open the file by clicking on it.