Activate a shell script from the Default View?

Can you call if from a shell command and then call the shell command from a script? Scripts can be added to the front end and have an activate button.

See here for an example.