pseudometa Posted August 10, 2021 Share Posted August 10, 2021 Found the time to try out the new 4.5 release and I love it! Other than a few mentionings in the Thread on the 4.5 beta, I haven't found many showcases of the new Universal Actions feature in this forum. Maybe we could share some usecases? Here is a workflow with a bunch of (mostly simple) Universal Actions: Text Actions - Titlecase - Lowercase - Uppercase - Poor Text (removes formatting) - Transform Spaces to Tabs - Append to Clipboard (similar to Alfred's built-in function, but with manual hotkey and with universal action) - Calculate the sum of all numbers in the selected text. Negative numbers are supported, as are both "," or "." as decimal separators. (Thousand separators are not supported though, as they would create ambiguous cases.) - Run Brett Terpstra's SearchLink, which fetches the URL and creates a markdown link of the selected text. URL Actions - URL Encode - URL Decode - Create compact markdown link - Create compact markdown link of all URLs in selecting (actually a Text Action...) - SearchTitle: Fetch the title of the URL and create a Markdown link (basically the opposite of SearchLink) Download: https://drive.google.com/file/d/16Fnkj8wXxxNYlLTcEO-m8YHOobADLZE9/view?usp=sharing jeffbyrnes, Bhishan, jopemachine and 2 others 4 1 Link to comment
Chris Messina Posted August 10, 2021 Share Posted August 10, 2021 Love this! I've been talking to the developer of TextBuddy to hook up his app to Universal Actions.. text modification scripts seems like an entire category that Alfred should embrace! Link to comment
iApple Posted August 11, 2021 Share Posted August 11, 2021 5 hours ago, Chris Messina said: Love this! I've been talking to the developer of TextBuddy to hook up his app to Universal Actions.. text modification scripts seems like an entire category that Alfred should embrace! Great! Also a mega supporter of TB, hopefully Tyler can hook up to Alfred. Link to comment
tylerhall Posted August 11, 2021 Share Posted August 11, 2021 TextBuddy developer here 👋 Definitely looking into how to make all of TB's commands available through Alfred. I've been using Alfred myself since the pre-1.0 days, so getting TextBuddy connected would be a huge improvement for me as well. pseudometa, iApple, cands and 2 others 3 2 Link to comment
dfay Posted August 11, 2021 Share Posted August 11, 2021 Here are a couple of updated workflows of mine: https://www.alfredforum.com/topic/2180-case-converter-including-title-case/ https://www.alfredforum.com/topic/4818-code-case/ Chris Messina, cands and pseudometa 2 1 Link to comment
Chris Messina Posted August 11, 2021 Share Posted August 11, 2021 Thanks @dfay! Big fan of your Case Converter! I gently rearranged some of the blocks and added some synonyms in case you're interested (download): Bhishan and dfay 2 Link to comment
Chris Messina Posted August 11, 2021 Share Posted August 11, 2021 @Andrew seeing some unexpected behavior here: I invoked my UA hotkey on an .mp4 and yet was able to access Case Converter UAs even though their type was set to only apply to Text.² Only three UAs from @dfay's Workflow show up, even though five should appear.¹ All of the UA titles are the same, but I expect them to use the block's title (i.e. "Upper Case", "Lower Case", etc). Am I missing something about how UAs work? ¹ ² dfay 1 Link to comment
paulw Posted August 12, 2021 Share Posted August 12, 2021 (edited) @Chris Messina I think what's showing up are not the 5 different case change universal actions, but the placeholder title for the three keyword script filters ("cc", "change", "case") that you created in your edit of the workflow. I guess you're stuck with those unless script filters can exclude themselves as actions for specific file types (can they?) Edited August 12, 2021 by paulw Chris Messina 1 Link to comment
Chris Messina Posted August 12, 2021 Share Posted August 12, 2021 5 hours ago, paulw said: what's showing up are not the 5 different case change universal actions, but the placeholder title for the three keyword script filters ("cc", "change", "case") that you created in your edit of the workflow 🤦🏻♂️ of course! You're totally right — I forgot that Script Filters have placeholder titles... and yes — it would be helpful if: I could suppress Script Filters from appearing in Universal Actions or Set synonyms for keywords (which I've requested before) Link to comment
Andrew Posted August 12, 2021 Share Posted August 12, 2021 2 hours ago, Chris Messina said: I could suppress Script Filters from appearing in Universal Actions or This is in the works, much more granular control over what gets shown in universal actions, including per-workflow suppressing of keyword/script filter inclusion when universal action triggers have been implemented. Chris Messina 1 Link to comment
deanishe Posted August 12, 2021 Share Posted August 12, 2021 34 minutes ago, Andrew said: universal action triggers The what now? Link to comment
Vero Posted August 12, 2021 Share Posted August 12, 2021 34 minutes ago, deanishe said: The what now? Universal Action Triggers, aka adding your own custom Actions Link to comment
deanishe Posted August 12, 2021 Share Posted August 12, 2021 3 hours ago, Vero said: Universal Action Triggers, aka adding your own custom Actions Right. I thought so. I completely misunderstood Andrew's post. Link to comment
Andrew Posted August 13, 2021 Share Posted August 13, 2021 On 8/12/2021 at 2:08 PM, deanishe said: I completely misunderstood Andrew's post. Not unsurprising, it reads back as a jumble of words Link to comment
spencer Posted February 8, 2023 Share Posted February 8, 2023 Hi @pseudometa — could you share an updated link to this workflow? Looks like the drive link expired and I'd like to implement some of these. Thanks! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now