Last active
November 15, 2022 01:26
-
-
Save SKaplanOfficial/37ad071dae3e4c15afe5932160aafe76 to your computer and use it in GitHub Desktop.
PyXA script to open Messages.app to the chat with the given participant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Test with PyXA 0.1.0 | |
import PyXA | |
messages = PyXA.Application("Messages") | |
person = messages.participants().by_name("Example Person") | |
PyXA.XAURL("sms://" + person.handle).open() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment