# Component events script

**URL:** <https://forum.inductiveautomation.com/t/component-events-script/27941>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [September 2, 2019, 4:09am UTC](https://forum.inductiveautomation.com/t/component-events-script/27941 "2019-09-02T04:09:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [September 2, 2019, 4:09am UTC](https://forum.inductiveautomation.com/t/component-events-script/27941/1 "2019-09-02T04:09:47Z")

</div>

system：Fedora29  
env：Ignition8.0.3  
I drag a button component in vision,set its scripting-mouse clicked-script editor-print “hello”  
as show below:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/6afb3a8977e3ec3c4d37ba767986eeb751194176.png)  
But when i run it,click on the button,i didn’t see the msg?

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [September 2, 2019, 5:20am UTC](https://forum.inductiveautomation.com/t/component-events-script/27941/2 "2019-09-02T05:20:14Z")

</div>

Where are you not seeing this message? This should print to the client or designer console.

---

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [September 2, 2019, 9:38am UTC](https://forum.inductiveautomation.com/t/component-events-script/27941/3 "2019-09-02T09:38:55Z")

</div>

Yeah,I see the output in the Menu-Tools-Console.Thanks!  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/b07fe89d380683330d7556b3c0311727590aedee.png)
