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
  How to Randomly Print a Quote From a Text File When User Types a Command on Main Menu BillKochman 13 657 Yesterday, 07:07 AM
Last Post: Bronjer
Brick Number stored as text with openpyxl CAD79 2 356 Apr-17-2024, 10:17 AM
Last Post: CAD79
  Sending a text from Python sawtooth500 2 149 Apr-14-2024, 01:56 PM
Last Post: sawtooth500
  very newbie problem on text file zapad 2 195 Apr-12-2024, 06:50 PM
Last Post: zapad
  help with scrolling text on RGB Matrix Foutsy 3 248 Apr-09-2024, 09:00 PM
Last Post: deanhystad
  Text parsing Arik 5 381 Mar-11-2024, 03:30 PM
Last Post: Gribouillis
  replace text in a txt cartonics 19 2,214 Jan-30-2024, 06:58 AM
Last Post: Athi
  Text conversion to lowercase is not working ineuw 3 459 Jan-16-2024, 02:42 AM
Last Post: ineuw
  Script that alternates between 2 text messages DiscoMatic 1 515 Dec-12-2023, 03:02 PM
Last Post: buran
  Decryption not working if key has same symbol like text Paragoon2 0 310 Nov-11-2023, 09:32 PM
Last Post: Paragoon2

Forum Jump:

User Panel Messages

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