FaceTime has a pretty abysmal and feature-poor user interface. I got tired of having to mess with it and created a macro to improve things a bit.
Using a self-contained phone list the macro pops up a Prompt with List action:
The user can then type to select their desired contact and hit Return to make a FaceTime-Audio call.
All sorts of keywords and abbreviations could be used if desired. You just have to change the regular expression that finds the phone number as needed.
I've included a colon character in the phone list, so I can use it as the default search string in the prompt – but that could be changed to a favorite contact or other default string.
I won't put all of my contacts in the macro – just the people I actually call with FaceTime.
At some point I'll probably make it easier to add names to the list too.
Since I use the App Cardhop for my contacts, I created a macro palette for a quick selection. My macro for the FaceTime Audio call works like in this video here:
My problem is that the action "Press a Button - Anrufen" is not recognized and executed.
so I help myself in my macro for initiating the call with an applescript at the end.
Is there something I have to consider with the buttons of this kind? Otherwise the "Press a Button" actions work perfectly for me. Only not here.
As far as I can see you've misspelled the button name:
“Anrufenl” should be “Anrufen”
Does your AppleScript actually work?
Here's how I would write it:
tell application "System Events"
tell application process "FaceTime"
tell window "FaceTime Audio"
tell button "Call"
perform action "AXPress"
end tell
end tell
end tell
end tell
As you can see you're dealing with the FaceTime process – not the Notification Center.
When possible It's better to call UI elements by name – it's more robust and far more readable.
** Of course there's the issue of potentially different names for UI elements in international versions of macOS. Sometimes I get around this by using element numbers, but I prefer to find out what the localized name is and use that.
There seems to be a bug in the German macOS. Unfortunately, your AppleScript doesn't work. I have already looked for other scripts on the internet. Not working, except my script to stop notification:
last but not least I have a mouse click on the call button
{{minimum value: missing value , orientation: missing value , position:{1076, 42}, class : window , accessibility description: missing value , role description:"notification window", focused: false , title: missing value , size:{344, 64}, help: missing value , entire contents:{}, enabled: missing value , maximum value: missing value , role:"AXWindow", value: missing value , subrole:"AXNotificationCenterAlert", selected: missing value , name: missing value , description:"notification window"}}
Thank you for your great support, your script is working and much better than Found-Image action, since I am using it in both home and office, the color seems bit different due to the new function of Mojave.
btw, my OSX version is macOS Mojave 10.14.1 (18B75)