super_goat
-
Posts
3 -
Joined
-
Last visited
-
Days Won
1
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by super_goat
-
-
Hi Blake,
I quickly put together something which may be what your looking for: https://dl.dropboxusercontent.com/u/45099771/CIR-Example.alfredworkflow
Use "cir" with a keyword to perform a search. It will copy the result to your clipboard and display a notification.
I used the https://github.com/mcs07/CIRpy module linked above.
If you right click the addon > show in finder, you will see the source. Modify script.py to output whatever you want (see the print statement). You may want to change the desired output representation (again, see the github module documentation).
I'm sure you can figure the rest out
-
Hi All,
I was wondering if someone could help me with the logic of creating menus and sub-menus using Alfred-Workflow (http://www.deanishe.net/alfred-workflow/index.html).
So far i have a Script Filter which presents a list of artists. When you choose an artist i'd like a list of categories to show, then a list of albums etc...
My current project logic centers around calling my python script with arguments to generate the list items, i.e.: python script.py --artist "{query}"... etc.
I've looked through the alfred-workflow documentation and there doesn't seem to be any inbuilt way to do this, without a bit of a hack.
Thanks!
Script Filter takes {query}, builds CLI string, runs in terminal
in Workflow Help & Questions
Posted
I think its complaining about the an index out of range. You need to be sure your "arglist" list really has three entries when you split it.
I've tidied up your main function (note, haven't run this):