Hi, when telling to Siri on Mac (High-Sierra):
“Remind me to call Bob tommorow at 10”
She creates a reminder with handset icon to the right.
Then (when Bob is known to AddressBook) I can place a call using this icon on Mac as well on iPhone.
How to do that using AppleScript?
BTW Apple says that url property of an alarm is obsolete.
set aName to "Call Bob"
set aDate to (current date) + 60 -- after 1 minute from now
set aPhone to "phone number: 6981616907"
tell application "Reminders"
activate
make new reminder with properties {name:aName, remind me date:aDate, body:aPhone}
quit
end tell
delay 5 -- only to make result visible to user
NOTE: wait 1 minute to get notification at the right-top corner of your screen.
Thanks for reply KniazidisR
I think I need a handset icon to the right of reminder.
Your solution works of course, but on Mac only. When iCloud transferring this reminder to iPhone it is not touchable. I mean I cannot tap on the number and place a call.
But when Siri prepare such reminder, there is a handset icon on a Mac as well as on iPhone. Then I can tap it and iPhone is dialing the number.