Contacts Plugin AppleScript
Contacts Plugin AppleScript
- Subject: Contacts Plugin AppleScript
- From: Bill Vlahos <email@hidden>
- Date: Sat, 11 Oct 2014 11:03:42 -0700
I’m trying to implement a speak phone number plugin in the Contacts application (MacBook Pro 10.9.5) following this example.
The script editor wouldn’t compile this on should enable action for thePerson with theEntry
if theEntry <> missing value then
return true
else
return false
end if
end should enable action
so I changed it to this on should enable action for thePerson with theEntry
if theEntry = missing value then
return false
else
return true
end if
end should enable action
When I save it to the Address Book Plugins folder the Contacts application doesn’t show it as a pull down menu option when selecting the action next to a phone number field.
I’ve tried saving as an Application, script, and script bundle but none of them are displayed.
How can I make this work?
My final goal is to get the phone number and execute a shell script with it.
Thank you, Bill Vlahos |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden