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

maxTo conflict with adobe illustrator when running external scripts #799

Open
spaciousmind opened this issue Nov 4, 2022 · 2 comments
Open
Labels
compatibility Incompatibility with other software.

Comments

@spaciousmind
Copy link

Describe the bug
Conflict with running external javascript scripts in adobe programs.
When sending scripts to a fullscreen adobe illustrator via external method it maximizes illustrator to a section of maxTo

To Reproduce
make sure you have at least 2 sections set up on your monitor in maxTo.
open new file in adobe illustrator and set it to full screen (the whole monitor) with maxTo.
open any .jsx script for illustrator in vscode and send it to illustrator with the 'adobe script runner' plugin
OR
use autohotkey and invoke the script in illustrator directly via the RUN command as mentioned here (the COM method does not have the same conflict):
https://github.com/Inventsable/Run-Adobe-scripts-with-Autohotkey

Expected behavior
script gets sent and runs as expected in illustrator.
after it finishes maxTo forces illustrator out of fullscreen and to maximize to one of the maxTo sections

Screenshots

System information:

  • Windows version: Version 21H2 (OS Build 19044.2130)
  • MaxTo version: 2.2.1

Additional context
Adobe illustrator version 26.3.1 for what it's worth, but same behavior has happened on all older versions I've tried as well.
I think this same bug is possibly occurring with other adobe programs too but haven't tested everything yet.

The same conflict doesn't seem to occur when running a script on illustrator via adobe's extendscript toolkit OR when using the COM method via AHK as described here https://github.com/Inventsable/Run-Adobe-scripts-with-Autohotkey

I tried to attach my maxTo config.json but it said it doesn't support that file type?

@github-actions
Copy link

github-actions bot commented Nov 4, 2022

Thank you for creating your first issue. We will get to it as soon as possible. This is an automated message designed to manage your expectations. We will most likely respond to your message during Norwegian business hours. If you should think of any additional information, please feel free to add it as a comment. If you are reporting a bug or incompatibility, make sure you include the versions of MaxTo, Windows and any incompatible program.

@vegardlarsen
Copy link
Member

I suspect you can avoid this issue entirely by setting MaxTo to passive mode. I assume what happens when Illustrator opens a window in "full screen" mode is that it maximizes it (meaning the Windows taskbar should still be visible)?

By setting MaxTo to run in Passive mode instead, it would not intercept the maximize event unless you are holding Shift on your keyboard.

Can you try this approach to see if it is valid?

Another option is for us to set up a compatibility shim for the specific Illustrator window, if that is possible. That would require quite a bit of coordination and testing.

@vegardlarsen vegardlarsen added the compatibility Incompatibility with other software. label Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Incompatibility with other software.
Projects
None yet
Development

No branches or pull requests

2 participants