PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, July 12, 2022

[FIXED] How to get message count of mac messages app in applescript *Not Mail*

 July 12, 2022     applescript, messages, scripting     No comments   

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:

  1. Open Script Editor
  2. Copy the above script into it
  3. Click the Run icon to run the script


Answered By - Timothy Tripp
Answer Checked By - Willingham (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing