# Trigger Perspective view script on page reload

**URL:** <https://forum.inductiveautomation.com/t/trigger-perspective-view-script-on-page-reload/71489>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [March 23, 2023, 12:37pm UTC](https://forum.inductiveautomation.com/t/trigger-perspective-view-script-on-page-reload/71489 "2023-03-23T12:37:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sholom\_Ellenbogen](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Sholom\_Ellenbogen](https://forum.inductiveautomation.com/u/Sholom_Ellenbogen)\
**Post date:** [March 23, 2023, 12:37pm UTC](https://forum.inductiveautomation.com/t/trigger-perspective-view-script-on-page-reload/71489/1 "2023-03-23T12:37:08Z")

</div>

I want to trigger a script on a perspective view when the page is reloaded. Is there a way to capture the page refresh event from within a view?
