check out my latest app: Icon Preview
and my latest blog post
⚙️ Supercharge your shortcuts
Home Page: https://sindresorhus.com/actions
License: MIT License
check out my latest app: Icon Preview
and my latest blog post
I don’t know if third-party apps are able to do this, but if possible this would allow users to enable/disable noise cancellation for example depending on location, or the open app.
Siri Shortcuts has a rounding function to round up or down to the nearest X place digit. However, there are some scenarios were being able to round to the near x Interval would be helpful. For example, having a function to round to the nearest multiple of 5, 15, or 25 (or any other number for that matter). This would mirror the Excel function MROUND. I believe it's a relatively simple modulo function, which can be replicated with a number of steps already in Shortcut, but having a single step to do this would be fantastic.
Can the IOS version run JavaScript script? This is my most expected function
Since in 1.8.0 the wonderful feature of “Parse CSV” has been added, I think it would be extremely useful to provide one identical action, that parses JSON instead.
There is no way in the native Shortcuts app to detect if the iPhone's Ringer is enabled or disabled. This could be useful in some situations.
Just to be clear: I am only proposing a possibility to CHECK whether the Ringer is enabled.
https://developer.apple.com/documentation/appintents
I'm working on this
I can't get anything to come out of this action. Is it supposed to be an image or PDF?
iOS 15.4
https://www.icloud.com/shortcuts/24f9eecff97749e0b879122336f50fdc
Ios 15.7, iphone 8
when I try to add the “haptic feedback” option, it opens the app for a sec instead of playing the haptic feedback. This occurs regardless of the type of haptic feedback selected.
(As an aside, I love this app. Keep up the good work!
Ios 15.7, iPhone 8
No response
Would be nice to able to sleep the computer by running a shortcut. Specially while running the shortcut using Spotlight.
Return the user's loved songs from their Music library on iOS. Not sure if this is possible. After some quick research, it seems Apple never exposed this... It seems you can only get the rating.
Stack Overflow question about it: https://stackoverflow.com/questions/48287863/how-to-get-set-loved-state-in-mpmediaitem
However, it might be possible to fetch it from the Apple Music API:
Help wanted if anyone has more insight.
The action „Scan Documents (iOS-only)“ currently copies the resulting images to the clipboard. When scanning several pages it sometimes takes a long time to retrieve these images. My suggestion is to automatically convert it to a .pdf and prompt for a location. Preferably with a configurable default location.
Currently the Get File Path action returns the temp file path cached by Shortcuts from Share Sheet. Is it possible to grab the real file path instead?
Actions 1.5.0 (10) - com.sindresorhus.Actions
iPadOS 15.2
iPad13,11
Hi, first of all your app is really useful. I was wondering if it’s possible to add direct shortcut to some Setting precisely to “text replacement” or even adding text replacement directly from some action. Thanks again !
Doesn't look like it's currently possible to detect this as of iOS 15.
As there is the Is Bluetooth On
feature, it would be very very useful to have Is WiFi On
too.
The Date to Unix time converter allows for now
and today
. How about adding a way to calculate time from those points like today+8h
, now-5m
or now+17s
.
I was not aware that it does not work when in the background. I'm surprised English still works.
https://stackoverflow.com/questions/59895410/speech-recognizer-not-working-in-ios-13-background
I also need to document the max limit of 1 minute for online transcription: https://stackoverflow.com/questions/39249003/speech-recognition-limits-for-ios-10
To replace ControlPlane that is no more supported, I would like to use Shortcuts.
One of the feature that I use most is the ability to change the default Printer depending on the location (home, office, customer office sites, ...)
It would be great if you could add this action.
Thx and take care
Hi,
Not a proposal but a quick thanks for the great app! I have posted on Reddit about it (incase there is an influx of users / reports etc):
https://reddit.com/r/shortcuts/comments/rms48u/actions_lots_of_useful_actions_to_add_to/
Not sure if you are on Reddit (so couldn't mention you).
Thanks again for a great app!
Not exactly a bug report, perhaps, but a request for an improvement.
I'd like to check whether a server on my local network is available before I try to connect via SSH. (Because Shortcuts has no error handling, there is no way of using if/then logic for this condition without an extra step.)
Currently, if I try, for example, myMacbook.local
with 'Is reachable', the action returns 'No' if the remote machine is available, and times out if it is unavailable.
Perhaps this is out of scope for the current action, but it would be nice if it could be accommodated!
iPadOS 16.1 (20B5027f)
No response
Hi. Thanks for the great app! I’m getting different results running the “is reachable” action on my iPhone and my Mac.
The URL is for a local device on the network (a Hubitat home automation hub), but it has a full domain that gets resolved internally. So I’m feeding http://hubitat.haveno.net to the is reachable action (but alas you won’t be able to test).
The weird thing is that if I do this on my phone, it is always saying it’s unreachable. But when I tested it on my Mac, it does come back as reachable.
I know it’s a hard one to troubleshoot and I don’t know for sure where the issue is. But I’m hoping maybe you have some insight that could point the way. I can reach the URL in a web browser fine on my phone. So it’s not unavailable in a general sense. How does Actions test for a connection?
Actions 1.13.1 (23) - com.sindresorhus.Actions
iOS 15.6.1
iPhone14,2
Would it be possible to get the state of Focus? It would also be great if the name of the focus could be returned if it is enabled. I am not sure if there is any better documentation but I found this: https://webcache.googleusercontent.com/search?q=cache:9JUDVOvViwwJ:https://developer.apple.com/forums/thread/682143+&cd=2&hl=en&ct=clnk&gl=us&client=firefox-b-1-d
Not sure if this is possible. It would be very useful to know from which app the Shortcut Input is shared.
Actions 1.5.0 (10) - com.sindresorhus.Actions
iPadOS 15.2
iPad13,11
This is maybe more of a question, but I am on iOS 15.0.1 and built the app myself, surprisingly there were no issues. Is there a specific reason for being iOS 15.5 on the App Store version?
Would be great to rotate my display with a keyboard shortcut. I have a 32" 4K which I use in landscape when sitting and portrait when standing, and automating the switch would be ideal. Thanks for all you do!
There's already one for files. Can one be made for folders, too?
Hi! I'd like to propose an action to get the user's location as a Geo URI string: geo:{lat},{lon};
. This is possible to do via a sequence of other actions, but I think it'd be a great addition for this app!
Right now we can theoretically use the Weather actions to determine if it is daytime or nighttime, but this involves many different actions and if statements. I actually tried and failed at doing this, plus doing so bloats a shortcut quite a bit. It would be handy to have a single action that can be passed to an if statement that basically checks for it being day or night (based on sunrise and sunset), maybe even other variants.
This could be particularly useful in conjunction with HomeKit actions, or the personal automation capability, to further ensure things only happen, say, at night. I know I could use such a thing in one Home-related shortcut I dream of.
Actions 1.5.1 (11) - com.sindresorhus.Actions
macOS 12.1.0
Macmini9,1
If you get multiple types from share sheet, you have a chance to get some errors when converting, like "text is not convertible to url".
This stops the shortcut and prevent running the subsequent actions.
I want to know if the data is able to convert to another type.
I'm not sure if it is possible and what the appropriate UI is.
The UI can be like:
Hi there,
I'd like to be able to have a shortcut that can do the following:
I have selected a file or folder in both the Finder or Path Finder apps. I want to be able to use a shortcut to open the file or folder with the given app (for example, the app Meta). This global shortcut would need to be connected to this action (and given app). I can't find this shortcut anywhere.
.The native "Vibrate Device" action is often more vibration than I really want, so an action that allows nuanced use of the Taptic Engine would be much appreciated. Thanks!
iOS Shortcuts does offer Scan QR Code
but does not accept image input. This Scan QR Code from Image
will enable us to scan any QR codes from Photo albums and from Share Extension.
Actually, I've already implemented it and it's (almost) ready for a PR; I'd like to know if this action is good enough to be included in Actions.
Get audio playback destination works for Bluetooth audio devices, but sometimes I wish to see if another Bluetooth device is paired and connected.
Can you make an action that returns a list of Bluetooth paired devices, and the device status and type?
Status = Connected/Not Connected
Device Type = the device type as reported by the system (audio device, heartrate monitor, keyboard, etc)
Thanks!
Great App!
On small screens, particularly the iPhone SE (1st generation), the slowly rocking app icon animation extends into the status bar, while the Send Feedback button is more than half cut off by the bottom edge of the screen.
The vertical space used (especially between Open Shortcuts and Send Feedback, for example) should be adjusted depending on the screen size of the device so that everything fits comfortably.
iOS 15.2 public beta 3
No response
It'd be useful to perform some of the fundamental set operations on lists, such as finding the items in both lists or those items that are unique to a single list.
Here's a rough sketch of what I'm thinking:
If you think it's generally a good idea, I can push up a PR for further discussion.
Thanks for considering!
An action that allows for natural language calculations, as found in Soulver 3 and Toolbox Pro (currently only on iOS and iPadOS).
For example, the action would take text input like "$10 for lunch + 15% tip" and produce "$11.50" as the result.
The SoulverCore API is available here.
Right now, the provided "Get contents of" action in Shortcuts doesn't follow redirects or even allow to access the response headers. Right now, you can only get headers from a HEAD request and not from a regular GET/POST request.
I have a very specific use-case where I need to know where the page is redirecting to (or really just follow the redirect), but being able to use the response HEADERs would be more useful in general.
When running shortcuts with shortcut keys on mac, no status is displayed.
If I implement it with notifications, there will be a lot of useless notifications that need to be cleaned up.
I would like you to provide an action that shows different states in the upper right corner of the screen, and these states can be changed by commands in shortcuts.
Limit maximum charging percentage by given value to protect the battery life.
Reference: https://github.com/davidwernhart/AlDente
The built-in action "Get Component of URL" can get a query string from a URL, but it returns the whole query string. What I would like to use is an action that allows me to get a specific query value from a given URL.
i.e. URL: https://www.youtube.com/watch/?v=aaaaaaaa&t=126
Action: Get query items named
t
from URL
Output: 126
Any chance?
Seems like it would be useful to be able to drop something onto a Shortcut in the dock. But is it even possible?
The issue is that there is no way to start a music in background and then continue the execution of the shortcut.
An example of this issue is the Shazam extension. You can use this extension to recognize a song, but you have to manually start the playback and then manually start the shortcut. See for example: https://routinehub.co/shortcut/11260/
It is also impossible to manage a list of files like a playlist from a shortcut, because you cannot start/stop the playback in background and more importantly you cannot know when the song finished playing to start playing another one.
Ideally there should be the following actions:
Ideally it should be possible to also target specific apps. For example, VLC:
This behaviour is natively available for both the Cellular connection and Bluetooth, but no for Wi-Fi. It would be nice to have.
Hi @sindresorhus , i am trying to implement a git clone.
It seems to work, but I should make some changes.
Being that you are an expert, can I ask you a few things?
Would be useful so you can perform certain actions based on their battery percentage.
It would be great to have a function that essentially does the same thing as the humanize package for Python. Ideally if there was a way to include all the functions, that'd be golden, but even just their integer humanization would be great.
For example, the action would take a number input such as "26548614862" and produce "26.5 billion" as output. A further refinement could be allowing a switch between "full" number and abbreviated numbers, so that the output could be "26.5B".
In the python package referenced above, I believe it only applies to numbers 1,000,000 and over.
The Siri watch face on Apple Watch shows cards depending on various conditions.
I see "Actions" already listed as a "Siri watch face data source" in my Watch app. But there doesn't seem to be a way to define such relevant shortcut at the moment. I'd love to see this added so I can make the Siri watch face more useful to me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.