Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 413  / 2 Years ago, sat, april 16, 2022, 8:27:31

I would like to run scripts that will allow me to interact with the gui by sending windows events such as:




  • button presses

  • text insertion

  • window closing, minimizing

  • utilize an apps quick key combinations

  • etc.



Is there something out there for Ubuntu that does this?


More From » scripts

 Answers
2

In the world of old programmers, script and GUI are two words that live in totally different worlds. That looks like a myth very well established for many reasons.


Any way, the world of web applications is throwing this tine line away, and more and more people are looking for this, and some of them point this as a new tendence.


Why not simple scripts, with simple gui's? First one to start this kind of project, BUMM...


Well, I did my shots at Bashscript, as I am a big beginner in programming. You can take a look at



  1. xdotool



  2. glade



  3. gtk


    and the obvius phyton advanced scripting language, which I know nothing about it. (google about this itens, they will be very helpfull whatever language you choose it)




The dialog command in bash is very nice to do some simple Gui's, I guess this is the best beggining I can point you. xdotool is a interactive mouse/keyboard tool, glade is a full program to make Gui for many languages, and gtk is a lybrary/toolkit u can use with C++ or Pỳthon I guess... Good research wait for you.


[#39988] Sunday, April 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eighethod

Total Points: 358
Total Questions: 112
Total Answers: 119

Location: Cayman Islands
Member since Fri, Mar 4, 2022
2 Years ago
;