Jump to content

calebaharrison

Member
  • Posts

    13
  • Joined

  • Last visited

calebaharrison's Achievements

Helping Hand

Helping Hand (3/5)

1

Reputation

  1. @deanishe's suggestion meets my needs! Thanks for checking back in, though.
  2. I'm guessing by "that's not right," you mean "that's not what should be happening." I agree! Oddly, if .e.g, I search for a book called "Steering the Craft," Alfred will return the Calibre folder in which it resides, but not the eBook itself. Only if I search with the extension (e.g., '.mobi Steering the Craft) will it return the file itself. (Most likely, this is Alfred behaving correctly, and I am misunderstanding the interactions of tweaks I might have made to its search functioning.) At any rate, I will try the File Filter approach (restricting scope to the Calibre library), and do something more in-depth another day. Thanks!
  3. Thanks for the response, vitor. To be honest, I mostly just want to be able to search through a list of books in my library to see what I already have. I make extensive use of my University's library, sometimes downloading eBook copies of books that I haven't read, likely won't read, but would like to have around. Then I forget what I've downloaded, and come across a book and wonder, "do I have this?" Right now I seem forced to open Calibre and search; Alfred will only show the folder in the Calibre Library, but not the PDFs/ePubs themselves. That said, I suppose if I'm going through the effort, I might as well put in some functionality. Primarily what I do is either (a) convert a book to MOBI to read on my Kindle, (b) and/or email the file. So I suppose I'd (1) parse output of calibredb list into a format understood by Script Filter; (2) pass selected object on via opt/ctrl/cmd designators to a selected terminal script...should work, yes? Thanks, h2ner. I've used Alfred for a while, but am still (and will likely ever be) a coding newb. I'll stick with vitor's approach, as SQLite scares me!
  4. Hey Folks, I'm wondering if anybody has a workflow that works similar to the Bookends workflow, which would enabling the searching of a Calibre library within Alfred. If not, does anybody have suggestions on what would be required in the workflow to do this? I'm thinking that the calibredb terminal commands would be helpful, but I'm not clear on how to get a workflow to play with that, particularly within Alfred, rather than as a mere jumping-off point for Terminal. Any help is appreciated!
  5. Has the workflow been working for people, still? I'm still hit-or-miss on it, though largely 'hit' since updating. For instance, with a reference with the last name "Ãhman": "Ã" will find it, but "Ãh" will encounter the XML error noted earlier. Not a huge deal, but curious if any changes have been made. Thanks for the work, kseggleton!
  6. Thanks for the suggestions and comments Vero, dfay, and deanishe. dfay, I've been playing around with your workflow, to no avail as well. (Thanks for setting it up and sharing it!) I'll keep playing around. It would be great if this worked, as it would be a super interesting research tool.
  7. Hey Folks, Sorry in advance if this isn't the place for V3 workflow tips (and sorry if discussing V3 stuff, here, before public release is poor manners!). I am trying to have the following as a workflow: Filter file types (e.g. search only PDFs or only .skim notes or only .mmd files) Search for text within files of that type (e.g. search for 'justice' within only PDFs, or within only .skim notes) ​(So long as we're talking dream workflow, here, it would also be nice to filter multiply e.g. Search only in [.skim notes] with [tag=Aristotle' AND 'Nussbaum] for [query=justice]...) I know I can do 'in {query}' to search within files, and I know I can do file filters to search for specific file types, but I don't know how to chain the two so as to search within specific file types. I gather that Alfred V3 should be able to accomplish this (some kind of dynamic file search?), but I'm at a bit of a loss as to how to do it. Would I do a file filter, and pass off the entire result-list of files of that type to the next filter as a JSON utility? Or is this a bit outside the scope of what workflows are supposed to accomplish? Thanks! Caleb
  8. I can second Easytiger's comment (both in terms of thanks and in terms of troubleshooting!). If I type out one letter, the workflow seems to work, and to show a list of entries. If I type two or more letters, all entries disappear. Here's the debug list: Starting debug for 'Bookends Search' [ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 5.)'. Row (null), Col (null): 'Extra content at the end of the document' in XML: <?xml version="1.0"?> <items> <!-- Note: I omitted the list of entries listed in the debug section --> [ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 5.)'. Row (null), Col (null): 'Extra content at the end of the document' in XML: <?xml version="1.0"?> <items> I hope that helps!
  9. Awesome - update works for me, again, as well. Thanks!
  10. Has 2.2 broken this for anybody else? Here's the error log that pops up when I debug it: Starting debug for 'Nest' [ERROR: alfred.workflow.input.scriptfilter] Code 1: Traceback (most recent call last): File "<string>", line 2, in <module> File "alfred_nest.py", line 32, in __init__ LOG.debug('nests: %s', self.account.nests) File "nest.py", line 251, in nests for struct in self.structures.values(): File "nest.py", line 240, in structures self.status['user'][self.user_id]['structures']) File "nest.py", line 231, in status r = self.request('GET', 'mobile/user.{}'.format(self.user_id)) File "nest.py", line 334, in request r = self._requestor.get(url) File "requests/sessions.py", line 347, in get return self.request('GET', url, **kwargs) File "requests/sessions.py", line 335, in request resp = self.send(prep, **send_kwargs) File "requests/sessions.py", line 438, in send r = adapter.send(request, **kwargs) File "requests/adapters.py", line 331, in send raise SSLError(e) requests.exceptions.SSLError: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol Any thoughts?
  11. Thanks! pushmenu seems to be by the same author as prowlmenu, but pushmenu is a bit cleaner (from what I can see). The script as is doesn't work (yet), but I'll fiddle around and see what needs to be done. I appreciate all the responses, everyone. Being a noob != fun.
  12. Thanks! I did install the Prowl plugin, which seems to have been an awesome and necessary step. I am still having a problem, however. I was hoping to have a workflow that looks something like this: -Copy text to clipboard -call up Alfred, enter i.e. "prowl cb" -have the workflow send the text to growl via prowl plugin dealy -have the copied text appear on my phone I downloaded prowlmenu, which is somewhat of a step forward, but it still requires selecting text, and mousing/trackpadding up to the menubar. My laziness knows no bounds! I would like a keyboard shortcut. Again, thanks, and any suggestions on how to enact that via an alfred workflow (i.e. python/php/applescript) would be super. Until then, I will scour and putz around. If I figure anything out, I will post it!
  13. Hey All, I've used Alfred for a bit now, and am comfortable working with other peoples' workflows, but am a total newbie when it comes to creating workflows. I have tried manipulating the workflows here and here to be used with Prowl, but honestly am out of my league with such a simple task. I'm basically looking to be able to activate Alfred and send a website as a push notification to my iDevice, so I can open it. Typically, this is useful when I come across an app in my RSS readings that I'm interested in, and I don't want to have to unlock my phone, open the app store, search for the title, etc. Lazy? Yes. But would it be nice? Very much so. Any help -- be it a full-blown workflow, or suggestions on how to get started -- is appreciated. Thanks!
×
×
  • Create New...