-
Posts
505 -
Joined
-
Last visited
-
Days Won
10
smarg19 last won the day on February 16 2020
smarg19 had the most liked content!
Contact Methods
-
Twitter
s_margheim
Profile Information
-
Location
Philadelphia
-
Interests
Classics, Epistemology, Applescript, Python
smarg19's Achievements
Advanced Member (5/5)
35
Reputation
-
40-02 reacted to a post in a topic: Pandoctor: An Alfred GUI for Pandoc
-
ThomasP reacted to a post in a topic: Pandoctor: An Alfred GUI for Pandoc
-
Bernardo_V reacted to a post in a topic: Pandoctor: An Alfred GUI for Pandoc
-
To everyone who still has interest in this workflow: I am sorry that it no longer works. I no longer need or use the workflow. I developed it when I was in graduate school and writing all the time. I have since left academia and haven't really needed this (or my other workflows) in years. However, I do still love this little workflow and would love to get it healthy again, but it has been years since I've fiddled with Alfred workflows. If anyone wants to become the new maintainer, I would be happy to spend a weekend afternoon or an evening pairing with someone to get it updated and fixed and then hand over the Github repo. Let me know if you are interested.
-
nikivi reacted to a post in a topic: Spritzr: an Alfred Speed-Reading workflow
-
HOrdover reacted to a post in a topic: Your must-have workflows?
-
deanishe reacted to a post in a topic: ZotQuery: an Alfred workflow for Zotero
-
alibolcakan reacted to a post in a topic: KA Torrents
-
Had actually thought about building something essentially just like this a while back. Thanks for the rec!
-
smarg19 reacted to a post in a topic: Your must-have workflows?
-
defunct ZotQuery: an Alfred workflow for Zotero
smarg19 replied to smarg19's topic in Share your Workflows
I'm not exactly following. In Zotero, what field is the URL stored in? What do you mean by "if Alfred can find and export a citation based on its URL"? Do you mean use ZotQuery to find a particular citation via its URL and then from ZotQuery export that citation? If that is what you mean, then this could be possible, I just need to know more about what these URLs are. -
Yes. I have just fixed it. Will hopefully be able to push the new version this weekend.
-
xilopaint reacted to a post in a topic: Your must-have workflows?
-
smarg19 reacted to a post in a topic: How to run script from /usr/local/bin?
-
smarg19 reacted to a post in a topic: [Request] HTML and CSS Tidy Workflow
-
smarg19 reacted to a post in a topic: Slackfred: Interact with your Slack channels, groups and IMs
-
Did you install the Satimage package? It's a prerequisite of those features. You can start the installation via the wfy:install keyword. If you already have it installed, it would suggest that Evernote has changed something about its underlying notes structure, that will require me to figure that out. Can't give a firm deadline on that, but I will get to it.
-
poweryn reacted to a post in a topic: KA Torrents
-
smarg19 reacted to a post in a topic: pandoctor not putting (but no error messages)
-
Joh, Sorry. Just came across this here. I see that you have posted in the workflow thread as well. I have been talking with you primarily via GitHub Issues. Just wanted to acknowledge to Vero and others that this is being worked on.
-
smarg19 reacted to a post in a topic: Pandoctor configuration
-
smarg19 reacted to a post in a topic: Workflow Library for Python
-
smarg19 reacted to a post in a topic: Allow manual editing of UTIs in File Types fields
-
smarg19 reacted to a post in a topic: Make URL-encoding smarter or optional
-
Slackfred: Interact with your Slack channels, groups and IMs
smarg19 replied to frankspin's topic in Share your Workflows
Hit the same problem. The issue is that the codebase is behind your GitHub code. The slackfred-search.py file attempts to import requests and then tries to use it once for a GET requests. The other time, you use the web.py module from the Alfred-Workflow library. Your GitHub code doesn't have this issue. All you need to do is update the Packal download with the up-to-date codebase. - - - PS. Nice workflow! -
Not in any sensible way that I can of. I personally don't really see any of that, but I'm mostly searching for TV episodes and movies. Is there some way to tell easily? I could filter results, but I would need to know what to filter on.
-
smarg19 reacted to a post in a topic: Workflow Library for Python
-
pandoctor not putting (but no error messages)
smarg19 replied to skellis's topic in Workflow Help & Questions
Ok. I know I've been MIA, but life... Anyways, I've given this a think and I believe I understand the problem. At some point, you *did* choose template as an option and you failed to pass an argument. When you tried to run this conversion, pandoc and therefore Pandoctor failed. However, there is a bug such that this failure wasn't properly handled, and this attempted run was retained in the cache. So, the "template=" option was retained in all subsequent runs. This is a bug. Thank you for finding it. And I'm quite sorry that it took me this long to figure it out. To fix the problem, go to "~/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor" and delete "runner.cache" then run a new conversion. When I get free, I will work on a fix for the bug and push an update. One thing to note on using a reference.docx file, tho: be sure to pass the full path to the correct document (not a relative path, like in your example above) as the argument for the option. Or else this will cause pandoc to fail as well. You can get the full path by navigating to the file in Alfred and using the Copy Path to Clipboard function in Alfred's file browser. -
pandoctor not putting (but no error messages)
smarg19 replied to skellis's topic in Workflow Help & Questions
You need to run the command with Alfred's debugger on and post the results so I can have a better idea of what broke. One common issue tho: + do you have pandoc already installed? -
I am in the middle of some hectic work, but I will check in on this workflow hopefully sooner rather than later. Could someone post a list of the outstanding/remaining issues, so I know what to look for when I get back at it?
-
TBH, I haven't looked at this code in a long time, but the speed is almost certainly not a Python issue. It's likely a toolchain issue. I believe that each time, the workflow reads BibDesks cache files. It would probably be better to have a background process that updates a SQLite database against the cache files, and then the workflow itself reads and queries against the db. Poke me sometime during the summer and I may be able to do that.
-
gabamnml reacted to a post in a topic: Packal: Workflow and Theme Repository
-
Query database, return results to clipboard
smarg19 replied to BBlakes's topic in Workflow Help & Questions
You will need to use a little code to get the text from the web. I know Python best, you could conceivably use anything that Alfred supports. Setup Create a Keyword Input (use cas as the keyword, require a query). Connect this to a Run Script Action. I would then write a script that uses something like this Python module to get whatever data you need. Pass that to a Copy to Clipboard Action and your done. Obviously, the work-intensive part is writing the script, but that Python module seems to have that part pretty well figured out. -
Haha. If you knew how many times I've done stuff like that you'd realize why I can't require an IQ for workflows; I wouldn't be able to use them myself Glad you figured it out tho. And TBH, this will help me to deal with this problem when it (inevitably) occurs again. Pandoc is wonderful and powerful. And if you really start to use it, you should honestly check out my blog post on this workflow, where I explain Templated Commands, which are the real power-user feature of the workflow (the GUI for one-off conversions is the "normal" use case) as well as my Pandoc Templates (on GitHub). I have a nice Word DOCX template and a CSS file so that you can preview in Marked. With templated commands and the reference.docx file, I've basically got my pandoc workflow down to one step (run the Pandoctor templated command).