omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Backing up Presets?

    Editorial
    2
    4
    1844
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TutorialDoctor
      TutorialDoctor last edited by

      My presets list is very long. It takes about 30 seconds to load. Any way to back up presets so I don't loose them completely? Any way to combine them?

      1 Reply Last reply Reply Quote 0
      • omz
        omz last edited by

        I can't help you very much with this, but perhaps this is useful: The presets are stored in a JSON file, and you can get its path like this:

        import os
        import editor
        presets_path = os.path.abspath(os.path.join(editor.get_workflows_path(), '../../Presets.wkflw'))
        
        1 Reply Last reply Reply Quote 0
        • TutorialDoctor
          TutorialDoctor last edited by

          That should help. Thank you!

          1 Reply Last reply Reply Quote 0
          • TutorialDoctor
            TutorialDoctor last edited by

            One small question. I am able to read this file, but am I able to write to this file? If so, I guess I would have a backup solution?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB Forums | Contributors