robot icon indicating copy to clipboard operation
robot copied to clipboard

fixed window activation failure condition on macOS

Open seongmin-kim opened this issue 7 years ago • 1 comments

Because of incorrect condition, I failed to activate a window with specified PID. Follows are issues that related with this problem. #robotgo/73

# line 1795

- if (AXUIElementPerformAction (window.mData->AxID, kAXRaiseAction) == kAXErrorSuccess) { /*...*/ }
+ if (AXUIElementPerformAction (window.mData->AxID, kAXRaiseAction) != kAXErrorSuccess) { /*...*/ }

seongmin-kim avatar Jan 03 '18 15:01 seongmin-kim

Thank you for this fix, I'll take a look and test this out!

dkrutsko avatar Jan 03 '18 16:01 dkrutsko