Create a Button On Your Mac or iPhone To Make a Call With One Tap Or Click

If you want to make it as easy as possible to call people you can set up a single-action icon that you can tap on your iPhone or click on your Mac to make the call. On the iPhone you can use the Shortcuts app to build a shortcut and place it on your Home screen. On your Mac you can use Automator with a shell script and some JavaScript to place an app in your Dock to make the call with a single click.



The shell script is simply:

open facetime://3035551212

The JavaScript (JXA) is:

function run(input, parameters) {
	Application("FaceTime").activate();
	Application("System Events").applicationProcesses.byName("FaceTime").windows.byName("FaceTime").buttons.byName("Call").click();
	return input;
}

Comments: 9 Responses to “Create a Button On Your Mac or iPhone To Make a Call With One Tap Or Click”

    Murray Cater
    4 weeks ago

    Thank you , for sharing the javascript

    Gene
    4 weeks ago

    I don’t see how to change the name of the shortcut nor how to change the icon. Please help.

    4 weeks ago

    Gene: To change the name of the shortcut you need to go to the file and change the filename. You can change the icon of the file too, the same way you change the icon of any file or folder.

    Martin
    4 weeks ago

    This is super! Now I don’t need to grab my reading glasses to select a contact — I can easily pick the iPhone screen icon. Thank You Gary

    Cris Ehmann
    4 weeks ago

    Hello, really cool stuff. But in my case it is not working, it says: “Error on line 3: Error: Mitteilung unverständlich.” Last bit is German and means: Message not clear. So I guess it has something to do with the buttons. Maybe they have another name in German. Do you know how to look’em up?

    4 weeks ago

    Cris: I’d compare what you are doing to what you see in the video closely. Experiment.

    Narelle
    4 weeks ago

    Now that is true minimalism!!! Love the iPhone instructions – how simple! Thank You Garry

    Karl
    3 weeks ago

    Gary, I wish you would have shown what the button looks like on the iPhone. Thanks

    3 weeks ago

    Karl: You can set the icon to a variety of things. Why not just try it?

Leave a New Comment Related to "Create a Button On Your Mac or iPhone To Make a Call With One Tap Or Click"

:
:
:
0/500 (500 character limit -- please state your comment succinctly and do not try to get around this limit by posting two comments)