div icon indicating copy to clipboard operation
div copied to clipboard

Moves wrong window?

Open d1rewolf opened this issue 4 years ago • 1 comments

Hi there.

Generally, this works really well, but then it will stop working. It seems to get "hung" on a window and continues to resize the same window over and over instead of resizing the frontmost window.

In other words, I'll resize Window A and it works. I'll bring Window B and Window C to the forefront, so that Window A is completely covered or partially covered, and try to move/resize B or C. Instead, it continues to act on Window A, even though B and C are "above it".

I see set activeApp to name of first application process whose frontmost is true in the AppleScript. I'm pretty new to AppleScript, but I worry that this may be a bug in the functionality itself and not your script.

Your thoughts?

Thanks!

d1rewolf avatar Apr 27 '20 18:04 d1rewolf

Hi.

Yeah I know that this problem for particular apps. Can you tell me which apps specifically you used when you experienced this issue? Native Objective-C / Swift apps work perfectly well. Applications with custom wrappers and custom UI (like Google Chrome for example) cause majority of the conflicts with he way how AppleScript working.

pawelgrzybek avatar Apr 28 '20 10:04 pawelgrzybek