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
    7 months ago

    Thank you , for sharing the javascript

    Gene
    7 months ago

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

    7 months 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
    7 months 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
    7 months 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?

    7 months ago

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

    Narelle
    7 months ago

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

    Karl
    7 months ago

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

    7 months ago

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

Comments Closed.