# External sources in SquareLine studio

**URL:** <http://forum.squareline.io/t/external-sources-in-squareline-studio/524>\
**Category:** How to\
**Created:** [October 23, 2022, 9:47pm UTC](http://forum.squareline.io/t/external-sources-in-squareline-studio/524 "2022-10-23T21:47:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kuslik](http://forum.squareline.io/letter_avatar_proxy/v4/letter/k/5f8ce5/32.png) [@Kuslik](http://forum.squareline.io/u/Kuslik)\
**Post date:** [October 23, 2022, 9:47pm UTC](http://forum.squareline.io/t/external-sources-in-squareline-studio/524/1 "2022-10-23T21:47:54Z")

</div>

Hello! I have 2 screens in my app. One of them is idle screen and upon trigger it has to change screen to the second. So, actually, i have two questions.

1. How can i link trigger for screen changin to serial port? In my project a device with LVGL support acts as screen and i want it to change screen upon call from linux station.
2. How can i make a textbox linked to information from serial port?

I belive it can be achieved via messing up in .py file, but i want to know is it possible to achieve my goals within SquareLine studio?

Thank in advance!

---

<div class="post-metadata">

**Author:** ![kisvegabor](http://forum.squareline.io/user_avatar/forum.squareline.io/kisvegabor/32/537_2.png) [@kisvegabor](http://forum.squareline.io/u/kisvegabor)\
**Post date:** [October 24, 2022, 11:33am UTC](http://forum.squareline.io/t/external-sources-in-squareline-studio/524/2 "2022-10-24T11:33:41Z")

</div>

> [@Kuslik](#):
>
> How can i link trigger for screen changin to serial port? In my project a device with LVGL support acts as screen and i want it to change screen upon call from linux station.

Just call `lv_scr_load(some_screen)`

> [@Kuslik](#):
>
> How can i make a textbox linked to information from serial port?

You can use `lv_textarea_add_text(textarea, "text")`

> [@Kuslik](#):
>
> but i want to know is it possible to achieve my goals within SquareLine studio?

As these are related to external code SquareLine can’t handle them directly ☹
