Hi there i have a workflow where a hotkey would trigger the "Keyword" input and the pass the argument into a var utility and set "title" var to the current query.
In the end i have an alfred script which will post to wordpress self hosted blog.
I have tried this:
on alfred_script(q)
set myBlogUsername to "myusername"
set myBlogPass to "mypassword"
set poststrut to {post_type:"post", post_status:"publish", post_format:"status", post_title:"{var:title}", post_content:"test"}
tell application "https://myblogdomain.com//xmlrpc.php"
set myPosts to call xmlrpc {method name:"wp.newPost", parameters:{"1", myBlogUsername, myBlogPass, poststrut}}
return myPosts
end tell
end alfred_script
But it won't pass the var, just use it as a string. i also tried {$title} and ${title}...