bevesce Posted March 3, 2013 Share Posted March 3, 2013 https://github.com/bevesce/ScriptRunner-Alfred-Workflow I noticed that I repeatedly write some script, wire it with some keyword or hotkey in Alfred and then forget what it was. So I created quick workflow that allows you to add scripts to list with **add script** file action and then display and run them with **./** keyword. First word of query is used to filter scripts, you can pass command line arguments after space. At the moment workflow supports python, perl, osascritpt and ruby but new languages can be easily added by adding extension and name of interpreter to extension_interpreter dictionary in scriptsrunner.py. I really should stop doing those workflows... twinpeaks 1 Link to comment
raguay.customct Posted March 5, 2013 Share Posted March 5, 2013 Nice, but I do not see a link. Link to comment
bevesce Posted March 8, 2013 Author Share Posted March 8, 2013 Nice, but I do not see a link. Oh, yeah, I managed to forgot about most important part. It's in first post now. Link to comment
twinpeaks Posted March 11, 2013 Share Posted March 11, 2013 This is great! Thank you bevesce. Link to comment
dinobib Posted March 15, 2013 Share Posted March 15, 2013 That's nice. I used to store all scripts in the scripts folder (to be avaiable in the script menu Bar). Is there a way the workflow directly search and list in this folder instead of having to add script manually? Thanks. Link to comment
bevesce Posted March 15, 2013 Author Share Posted March 15, 2013 That's nice. I used to store all scripts in the scripts folder (to be avaiable in the script menu Bar). Is there a way the workflow directly search and list in this folder instead of having to add script manually? Thanks. Simple alfreds file search won't work because it wouldn't be possible to pass arguments to scripts. I opted for adding individual scripts manually as more flexible way, I don't need to add whole folders of them but maybe I'll implement it when I'll have some free time. Link to comment
dinobib Posted March 15, 2013 Share Posted March 15, 2013 I would definitely find it useful. Just have to put all script in the folder, and direct access from anywhere, script bar menu or alfred. Link to comment
bevesce Posted March 23, 2013 Author Share Posted March 23, 2013 So ok, new commit supports adding whole folders of scripts to workflow in the same way as text files. Folder itself is displayed on the list - to allow removal. It's not feature used by me so I would appreciate eventual bug reports. 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