Python Forum
Move mouse and click in particular position
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Move mouse and click in particular position
#1
Hi All,
I am new to python.please help me to solve the requirement

Step
1) I have to open a application
2)move the mouse to its menu area and click on its submenu

Application dont have short cut key to open its menu and sub menu, so the code has to move the mouse to its area and click on it

Thanks
Reply
#2
You are trying to write something that will run an application that has a GUI? If so look at PyAutoGui.
Reply
#3
PyAutoGui will get you started, but it won't really help you learn a GUI language.
Other (and in my opinion, better) way would be to use one of the freely available GUI packages:
  • tkinter is built into python and good for fairly simple applications,
    but gets very time consuming with larger apps.
  • KIVY will allow you to write not only cross platform, but cross device as well (phones, display monitors, etc)
  • Qt5 is great if your not building a large commercial product (fees apply for larger commercial applications)
  • wxpython is a very robust GUI package, easy to use, royalty free for commercial products and quick to learn,
    my choice, but that's personal.
Reply
#4
I think the OP wants to automatically run some application. Replace the user with a script.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  mouse move event/cinfiguration ttk/python janeik 4 1,056 Jul-03-2023, 05:30 PM
Last Post: deanhystad
  Non repetitive mouse click Sartre 5 1,415 Apr-22-2023, 06:46 PM
Last Post: deanhystad
  How to move multiple columns to initial position SriRajesh 4 1,413 Jul-02-2022, 10:34 AM
Last Post: deanhystad
  how to mouse click a specific item in pygame? Frankduc 5 1,706 May-03-2022, 06:22 PM
Last Post: Frankduc
Photo i want to locate an image according to the mouse position rachidel07 1 2,820 Feb-08-2021, 03:29 PM
Last Post: michael1789
  Read mouse position on separate between two HDMIs ATARI_LIVE 1 1,411 Sep-28-2020, 07:48 PM
Last Post: ATARI_LIVE
  mouse position biprabu 3 2,032 Sep-09-2020, 08:21 PM
Last Post: deanhystad
  Change mouse move speed in guibot script rulltartan 1 2,723 Mar-30-2020, 01:51 PM
Last Post: pevogam
  Slide show with mouse click pausing aantono 1 2,190 Jan-28-2020, 04:25 AM
Last Post: Larz60+
  mouse 0.7.0 - mouse polling hate 125-1000hz penahuse 1 2,511 Dec-06-2019, 09:51 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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