thierrylemoulec Posted January 13, 2013 Posted January 13, 2013 Hi everyone, I'm currently building a workflow for searching my kippt bookmarks using script filter. The result from the API give me directly an URL that I provide in the XML string I return to alfred, like this : <?xml version="1.0"?> <items> <item uid="kipptsearch" arg="http://another-url.com/test"> <title>test kippt</title> <subtitle>kippt search</subtitle> <icon>icon.png</icon> </item> </items> Then I link this to the "Open url" action and add {query} to the search url field. But as you may expected, my url is encoded and then nothing happened. I would like to really open a url with the "open url" action not simply make a search. Is there a way to do that ?
simonbs Posted January 13, 2013 Posted January 13, 2013 That is correct. That will not work currently. However, I'm not sure I agree that it should be changed as that action is meant for searching. If you want to open a specific URL, you could just use an AppleScript. In the current version of Alfred 2.0 you can just add an AppleScript as action and set the contents of the ActionScript to: on alfred_script(q) open location q end alfred_script This only works if the URL contains http:// but you can make sure that's add in your trigger or modify the AppleScript to add it if necessary.
thierrylemoulec Posted January 14, 2013 Author Posted January 14, 2013 I'm not saying it should be change, but maybe we can add another field for opening an URL and choose between the two. But for now I will do with the AppleScript thanks for the help simonbs
judsondunn Posted January 14, 2013 Posted January 14, 2013 I would like this also, specifically for opening a URL in an alternate browser, I thought the same thing thierrylemoulex mentioned might work also. (mentioning for usability reasons) For example: opera http://example.com chrome http://example.com
mwaterfall Posted April 9, 2013 Posted April 9, 2013 Hey guys, just saw this topic and thought you might be interested in the workflow I just made for searching your Kippt bookmarks! http://www.alfredforum.com/topic/1890-kippt-search-search-your-bookmarks-on-kippt/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now