The Shortcuts app is rising up and studying new tips. A kind of tips is the power to supply context-aware workflows that know in regards to the content material onscreen.
We have beforehand lined many alternative Shortcuts automations for iOS, however in iOS 15, Apple has made vital additions to the Shortcuts app, because it’s within the technique of bringing the app over to the Mac. One of many new actions obtainable in iOS 15 is the power to get the onscreen content material and use it in your workflows. This motion produces a file that can be utilized to create context-aware shortcuts that attain into the at present used apps to seize what’s on the display screen and apply it in methods we by no means have been capable of earlier than.
Let’s check out what this motion can do and the way you should use it in your workflows to do new and fascinating issues.
Associated Apple Shortcuts articles:
Concerning the Get On Display screen Content material motion
Should you’ve upgraded to iOS or iPadOS 15, or are working macOS Monterey and have appeared on the new Shortcuts app, chances are high you have seen a brand new motion known as Get On Display screen Content material. This new workflow motion works with suitable apps to create a file containing what’s on the display screen.
The workflow we are going to construct beneath makes use of this command to get the URL of a web site you are at present in Safari, then means that you can add a notice together with the URL that is mechanically captured utilizing this new motion. This motion can be utilized for different objects, together with recordsdata, photos and extra, however your mileage could differ, as many apps are usually not but benefiting from the onscreen content material internet hosting mechanism this motion depends on to work.
Constructing a pattern workflow
Let’s construct a pattern workflow to indicate the ability of this new motion. This workflow will will let you create a notice from the present webpage in Safari, however with out the necessity to go to the Share Sheet to activate the workflow.
To start, open the Shortcuts app, then comply with these steps after urgent the + button to create a brand new workflow. Within the workflow editor:
- Seek for and drag over the motion known as Get On Display screen Content material.
- Seek for and drag over the motion known as Add To Variable, setting the title to NoteContent.
- Seek for and drag over the motion known as Ask For Enter and add elective placeholder textual content known as What would you want to notice?
- Seek for and drag over the motion known as Add To Variable, setting the enter to NoteContent and the title to NoteContent.
- Seek for and drag over the motion known as Create Notice and set the content material to the NoteContent variable.
- Within the Title area on the prime of the Shortcuts app, present a reputation and elective icon for this workflow. We named ours Notice This Web site. No matter title you select, you should definitely notice it, as that is how we’ll run it later.
Whenever you’re executed, your workflow editor ought to appear like Determine A.
SEE: Finest hidden iOS 15 options to begin utilizing now (TechRepublic)
Operating the workflow
Whenever you’re able to run the workflow, open Safari and navigate to a web site that you just’d prefer to run the workflow with with the intention to create a notice within the Apple Notes app. Inform Siri “Notice this web site” (or no matter title you used to your workflow within the Shortcuts app).
Whenever you do that, the workflow will seize the URL of the present webpage and can then ask you to offer enter by way of Siri. Communicate your notice, then Siri will mechanically create a brand new notice with the URL of the web site you have been visiting, plus the textual content you gave Siri for the notice.
This is only one instance of workflow you possibly can construct with the Get On Display screen Content material motion. This motion has limitless prospects and can be utilized with new and present workflows as you see match to broaden the performance and ease of grabbing the content material that is at present onscreen to make use of within the workflow itself.