Jump to content

abunav

Member
  • Posts

    4
  • Joined

  • Last visited

Reputation Activity

  1. Like
    abunav reacted to vitor in [SOLVED] How can I list out options using an output from a Python script?   
    Do you know how to generate JSON from Python? That’s all you need to do (send it to the standard output) in the specified format. For your example, it would be something like
     
    {"items": [ { "title": "A", "arg": "something to do with A" }, { "title": "B", "arg": "something to do with B" }, { "title": "C", "arg": "something to do with C" }, ]}  
     
    What you want is a Script Filter; that’s exactly what they’re for. Any other method will be a longer workaround.
×
×
  • Create New...