(This is to record a question I asked Ole earlier - and the answer, in a separate email - before I post a follow-up...)
Hi,
Thank you very much for Editorial. With a few workflows and snippets, it
has saved me huge amounts of time.
I would like to publish a couple of workflows that act on an entire
Dropbox tree, and to do this, I would like to find a safe way to get the
Dropbox root folder.
I've found that mine is this, with GUID (or similar) removed:
/var/mobile/Applications/08.../Library/Application Support/Dropbox
Is there a recommend way to obtain this in a Python script, please?
Things I considered:
-
just hard-coding in my path - but I guess that wouldn't work with
other languages, and I don't know if the GUID-like think is unique to my
environment, or version of Editorial -
walking up the path of the open file until I found Dropbox, but
someone could have a folder called Dropbox inside their Dropbox, so that
isn't reliable
Thanks in advance,
Clare