Is it possible for Trypa to detect the presence of a connected device when it launches or the system wakes from sleep, rather than or in addition to, monitoring for a connection event?
For example, I'd like to set up a trigger that performs a number of actions when my MacBook is connected to the dock in my home office. The trigger runs if the defined USB device is connected while Trypa is running, but not if the computer is rebooted or logged in with the device already connected.
Or, alternatively, is there some function of Trypa that would accomplish the same effect that I might be missing?
Thanks.
Hi, yes I get exactly what you mean. Trypa will look for state changes while Trypa is running, it won't trigger if it's launched and the item state is already changed (this is deliberate to stop mutiple shortcuts being run when you launch Trypa).
If you want this to happen you can build a shortcut and set it to run on login or on unlock or both.
First you will need to identify the exact case sensitive name of the USB Hub (Clicking Generate Device List... in Settings/Advanced should help you find the name, it will appear somewhere after the words USB DEVICES).
Then build a Shortcut that pulls a list of all USB devices using Trypa, matches the name (or part of the name) of the device, and then does what you want.
This is an example of Shortcuts using Trypa Intents, Intents allow you to inject Trypa detection tools into your existing shortcuts.
Let me know if this works for you