Python Forum
Check if specific program is used
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check if specific program is used
#1
Hey guys,
please I have a question.
I need to check if the user working with a specific program. For example. I need run the function only when program is running (for example MS paint) and user has opened it and drawing.
When he is on another tab like folder, browser, or it's minimalized I need to stop function.
Please is there any way how to do it?

Thank you
Reply
#2
Why do you want to do that? What are you trying to achieve?
Gribouillis likes this post
Reply
#3
(Feb-21-2022, 05:36 PM)ndc85430 Wrote: Why do you want to do that? What are you trying to achieve?

We have a program in our company which is very old. We usually work on in hours in the day and its old program without some great functions like duplicate, selecting and stuffs like this. You need do everything by myself multiple times same work.
So I created python script for simulating mouse to do tasks faster. I have functions on specifics letter on keyboard (Like "Q"). But I need use it, only if I'm in program, when I working with program.
Reply
#4
How is your script working now? How does it control the other program?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Schedule exit a program at a specific time 4 am every day. chubbychub 2 101 1 hour ago
Last Post: Gribouillis
  Check for specific values on screen and2handles 2 2,432 Jun-17-2020, 05:24 AM
Last Post: and2handles
  Delete specific lines contain specific words mannyi 2 4,207 Nov-04-2019, 04:50 PM
Last Post: mannyi
  Program regarding Password check need assistance Remediez 1 3,181 Jul-09-2018, 03:59 PM
Last Post: MasterGame

Forum Jump:

User Panel Messages

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