Hi
I bought Alfred 5 yesterday and I am doing a new workflow.
The workflow has one "JSON Config" block that receives a query from a "List Filter" block.
I want to set the variable "foldername" to the basename of the path that is in the query.
How should I do it??
This is the content of the JSON block:
{
"alfredworkflow" : {
"config" : {
"scopes" : [
"{query}"
]
},
"variables" : {
"folder" : "{query}", "foldername" : "the name of the folder/file of the path of the query"
}
}
}