universeodon.com is part of the decentralized social network powered by Mastodon.
Be one with the #fediverse. Join millions of humans building, creating, and collaborating on Mastodon Social Network. Supports 1000 character posts.

Administered by:

Server stats:

3.5K
active users

Learn more

#shortcuts

10 posts9 participants0 posts today

Every week I sit down to budget, and it starts by opening Safari with two windows I set up.

It finally clicked that I should automate this, so, here it is! A combination of AppleScript + Shortcuts and it's now one click in my Dock.

I show the AppleScript on the left so you can see it all. It checks for Safari running because launching Safari gets you a window automatically. Second picture is the result. (Two YNAB tabs because I have $ and € budgets.)

I struggle to understand #devs who don’t use #keyboard #shortcuts for even the simplest stuff like cut and paste.

How do you work by highlighting the word with the mouse (not even double clicking it) then going to the top menu, clicking edit, wander up and down the menu looking for copy, then doing the same to paste!

Here’s a strange thing. IF I DO create a HomeKit Scene called “Morning” it works fine. The HomePods run the scene without confirmation, sound, anything. Just works.

If I say hey Siri “Good Morning” (with no scene or Shortcut called “Good Morning”) it will run the “Morning” scene AND give me a little da-ding confirmation that it ran successfully.

All I’m trying to do is create a SHORTCUT that turns on a bunch of lights and then speaks the words “Good morning” to me, like a nice little House AI would say to greet it’s homeowner.
#homekit #siri #shortcuts
2/2

I have a pair of OG HomePods. I have tried unsuccessfully to create a SHORTCUT called “Good Morning”. In my EXTENSIVE testing I can’t make Siri (via HomePods) recognize that Shortcut. If I rename it to… “Wicked” or some other word it works.

I DO NOT have a HomeKit SCENE called Good Morning or anything with the word Morning in it.

“Morning” has to be some messed up reserved word deep in Siri and associated with Scenes and not allowed for use in a Shortcut.
#homekit #siri #shortcuts
1/2

Are there any macOS Shortcut experts?

I’m trying to do a REGEX replace, to replace decimal commas in a CSV with periods. I have this REGEX in the replace action:

(?<=[0-9]+),(?=[0-9]+)

I have set the action to be case insensitive

Here’s the shortcut: icloud.com/shortcuts/6f9acd95a

In VSCode, it correctly finds the occurrences, but the Shortcut action doesn’t do anything

Anyone knows what’s up? 🤔

www.icloud.comShortcuts

@pakus

Of course!

This is done entirely using iOS #Shortcuts.

- Open Shortcuts.
- Go to Automation.
- Create a new automation based on Wi-Fi.

Here, you can select which networks you want to automate this process for and whether it should occur when you join or leave a given network.

I recommend enabling "Run Immediately" so the automation runs automagically.

Next, configure your Action:

Choose "New Blank Automation".
Then search for "Set VPN".

You will have the option to either Connect or Disconnect from a specific VPN.