# Client Event Scripts

**URL:** <https://forum.inductiveautomation.com/t/client-event-scripts/6702>\
**Category:** Ignition\
**Created:** [June 13, 2013, 2:11pm UTC](https://forum.inductiveautomation.com/t/client-event-scripts/6702 "2013-06-13T14:11:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![justice5555](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@justice5555](https://forum.inductiveautomation.com/u/justice5555)\
**Post date:** [June 13, 2013, 2:11pm UTC](https://forum.inductiveautomation.com/t/client-event-scripts/6702/1 "2013-06-13T14:11:00Z")

</div>

Add:  
(1) Insert Property Reference icon  
(2) Insert Tag icon  
(3) Cut, Copy, and Paste

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [June 26, 2013, 2:50pm UTC](https://forum.inductiveautomation.com/t/client-event-scripts/6702/2 "2013-06-26T14:50:26Z")

</div>

+1

---

<div class="post-metadata">

**Author:** ![justice5555](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@justice5555](https://forum.inductiveautomation.com/u/justice5555)\
**Post date:** [June 27, 2013, 2:46pm UTC](https://forum.inductiveautomation.com/t/client-event-scripts/6702/3 "2013-06-27T14:46:55Z")

</div>

Ctrl+x, Ctrl+c, and Ctrl+v work. The option to right-click and select cut, copy, paste will be nice.

---

<div class="post-metadata">

**Author:** ![bvaldovinos](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bvaldovinos/32/6315_2.png) [@bvaldovinos](https://forum.inductiveautomation.com/u/bvaldovinos)\
**Post date:** [October 11, 2018, 6:10pm UTC](https://forum.inductiveautomation.com/t/client-event-scripts/6702/4 "2018-10-11T18:10:36Z")

</div>

Hi @justice5555 - Are these steps to copy-paste the tag Client Tag Events script? If so, could you clarify the steps a bit? Not sure how to insert a Tag icon or a Property Reference icon.

---

<div class="post-metadata">

**Author:** ![hachjessed](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@hachjessed](https://forum.inductiveautomation.com/u/hachjessed)\
**Post date:** [July 29, 2020, 4:30pm UTC](https://forum.inductiveautomation.com/t/client-event-scripts/6702/5 "2020-07-29T16:30:22Z")

</div>

Add:  
Scripts that execute in the Client on a specific mouse click

---

<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:** [July 29, 2020, 5:00pm UTC](https://forum.inductiveautomation.com/t/client-event-scripts/6702/6 "2020-07-29T17:00:35Z")

</div>

The original post was a request to add the buttons to select and insert properties and tags in the client event script editor like in other script editors, as well as right-click options to cut, copy, and paste (as noted, Ctrl-x/c/v work).

@hachjessed are you looking for the option to run a script when a specific mouse button is clicked regardless of what is clicked on?

---

<div class="post-metadata">

**Author:** ![hachjessed](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@hachjessed](https://forum.inductiveautomation.com/u/hachjessed)\
**Post date:** [July 29, 2020, 5:15pm UTC](https://forum.inductiveautomation.com/t/client-event-scripts/6702/7 "2020-07-29T17:15:35Z")

</div>

@witman Yes, that is exactly what I am looking for. Know of any options for capturing a mouse click anywhere within a 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:** [July 29, 2020, 5:38pm UTC](https://forum.inductiveautomation.com/t/client-event-scripts/6702/8 "2020-07-29T17:38:49Z")

</div>

You could put a transparent rectangle over the entire window and put the script in it. Beware this will capture _all_ mouse clicks, preventing them from acting on anything behind this rectangle. If that’s not desirable, consider putting the script on a background rectangle instead with anything else that should accept clicks in front of it so clicking anywhere other than on the other items that accept clicks will trigger the script on the background.
