Hello @vitor,
thanks for the fast and valuable feedback!
The suggested Alfred settings will definitely increase the user experience and reduce the options for not supported settings.
The development of the Applescript was definitely the hardest part for me, because the official documentation and many example resources are pretty outdated. For debugging and development purposes i tried UI Browser, Keyboard Maestro, Accessibility selector and some UI debugging applescripts which i found online. UI Browser was pretty useful for debugging the general MacOS UI, but it seems that the iCloud+ Hide My Mail window differs in terms of structure, because UI Browser did not supported it.
In my initial approach i tried to identify the UI elements by their IDs, so no language configuration has to be set anymore, but i could simply not locate them with the tools which i found online. Do you have any recommendations for debugging or developing with applescript? My use case is pretty simple, because it only clicks on a couple buttons, but without a proper IDE or debugger it feels pretty clunky.
Im a software engineer myself, but its the first time i have dipped my toes into applescript, so any tips a better developer experience are appreciated.
It would be great if you could provide additional information regarding the failed workflow in your tests:
Did the workflow successfully generated a new mail, or did it failed already beforehand?
What MacOS version and device / chip did you use?
e.g Macbook Pro 2023, M2 Max