Python Forum
how to enter text in text box inside a program?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to enter text in text box inside a program?
#1
Hi everybody,
First of all, this is my first project in python so be kind with me if I say some weirds things or don't understand everything you say, but I am willing to read and learn and practice.
That's said, lets go to the heart of my problem.
I am working on a raspberyPi to make a python script that will take a user input ( in that case a astronomical objetc name like m31 or m45 ) then the python script need to parse that input into a text box inside a 3rd party program. Basicaly, the script I am working on will show a list of astronomical object name on a 3.5" touch screen lcd, then according to what the user choose, it will need to take that variable and parse it to the appropriate text box inside the 3rd party program. That program already exist, it is called ekos ( inside kstar) for astronomical dome and picture acquisition automation. Upon startup, I can link a script file in python that will launch automaticaly.
I think in order to do that, I need to tell python where is the input box in that program before I can write a string in it.
But my question is how can I do that?
How can I tell python to write text inside that text box exactly?
Well thats is my first questions, lets start slowly I have many other things to find out, but I have some keywords in my mind to research my others question. For this particular scenario, I don't know a hint about where to start looking?

Thank you for your help.
Sorry If I say some things weird. Mayb my thinking is wrong and you can think of something simpler? I am open to suggestion.
The goal of my script is to remove the keyboard mouse and screen of the equation and launch the astronomical acquisition sequence on the push of a switch on a GPIO pin.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  open a text file using list() Pedroski55 2 114 Feb-25-2026, 06:57 PM
Last Post: noisefloor
  How to Randomly Print a Quote From a Text File When User Types a Command on Main Menu BillKochman 13 7,272 Dec-16-2025, 05:29 PM
Last Post: zodazy
Question [SOLVED] Linefeed when writing "f" strings to text file? Winfried 5 858 Nov-04-2025, 11:51 AM
Last Post: buran
Question Parse Markdown / get the plain text SpongeB0B 8 4,290 Oct-07-2025, 06:14 PM
Last Post: noisefloor
  replace or remove text from many text files Curbie 21 3,245 Jul-07-2025, 02:05 PM
Last Post: Curbie
  Picamera2 add text to camera preview GigiG 0 992 May-26-2025, 11:46 AM
Last Post: GigiG
  How can I write formatted (i.e. bold, italic, change font size, etc.) text to a file? JohnJSal 13 36,670 May-20-2025, 12:26 PM
Last Post: hanmen9527
  Paste text with caret already positioned inside a placeholder; Wehaveall 2 1,704 May-14-2025, 01:12 AM
Last Post: armorerratic
  subprocess check_output text cut off Axel_Erfurt 5 1,826 Feb-20-2025, 02:15 PM
Last Post: DeaD_EyE
  Python - Hidden Text / Html Mail python1337 1 4,492 Feb-08-2025, 10:47 AM
Last Post: python1337

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020