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

.atn command are not interpreted correctly #41

Open
karpiyon opened this issue Aug 10, 2023 · 1 comment
Open

.atn command are not interpreted correctly #41

karpiyon opened this issue Aug 10, 2023 · 1 comment

Comments

@karpiyon
Copy link

Hi,
In attempt to debug why an atn is not working I deleted nearly all the commands in the action file and left a few.
Even the very first stages are not carried out properly.

One of the very first command in the action which are not interpreted correctly is simple to select a layer and ALT+click to select visibly pixels.
I save this simple action load, transfer to alchemist and when I play it is does not select anything.

I'm afraid there are other actions which are probably not read properly.
I can upload the atn file and explain what teh first stages, which fail are doing if you have the time for it.

Thanks.

@jardicc
Copy link
Owner

jardicc commented Aug 10, 2023

There is difference between default behavior of Action panel and batchPlay. If something fails in the Action panel then the rest of the actions are performed. But if that happens in batchPlay then all remaining actions are not performed. To solve this... you can try: https://developer.adobe.com/photoshop/uxp/2022/ps_reference/media/batchplay/#continueonerror-default-false

I would expect that e.g. selection of all visible pixels would fail if layer is empty therefore preventing the rest of the action to execute.

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