rightx2 Posted September 16, 2016 Share Posted September 16, 2016 I have a problem when creating workflow. I asked first at stackoverflow. (I didn't know that there is a forum here) But readability is much better here : http://stackoverflow.com/questions/39523572/alfred-creating-custom-workflow-doenst-work Need your help. thanks Link to comment
deanishe Posted September 17, 2016 Share Posted September 17, 2016 You should be seeing an error message in Alfred's debugger. It's probably a syntax error, as your code isn't indented correctly: import sys from workflow import Workflow, ICON_WEB, web def main(wf): wf.add_item( title="title" subtitle="subtitle", icon=ICON_WEB ) wf.send_feedback() if __name__ == u"__main__": wf = Workflow() sys.exit(wf.run(main)) Link to comment
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