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.


    Workflows: Grabbing text parts into separate variables

    Editorial
    1
    2
    1713
    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.
    • trinsic
      trinsic last edited by trinsic

      Hi, I created this workflow that takes input from a set of fields and outputs it into the built in "input" variable that gets used in generating a file name in a "create document" action. So for instance, In the UI form output section, I have the field vavariables being used in this format to generate a file name in the "create document" action: scene_title-scene_setting-scene_location-scene_env.

      In addition to the file name generation from the input variable from the UI form, I want to generate another text output line for the content section of the "create document" action from the indivudal inputs of each field of the UI form. I want a markdown header that has a different separator from the file name separator that I stylized in the output part of the UI form: scene_title.scene_setting.scene_location.scene_env.

      My question is: is there a way to store individual form parts from a UI form into separate variables so that can be used in the next action so I can generate a custom title with custom separators?

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

        Ok I figured it out. It looks like I need to set some variables for each input and do a search and replace on it, output it as a new variable and then generate the document. The work flow is updated with the new modifications.

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