Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMS Clipboard #299

Open
extratone opened this issue Feb 15, 2023 · 0 comments
Open

SMS Clipboard #299

extratone opened this issue Feb 15, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation shortcut A Siri Shortcut! Built either by myself or another community member.

Comments

@extratone
Copy link
Owner

SMS Clipboard Shortcut

Updated 05152023-120535


Social

  • Telegram

Send the contents of the Mac system clipboard to a single phone number.

Please note: you'll need to change the value of the phone number within the Run Applescript action with your own intended target.

This shortcut uses Applescript to send the value of the Mac system clipboard to the provided recipient using the Messages app.

The full script is below:

tell application "Messages"
	
	set targetBuddy to "+15738234380"
	set targetService to id of 1st account whose service type = iMessage
	
	
	set textMessage to (the clipboard)
	
	set theBuddy to participant targetBuddy of account id targetService
	send textMessage to theBuddy
	
end tell

Contact

@extratone extratone added documentation Improvements or additions to documentation shortcut A Siri Shortcut! Built either by myself or another community member. labels Feb 15, 2023
extratone added a commit that referenced this issue Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation shortcut A Siri Shortcut! Built either by myself or another community member.
Projects
None yet
Development

No branches or pull requests

1 participant