Jump to content

Cheng

Member
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Cheng

  1. Really appreciate your help "Keyword input -> Replace util (replace http) -> Process util (lower case) -> Open URL" => this one is much easier. The "Process util" is called "Transform" in my alfred.
  2. Newbie question here: I have created a script filter to convert a {query} to lower case and replace https with http: import sys query = "{query}" query = query.lower() if query.startswith('https://'): query = query.replace('https://', 'http://') sys.stdout.write('{"items":[{"title": "test", "args":"'+query+'"}]}') Then, I'd like to pass the processed {query} to an open url action. (See the attached image below) After I enter the keyword: ala a_url, and press enter, nothing happens. I can see the debug console printing out the correct JSON, but I am not sure how to pass the processed {query} to the "open url action", please help
×
×
  • Create New...