.lib-config: đŸ’¯ get-path* replacement? example

by almaceleste

Version 1 (March 22, 2022)

Download (8 downloads)

⚠ī¸ Requires .lib-config library https://llamalab.com/automate/community/flows/41815
⚠ī¸ Recommended: disable flow logging.

ℹī¸ Android does not support paths with illegal characters: \ | < > * " : ?. You can create a folder with these characters but you cannot use it as a path to save the file.

The đ˜ŗđ˜Ļ𝘱𝘭đ˜ĸ𝘤đ˜Ļ𝘮đ˜Ļđ˜¯đ˜ĩ example demonstrates how 𝘨đ˜Ļđ˜ĩ-𝘱đ˜ĸđ˜ĩ𝘩 method replaces these characters in the generated path.

The 𝘧đ˜ĸđ˜Ē𝘭đ˜ļđ˜ŗđ˜Ļ example uses "$1" as đ˜ŗđ˜Ļ𝘱𝘭đ˜ĸ𝘤đ˜Ļ-𝘸đ˜Ēđ˜ĩ𝘩 option that replaces illegal character with itself and causes failure. But you can use this to trick the method into creating an invalid path if you need it for some reason.