Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moves wrong window? #21

Open
d1rewolf opened this issue Apr 27, 2020 · 1 comment
Open

Moves wrong window? #21

d1rewolf opened this issue Apr 27, 2020 · 1 comment

Comments

@d1rewolf
Copy link

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!

@pawelgrzybek
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants