Friday, October 22, 2021

Ios shortcuts - how to get type of input (share sheet)


 As you have shortucut firstly enable sharing shortcut. No need to say why i hope


1 method:

Then using if condition (action) choose <if (shortcut input) > and change shortcut input to TEXT 

Then pass type of shortcut input (like text, url, file or anything else) at second input (and set if to match condition)

Make it like that and pass other actions just after if condition.


2 method:

Also make if condition with shortcut input but pass it as URL.

Then select „starts with” instead of is/isnt.

Then using this cheatsheet pass app urls to which you want to get access : https://medium.com/@contact.jmeyers/complete-list-of-ios-url-schemes-for-apple-apps-and-services-always-updated-800c64f450f 

Thats all ! 

No comments:

Post a Comment