Hi,
I've got the following (truncated here to show 2 results) json in a script filter. I'm passing out two args:
{
"items": [
{ "title": "Business",
"subtitle": "Practice",
"arg": ["Business", "B5F64C25-6C8D-4771-A9D7-7A86F7D98B95"],
"match": "Business " },
{ "title": "Design Services",
"subtitle": "Business",
"arg": ["Services", "4A7B6A86-460D-4C90-8E20-82DD061E0016"],
"match": "Design Services "
}
]
}
I'm outputted multiple arguments based on this:
https://www.alfredapp.com/help/workflows/inputs/script-filter/json/
How do I parse the arg into two variables I can access later in my script? I've tried a split arg with newline as delimiter, which isn't working.
Can I access them directly (without split arg)? `{var:1}` or `{var:var2}` doesn't seem to work either.