Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Automate screen tap in Shortcuts without user interaction

Hi dear Community,


I have quick question that hopefully can be solved.


I'm looking to set up an automation on a weekly basis at a specific time, and after an if logic statement is validated I want an app to be open and then a click in a specific place of the screen... How can I manage to do this last step of the automation shortcut ? It cannot be a back tap because I do not want to touch the phone, nor shout a command for this tap to occur using VoiceOver (accesibility feature) And if the phone is blocked, will it work?


Thanks for any tips.

2 replies

The solution you are looking for — “I want to set up an automation that runs every week at a specific time, evaluates an IF/THEN condition, opens a particular app if the condition is satisfied, and then automatically taps or clicks at a specific location on the screen” — is not directly available as a standard iOS automation.


You can certainly automate the scheduled trigger and conditional logic using Apple’s Shortcuts/Automation framework. However, the difficult part is the final step: automatically performing a tap or click at a specific screen coordinate inside another app.


If you have programming or scripting experience, particularly with Python, you could investigate whether an external computer, Mac, or other automation environment can perform this task. For example, computer-based automation tools can sometimes open an application, identify elements on the screen, and simulate mouse clicks or keyboard input.


On iOS/iPadOS, however, this approach is considerably more restricted. iOS applications operate within a sandboxed security model, which prevents one application from freely controlling another application or injecting simulated touches into it. This restriction is intentional: unrestricted screen-control capabilities could potentially allow a malicious app to interact with banking apps, read sensitive information, approve transactions, or perform other actions without the user's knowledge.


Apple's Shortcuts framework can interact with apps when those apps expose supported Shortcuts actions or App Intents. But it generally cannot take arbitrary control of another app's user interface and tap an exact location on the screen.


There are accessibility-related mechanisms on Apple platforms that can perform certain automated interactions, but they are not equivalent to giving a third-party automation script unrestricted control of the entire iPhone UI. Their capabilities and restrictions depend on the specific task and iOS version.


Therefore, the practical possibilities are:

  1. Use Shortcuts for the weekly schedule and IF/THEN logic.
  2. Use an App Shortcut/App Intent, if the target application provides one, instead of simulating a screen tap.
  3. If the app has an API, webhook, or URL scheme, use that to trigger the required action directly.
  4. If the action absolutely requires a physical screen tap at a particular location, consider running the automation on a Mac or PC, where UI automation tools have substantially greater control.
  5. If you are comfortable with programming, Python-based automation on a computer may be possible, although the exact method will depend on the application and operating system.


So, the key limitation is not the weekly schedule or IF/THEN logic. Those are relatively straightforward. The real obstacle is the requirement to open another iOS app and programmatically simulate a tap at a particular screen position. iOS's security and sandboxing architecture deliberately limits that type of cross-application control.

A shortcut is a quick way to get one or more tasks done with your apps. The Shortcuts app lets you create your own shortcuts with multiple steps. For example, ...Read more



Shortcuts User Guide