Send Message to my husband

Love sending texts from my Mac... I'd like to touch a button that
opens the Messages app,
command-n (new message),
enter Husband - in the To: (recipients) field.

I can type the actual message myself :ok_hand:

Thanks,
-Ashley
(if the answer is to use Applescript, can someone write that for me?)

any progress on this? would be a great addition.

The Message app is a Catalyst app. It's very difficult to write UI Scripts for this.

You can trial this AppleScript (Bug Sur - testet on a German system).
Set the Phone number or Email address at the first line of the Script.

set messageTo to "+1 408-996-1010" -- Phone number or Email address

tell application "Messages"
	activate
end tell

tell application "System Events"
	tell application process "Messages"
		set endDate to (current date) + 3
		repeat
			try
				if (count of windows) is 0 then
					key code 29 using command down
					delay 0.2
				else
					key code 45 using command down
					tell window 1
						set value of text field 1 of group 1 of scroll area 1 of group 1 of group 3 of group 1 of group 1 of group 1 of group 2 of group 1 of group 1 of group 1 of group 1 of group 1 of group 1 to messageTo
					end tell
					key code 36
					key code 48
					exit repeat
				end if
			on error
				delay 0.2
			end try
			if ((current date) > endDate) then
				exit repeat
			end if
		end repeat
	end tell
end tell
Imprint | Privacy Policy