The Shortcuts app is rising up and studying new tips. A kind of tips is the power to supply context-aware workflows that know concerning 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 accessible 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 the moment used apps to seize what’s on the display screen and apply it in methods we by no means have been in a position to earlier than.
Let’s check out what this motion can do and the way you need to use it in your workflows to do new and fascinating issues.
Associated Apple Shortcuts articles:
Concerning the Get On Display Content material motion
For those who’ve upgraded to iOS or iPadOS 15, or are working macOS Monterey and have appeared on the new Shortcuts app, chances are high you’ve got seen a brand new motion known as Get On Display Content material. This new workflow motion works with appropriate apps to create a file containing what’s on the display screen.
The workflow we’ll construct under makes use of this command to get the URL of an internet site you are at the moment taking a look at in Safari, then means that you can add a word together with the URL that is robotically captured utilizing this new motion. This motion can be utilized for different objects, together with recordsdata, pictures and extra, however your mileage could differ, as many apps usually are 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 facility of this new motion. This workflow will permit you to create a word 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 observe 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 Content material.
- Seek for and drag over the motion known as Add To Variable, setting the identify to NoteContent.
- Seek for and drag over the motion known as Ask For Enter and add non-compulsory 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 identify to NoteContent.
- Seek for and drag over the motion known as Create Be aware and set the content material to the NoteContent variable.
- Within the Title subject on the high of the Shortcuts app, present a reputation and non-compulsory icon for this workflow. We named ours Be aware This Web site. No matter identify you select, remember to word it, as that is how we’ll run it later.
If you’re finished, your workflow editor ought to seem like Determine A. If it doesn’t, you may obtain the finished workflow right here.
SEE: Greatest hidden iOS 15 options to start out utilizing now (TechRepublic)
Operating the workflow
If you’re able to run the workflow, open Safari and navigate to an internet site that you just’d prefer to run the workflow with with the intention to create a word within the Apple Notes app. Inform Siri “Be aware this web site” (or no matter identify you used to your workflow within the Shortcuts app).
If 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. Converse your word, then Siri will robotically create a brand new word with the URL of the web site you have been visiting, plus the textual content you gave Siri for the word.
This is only one instance of workflow you may construct with the Get On Display Content material motion. This motion has limitless prospects and can be utilized with new and present workflows as you see match to increase the performance and ease of grabbing the content material that is at the moment onscreen to make use of within the workflow itself.