robotgo icon indicating copy to clipboard operation
robotgo copied to clipboard

.ActivePID() doesn't seem to work in some cases

Open HaceraI opened this issue 3 years ago • 3 comments

When I use robotgo to find the process and activate it, .ActivePID() doesn't work normally in most cases.

  1. After minimizing the window, .ActivePID() can no longer activate the window
  2. Most .ActivePID() activated windows give the impression that they are not really activated'

Since English is not my native language, I'm afraid I didn't speak the problem clearly. Next, I'll use git or video to show you the process

https://user-images.githubusercontent.com/48341368/109111442-e2814880-7773-11eb-89a1-4691b938696d.mp4

  • Robotgo version (or commit ref): v0.92.1
  • Go version: 1.15.7
  • Gcc version: 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
  • Operating system and bit: Windows 10 x64
  • Resolution: 1920*1080

HaceraI avatar Feb 25 '21 06:02 HaceraI

I have same issue. Can i get some feedback why .ActivePID() dosen't work? And in my system, i can't use other methods like .ActiveName(), .SetActive().

Here is my system.

  • Robotgo version (or commit ref): v0.93.2
  • Go version: go1.16.4 windows/amd64
  • Gcc version: 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
  • Operating system and bit: Windows 10 x64
  • Resolution: 1920*1080

Thnks

sucream avatar Jun 04 '21 17:06 sucream

同上

hlj2722 avatar Jun 06 '21 03:06 hlj2722

+1 I have same problem.

paradox-lab avatar Jun 21 '21 03:06 paradox-lab