# Can I run a script when a project opens?

**URL:** <https://forum.inductiveautomation.com/t/can-i-run-a-script-when-a-project-opens/23369>\
**Category:** Ignition\
**Created:** [March 14, 2019, 10:57pm UTC](https://forum.inductiveautomation.com/t/can-i-run-a-script-when-a-project-opens/23369 "2019-03-14T22:57:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danieltalbot](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/danieltalbot/32/11201_2.png) [@danieltalbot](https://forum.inductiveautomation.com/u/danieltalbot)\
**Post date:** [March 14, 2019, 10:57pm UTC](https://forum.inductiveautomation.com/t/can-i-run-a-script-when-a-project-opens/23369/1 "2019-03-14T22:57:01Z")

</div>

I would like to run a script once when a project first opens. Is it possible to run a script on this event or do I have to run it on a particular window?

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [March 14, 2019, 11:21pm UTC](https://forum.inductiveautomation.com/t/can-i-run-a-script-when-a-project-opens/23369/2 "2019-03-14T23:21:31Z")

</div>

It sounds like you’re looking for a client startup script. See [https://docs.inductiveautomation.com/display/DOC79/Client+and+Gateway+Event+Scripts](https://docs.inductiveautomation.com/display/DOC79/Client+and+Gateway+Event+Scripts).
