In what state is Photoshop when using the eyedropper tool?

When using the eyedropper tool Photoshop is neither in Modal State nor in Tool Modal State. But when I use the eyedropper tool and call


(within an interval), the console waits until I finished my color picking to log the color and to proceed. Same with a batchplay approach instead of app.foregroundColor. Is there a way to not wait for the eyedropper to finish?

I experience a similar behaviour when painting with the brush tool - but then I’m in the Tool Modal State. I use a NotificationListener to listen to “modalStateChanged” and to “toolModalStateChanged” events. I dont get any other events using Alchemist.