sepulchra Posted January 24, 2023 Posted January 24, 2023 (edited) I'm trying to build a workflow to trigger a script that runs a chronosync backup when i quit a specific app. In my case it is Pro Tools. I also want to make sure the path to the external volume i'm running my projects from is mounted before it runs. In an ideal world I would like it to check in the backup volume is also mounted. It looks like I can do this with all automation tasks and other workflow objects. I have two specific questions: 1. is this the best way to do this? 2. what is the best way for it to check more than one path? Edited January 24, 2023 by sepulchra
Stephen_C Posted January 24, 2023 Posted January 24, 2023 19 minutes ago, sepulchra said: what is the best way for it to check more than one path? The way I would do it (which may not be a recommendation! 😀) would be to set another variable for the second path and test that, too, against a Does Path Exist Automation Task. Stephen
sepulchra Posted January 24, 2023 Author Posted January 24, 2023 (edited) That is what I was thinking but I’m guessing you would also need 2 separate “does this path exist” objects for each path. Also I’m wondering how that impacts the conditional object? Both should be true for it run. Is there a way to make sure that is the case? Edited January 24, 2023 by sepulchra
vitor Posted January 24, 2023 Posted January 24, 2023 Note the description for Does Path Exist?: Returns true if all passed-in paths exist, else returns false. You can pass it any number of file paths. For the workflow above you’d do it by, for example, adding one path per line in the Argument field of the Arg and Vars Utility, then connecting that to a Split Arg Utility. Configure it to Split with: New Line and Output as: Arguments.
sepulchra Posted January 25, 2023 Author Posted January 25, 2023 Thanks to you both. I learn something new every time. vitor 1
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