Issue
I am trying to make a script that returns the amount of unread messages in messages app on a mac, I know the code for mail but can't figure this problem out.
Solution
Check some of the Apple Scripts On this thread
Specifically, this one looked promising although it didn't work for me:
tell application "Messages" to "clear unread messages"
You should be able to:
- Open Script Editor
- Copy the above script into it
- Click the Run icon to run the script
Answered By - Timothy Tripp Answer Checked By - Willingham (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.