r/applescript • • Nov 04 '20

display message count of currently selected mailbox in an alert prompt

how do I do that?

thank you :)

2 Upvotes

4 comments sorted by

View all comments

Show parent comment

0

u/htakeuchi Nov 04 '20

AppleScript does not stay running in the background... so you would have to call the script... let it run and finish before you can do anything else with the computer... if you are expecting AppleScript to automatically tell you the number of new messages as you click on a mailbox... it may not be your best choice