I have a script that files emails and attachments as PDF’s where I tell it. This was put togther with a lot of help from this forum for which I am very grateful.
Have run tinto a small problem that cuases the script to hang. IF the “Spelling and Grammar” window is open the scrip hangs waiting for the next sheet. Thought I could run a command that found the dialog box and closed it before proceeding so I tried running this to see what is open.
tell application "System Events" to get the name of every window of every process
It returns amongst the other open windows the “Find” dialog window. Are the Spelling and Find windows somehow related?
Thanks
Peter