Perspective script/action on page refresh or view save

I think maybe running a onStartup Script Action on one of the components may do the trick, it looks like it does trigger when I refresh the page. Components restart but maybe not the view?