ShareShortcuts

Let’s Share Shortcut Techniques

jimsauer
Fork “Let’s Share Shortcut Techniques”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så jimsauer får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
58K
Gemt
1
Handlinger
557
Kategori
Værktøjer
Version
1.0
Sprog
EN

The purpose of this shortcut is to share techniques that I and others have learned as we've developed shortcuts.

I plan to update this shortcut periodically. If you have any snippets that you would like to share, please leave a comment and I'll add them to the next version of this shortcut.

Here's a list of techniques currently included in this shortcut...

Within the shortcut, there is a main Choose from Menu that includes the following items:

  • SF Symbol for vCard Menu
  • Create Help and Display in Safari (Markdown Source)
  • Shortcut Update Initiated by User
  • Pick Subset of Shortcuts - all | select | text
  • Pick Subset of Shortcuts - all pre | none pre | text
  • Backup, Archive, and Restore Shortcuts
  • Check Network Status
  • Create vCard Menu with SF Symbol Photos
  • Various Methods to Access Dictionary Values
  • Search For a Shortcut
  • Shortcut plist
  • Encode a Web Sound & Prepare to Embed
  • Run Without Showing Actions
  • Force Shortcut Execution in the Shortcuts App
  • FileExist? TRUE, return contents; FALSE, create file, set contents
  • Dictionary & RepeatWithEach to ReplaceText x N
  • Write to a Device-specific iCloud Folder
  • Generate a Multiple Line Prompt (e.g., with Ask for Input)
  • IF with OR logic
  • Write Contents of Dictionary to a New Note

Nyheder

Version 1.0

First release

Versionshistorik
1.0 17. jun. 2020

First release

Hvad den gør

557 handlinger
  1. Comment
    𝗟𝗲𝘁’𝘀 𝗦𝗵𝗮𝗿𝗲 𝗦𝗵𝗼𝗿𝘁𝗰𝘂𝘁 𝗧𝗲𝗰𝗵𝗻𝗶𝗾𝘂𝗲𝘀 built to share shortcut techniques with others creating shortcuts
  2. Comment
    Copyright © 2020 Jim Sauer • @jimsauer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without …
  3. Comment
    The purpose of this shortcut is to share techniques that I and others have learned as we've developed workflows and shortcuts. I plan to update this shortcut periodically. If you have any snippets that you would like to share, please leave a comment…
  4. Comment
    WARNING: In the following Dictionary action, the 'MyName' item must match the name of this shortcut. Let’s Share Shortcut Techniques [default]
  5. Dictionary
  6. Set Variable
    .SC
  7. Dictionary
  8. Get Device Details
  9. Text
  10. Replace Text
  11. Dictionary
  12. Set Variable
    .P
  13. Comment
    [Do not change the contents of this comment.]
  14. Comment
    ~~~ Start of Setup Parameters ~~~
  15. Comment
    ~~~ End of Setup Parameters ~~~
  16. Create Folder
  17. Comment
    Note that in the next several actions, a settings file is used. This file is located in the /iCloud Drive/shortcutName. With some shortcuts, it might also be appropriate to also have device-specific settings.
  18. Comment
    ⚫️⚫️🔴⚫️⚫️🔴⚫️⚫️🔴⚫️⚫️ Determine if a "new build" message should be displayed, based on the following... (MyBuild This Shortcut) - (MyBuild Previous Run) > (Startup Alert.Build Delta) Note: For the technique to work property, MyBuild must be…
  19. Get File
  20. If
  21. Get Dictionary Value
  22. If
  23. Number
  24. If
  25. Number
  26. Calculate
  27. If
  28. Show Alert
    … (Build: …)
  29. Comment
    ⚫️⚫️🔴⚫️⚫️🔴⚫️⚫️🔴⚫️⚫️ Determine if a "welcome" or "reminder" message should be displayed, based on the following... Startup Alert.Elapsed Days: 0 = never show a message -1 = show a message the first time the shortcut is run n = show a messa…
  30. Number
  31. If
  32. Get File
  33. If
  34. Text
  35. If
  36. Get Dictionary Value
  37. If
  38. Text
  39. If
  40. If
  41. Nothing
  42. If
  43. Get Dates from Input
  44. Get Time Between Dates
  45. Calculate
  46. If
  47. Nothing
  48. If
  49. Text
  50. If
  51. Show Alert
    …
  52. Comment
    ⚫️⚫️🔴⚫️⚫️🔴⚫️⚫️🔴⚫️⚫️ Example Daily Alert
  53. Date
  54. Format Date
  55. Get File
  56. Get Dictionary from Input
  57. Get Dictionary Value
  58. If
  59. Set Dictionary Value
  60. Save File
  61. If
  62. Text
  63. If
  64. Nothing
  65. Show Alert
    …
  66. Comment
    ⚫️⚫️🔴⚫️⚫️🔴⚫️⚫️🔴⚫️⚫️ Update the settings file.
  67. Get File
  68. If
  69. Get Dictionary from Input
  70. If
  71. Dictionary
  72. Comment
    Note: When updating a dictionary, each 'Set [Key] to [Value] in [Dictionary]' needs to refer to the Dictionary from the previous action*, not the Dictionary originally opened (or created). * The easiest method to do this is via 'Dictionary' Magic va…
  73. Set Dictionary Value
  74. Set Dictionary Value
  75. Set Dictionary Value
  76. Set Dictionary Value
  77. Date
  78. Set Dictionary Value
  79. Save File
  80. Comment
    ⚫️⚫️🔴⚫️⚫️🔴⚫️⚫️🔴⚫️⚫️ Determine if a periodic check for update should be done based on the number of days that have elapsed since the last check. 0 = never check n = days that must elapse before the check is made
  81. Comment
    𝗧𝗵𝗲 𝗳𝗼𝗹𝗹𝗼𝘄𝗶𝗻𝗴 𝗰𝗵𝗲𝗰𝗸 𝗳𝗼𝗿 𝘂𝗽𝗱𝗮𝘁𝗲 𝗮𝗰𝘁𝗶𝗼𝗻𝘀 𝗮𝗿𝗲 𝗮𝗱𝗮𝗽𝘁𝗲𝗱 𝗳𝗿𝗼𝗺: [Eᴍʙᴇᴅ-ᴀ-Uᴘᴅᴀᴛᴇ], https://routinehub.co/shortcut/2672
  82. Number
  83. If
  84. Get File
  85. Get Dictionary Value
  86. Get Dates from Input
  87. If
  88. Get Dates from Input
  89. If
  90. Date
  91. Format Date
  92. Get Time Between Dates
  93. Calculate
  94. If
  95. Get IP Address
  96. Count
  97. If
  98. Comment
    There is no network connection, thus an update check could not be made.
  99. If
  100. URL
    https://routinehub.co/api/v1/shortcuts/…/versions/latest
  101. Get Contents of URL
    …
  102. If
  103. Dictionary
  104. Text
  105. URL
    data:text/html,…
  106. Get Contents of Web Page
  107. If
  108. Comment
    You have the latest version (…).
  109. If
  110. If
  111. Text
  112. If
  113. Text
  114. Text
  115. Dictionary
  116. Text
  117. Set Name
  118. Choose from List
  119. If
  120. If
  121. If
  122. URL
    https://routinehub.co/download/…
  123. If
  124. URL
    https://routinehub.co/shortcut/…
  125. Open URLs
  126. Stop This Shortcut
  127. Comment
    Set 'Check for Update' in the settings file to today's date. During subsequent runs of this shortcut, this saved setting and 'Check for Update.Elapsed Days' will be used to determine if a periodic automatic update check should be executed.
  128. Get File
  129. Date
  130. Format Date
  131. Set Dictionary Value
  132. Save File
  133. If
  134. Comment
    Could not check for an update because of a RoutineHub error: …
  135. Comment
    🤔‼️🤔‼️🤔‼️🤔‼️🤔‼️🤔 This section is included due to odd behavior that is observerd on my iPad Pro 10.5 (only)...
  136. Get Device Details
  137. If
  138. Show Alert
    …
  139. Comment
    🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴 🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴 🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴
  140. Comment
    EDITING NOTE: If you are interested in viewing the actions associated with one of the below techniques, here's a suggestion: rather than scrolling through potentially hundreds of actions, use the 'Choose from Menu' action below and move the 'techniq…
  141. Text
  142. Repeat
  143. Choose from Menu
    …
  144. Choose from Menu
    SF Symbol for vCard Menu
  145. Comment
    🔴▫️▫️▫️🔴 ▫️🔴🔴🔴▫️ 🔴🔴▫️🔴🔴 ▫️▫️🔴▫️▫️ 🔴▫️🔴▫️🔴 ▫️▫️🔴▫️▫️ 🔴▫️▫️▫️🔴 ▫️▫️🔴▫️▫️ 🔴▫️▫️▫️🔴 ▫️🔴🔴🔴▫️
  146. Comment
    SF Symbol for vCard Menu
  147. Show Alert
    …
  148. URL
    https://routinehub.co/shortcut/4254
  149. Open URLs
  150. Stop This Shortcut
  151. Choose from Menu
    Create Help and Display in Safari (Markdown Source)
  152. Comment
    🔴▫️▫️▫️🔴 ▫️🔴🔴🔴▫️ 🔴🔴▫️🔴🔴 ▫️▫️🔴▫️▫️ 🔴▫️🔴▫️🔴 ▫️▫️🔴▫️▫️ 🔴▫️▫️▫️🔴 ▫️▫️🔴▫️▫️ 🔴▫️▫️▫️🔴 ▫️🔴🔴🔴▫️
  153. Comment
    Create Help and Display in Safari (Markdown Source)
  154. Text
  155. Make Rich Text from Markdown
  156. Make HTML from Rich Text
  157. Text
  158. Text
  159. Set Variable
    Web Text
  160. Comment
    Replace smart quotes, smart single quotes, en dash, and em dash.
  161. Dictionary
  162. Get Dictionary Value
  163. Get Dictionary Value
  164. Repeat with Each
  165. Get Dictionary Value
  166. Replace Text
  167. Set Variable
    Web Text
  168. Base64 Encode
  169. URL
    data:text/html;base64,…
  170. Open URLs
  171. Stop This Shortcut
  172. Choose from Menu
    Shortcut Update Initiated by User
  173. Comment
    🔴▫️▫️▫️🔴 ▫️🔴🔴🔴▫️ 🔴🔴▫️🔴🔴 ▫️▫️🔴▫️▫️ 🔴▫️🔴▫️🔴 ▫️▫️🔴▫️▫️ 🔴▫️▫️▫️🔴 ▫️▫️🔴▫️▫️ 🔴▫️▫️▫️🔴 ▫️🔴🔴🔴▫️
  174. Comment
    Shortcut Update Initiated by User
  175. Get IP Address
  176. Count
  177. If
  178. Show Alert
    …
  179. If
  180. Get My Shortcuts
  181. Text
  182. Choose from Menu
    …
  183. Choose from Menu
    📲 Embed-a-Update
  184. Comment
    ⚫️⚫️🔴⚫️⚫️🔴⚫️⚫️🔴⚫️⚫️ The following set of actions complete an 'On Demand' check for a shortcut update.
  185. Comment
    𝗧𝗵𝗲 𝗳𝗼𝗹𝗹𝗼𝘄𝗶𝗻𝗴 𝗰𝗵𝗲𝗰𝗸 𝗳𝗼𝗿 𝘂𝗽𝗱𝗮𝘁𝗲 𝗮𝗰𝘁𝗶𝗼𝗻𝘀 𝗮𝗿𝗲 𝗮𝗱𝗮𝗽𝘁𝗲𝗱 𝗳𝗿𝗼𝗺: [Eᴍʙᴇᴅ-ᴀ-Uᴘᴅᴀᴛᴇ], https://routinehub.co/shortcut/2672
  186. Get IP Address
  187. Count
  188. If
  189. Show Notification
    There is no network connection, thus an update check could not be made.
  190. If
  191. URL
    https://routinehub.co/api/v1/shortcuts/…/versions/latest
  192. Get Contents of URL
    …
  193. If
  194. Dictionary
  195. Text
  196. URL
    data:text/html,…
  197. Get Contents of Web Page
  198. If
  199. Show Notification
    You have the latest version (…).
  200. If

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra jimsauer

Se alle

Du vil måske også kunne lide

Se alle
Annonce