Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deduplicate Things Shortcut #296

Open
extratone opened this issue Dec 31, 2022 · 1 comment
Open

Deduplicate Things Shortcut #296

extratone opened this issue Dec 31, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation shortcut A Siri Shortcut! Built either by myself or another community member.

Comments

@extratone
Copy link
Owner

extratone commented Dec 31, 2022

Updated 01272023-170525


Social

<iframe src="https://mastodon.social/@DavidBlue/109607834421449942/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe><script src="https://static-cdn.mastodon.social/embed.js" async="async"></script>

I discovered that Things' new actions work with native hashing in Shortcuts! (Reminders' still don't??) Which means I was able to create a relatively simple deduplication shortcut that actually works!

(Obviously, be careful if you intend to use this on your personal library.) https://www.icloud.com/shortcuts/c75588132d9b49bd9bd59a45289052f6

okay @culturedcode... I could say many things about how your work has singlehandedly added a lot of legitimacy to Shortcuts. but cassinelli's handled that I think.

thanks for taking a chance on me with the beta.

... now top this!! https://t.co/7feWvtYyH8 pic.twitter.com/hOICaVqjgm

— 𝗗 𝗔 𝗩 𝗢 𝗗 (@NeoYokel) January 27, 2023
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Delete duplicate Things items by hash matching.

Deduplicate Things Shortcut

This shortcut includes two of Things' brand new Shortcuts actions and simple repeat loop utilizing matching by hash (which I definitely discovered via another shortcut but I haven't been able to figure out which/from where) to discover Things items with duplicate titles in one's database, which are then counted. The count is presented in a Show Alert action dialogue, from which you will have the choice of proceeding with deletion or canceling.

Also worthy of consideration:

You will receive a warning each time this action attempts to delete more than 99 items at once. This warning can be turned off in Things’ Settings.

@extratone extratone added documentation Improvements or additions to documentation shortcut A Siri Shortcut! Built either by myself or another community member. labels Dec 31, 2022
@extratone
Copy link
Owner Author

image

extratone added a commit that referenced this issue Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation shortcut A Siri Shortcut! Built either by myself or another community member.
Projects
None yet
Development

No branches or pull requests

1 participant