Jump to content

giovanni

Member
  • Posts

    522
  • Joined

  • Last visited

  • Days Won

    17

Reputation Activity

  1. Like
    giovanni got a reaction from iandol in Offline Unit Conversion Workflow   
    @iandol yes, not sure what has changed but other pythons can now take precedence over the system Python. You just need to add `/usr/bin/` before `python3` in the script filter (see also this issue). I will update this and other workflows with the same issue. 
  2. Thanks
    giovanni got a reaction from privateName in Passing workflow variables to a script filter   
    💯
    brilliant!
     
  3. Like
    giovanni reacted to vitor in Dente Azul — Toggle bluetooth and paired device connectivity   
    This workflow has been using blueutil since it was created in 2017 (7 years ago). blueutil does not have an option to show battery status, but if they add it I can add it to the workflow too.

    The alternative is rewriting the whole workflow from scratch. Which I’m not against and have considered it before but zero promises.
  4. Like
    giovanni got a reaction from alfredpanda in Slack set status   
    yes @alfredpanda there seem to be a few (pre-existing I think, or induced by Slack changes) bugs. What did clear do? Just reset the status, or also resume notifications? Currently it only resets status. Anyway, try this version, I also added the workflow configuration. 
  5. Like
    giovanni reacted to Stephen_C in Workflow for printer status?   
    Giovanni, many thanks for your assistance in this thread.
     
    Stephen
  6. Like
    giovanni reacted to katie in Reference Importer   
    I don't need the fancy things - just importing citation information into BibDesk.
     
    @giovanni, you've made my day/week/year!!!! This is amazing; works for me. Thank you!!
  7. Like
    giovanni got a reaction from vitor in Reference Importer   
    If you don't need the file-based tasks which will require more work, this version works for me. I am not too familiar with BibDesk, let me know if there are things I missed...
  8. Like
    giovanni got a reaction from katie in Reference Importer   
    If you don't need the file-based tasks which will require more work, this version works for me. I am not too familiar with BibDesk, let me know if there are things I missed...
  9. Like
    giovanni reacted to Stephen_C in open apps from the dock   
    You could also use the Contexts window switcher—as I do.
     
    Stephen
  10. Like
    giovanni reacted to pseudometa in Convert citation to bibtex   
    @giovanniBeen already using that one for a while in my citation picker workflow
  11. Like
    giovanni got a reaction from sönke in Workflow that deletes back to the last period   
    if you are OK with using Python, this will work:
    import sys s = sys.argv[1] s = s.rsplit('.', 1)[0] + '. ' print (s,end='')  
  12. Like
    giovanni reacted to vitor in Unit Converter — Convert between different units of measurement   
    Usage

    Convert dimensions via the conv keyword. Type a number to see all available units with their full name and symbol.



    Type a unit to filter.



    Pressing ↩ on a partial match triggers the autocomplete. See all possible conversion targets when matching a unit exactly.



    Type further to filter for target units. Connector words (“to”, “as”, “in”) are optional to help with readability. Rounding precision and notation can be set in the Workflow’s Configuration.


    ↩: Copy result to clipboard. ⌘↩: Paste result to frontmost app. Configure the Hotkey or use the Universal Action as shortcuts to convert results from Alfred’s Calculator, Clipboard History, or selected text.



    ⤓ Install on the Alfred Gallery | Source
  13. Like
    giovanni got a reaction from vitor in Python Script Output to Workflow (Not Script Filter)   
    Hi @PB-Panda welcome to the forum! You are correct, a script filter is not needed, and neither is a JSON output. You just need to print (or sys.stdout.write) your output so that it becomes available to the next item in the workflow.
     
    This is a similar workflow to which I have added a space removal universal action using Python, which should be helpful to you as a template.
    I hope this helps! 
  14. Like
    giovanni reacted to 4tify in introducing alfred-outlookSuite 📬, a suite of tools to interact with Microsoft Outlook via Alfred   
    Oh I finally figured it out. I never thought of using an Apple Script. 

    Here it is if anyone wants to use it:
     
    tell application "Microsoft Outlook"
    activate
    set theMainWindow to make new main window
    set view of main window 1 to calendar view
    end tell
  15. Thanks
    giovanni reacted to vitor in introducing alfred-kindle 📚 search and open your Kindle books with Alfred   
    If you installed Python from their website (as opposed to using the Homebrew version), you have to install the certificates too.
  16. Like
    giovanni reacted to pseudometa in Standalone Read-Later-App that saves items in plaintext   
    Simple standalone read-later-app for Alfred. Saves the items in plaintext on your device.
     
    Usage
    - Use the keyword rl to add the current tab of the frontmost browser to your read-later-list.
    - Any item in your reading list also shows up when using the keyword rl. Press ⏎ to open the item in your browser and remove it from your read-later-list.
     
    Items are saved locally
    The items are saved in a local markdown file on your disk. You can set the location in the workflow configuration. The items formatted in the markdown task syntax. Unread items as open tasks: - [ ] [title](url) Read items as completed tasks: - [x] [title](url) This has several advantages: No dependency on any read-later service. The reading list is available offline. Since Markdown is a widely supported format, you can access your items in many other apps as well, such as Obsidian. Easy backup: Just copypaste the file. Easy sync: Just save the file in a Cloud Drive like iCloud.  
    ➡️ https://github.com/chrisgrieser/alfred-read-later
     

  17. Like
    giovanni reacted to pseudometa in Wikipedia Suggest   
    Get in-line suggestions from Wikipedia. Was actually a bit surprised that there wasn't such a workflow, considering that Wikipedia is so popular. (Searching the forum only resulted in old workflows from a decade ago that were not working anymore.)
     
    ➡️ https://github.com/chrisgrieser/alfred-wikipedia-suggest
     

  18. Like
    giovanni got a reaction from luciano in Convert citation to bibtex   
    @luciano I have added in Workflow Configuration the options of 1) saving to clipboard, file, or both, and 2) a preferred folder.
     
    Download here
  19. Like
    giovanni got a reaction from TomBenz in I Sheet You Not: Plug Excel into Alfred   
    HI @AuspiringMind, have you tried what Dean recommended in the past? I.e. replacing all files except info.plist?
  20. Like
    giovanni got a reaction from pseudometa in Convert citation to bibtex   
    thanks @pseudometa for the excellent suggestion! I drafted a workflow which should do what @luciano is asking:
     

    in Terminal, install anystyle with sudo gem install anystyle-cli
    install the workflow (download here)
    select text with one or more references (one per line) in any format
    open the text action menu (default shortcut: cmd-ctr-\), select ref2bib, press enter
    a formatted BibTeX entry should be in your clipboard


    possible issues:
    1. duplicated BibTeX keys
    2. failed parsing due to newlines in the text (for example when selecting text in a PDF)
  21. Like
    giovanni got a reaction from luciano in Convert citation to bibtex   
    thanks @pseudometa for the excellent suggestion! I drafted a workflow which should do what @luciano is asking:
     

    in Terminal, install anystyle with sudo gem install anystyle-cli
    install the workflow (download here)
    select text with one or more references (one per line) in any format
    open the text action menu (default shortcut: cmd-ctr-\), select ref2bib, press enter
    a formatted BibTeX entry should be in your clipboard


    possible issues:
    1. duplicated BibTeX keys
    2. failed parsing due to newlines in the text (for example when selecting text in a PDF)
  22. Like
    giovanni got a reaction from vitor in Convert citation to bibtex   
    interesting idea! it is possible, but with a number of limitations:
     
    1. it would be style specific (each style would be hard-coded), unless there are scripts to recognize a CSL style out there.
    2. it might not work 100% of the time, especially if formatting is taken into account. For example your reference @luciano seems like it's from Journal of Evolutionary Biology, but the volume is not bolded? 
    3. the BibTeX key creation algorithm would not check for duplicates (unless the workflow has access to the whole library).
     
    In conclusion, one could use an existing library to recognize references from text (but I am not aware of any), or this can be done efficiently only if you expect to convert a few CSL styles that can be hard coded. 
  23. Like
    giovanni reacted to pseudometa in Convert citation to bibtex   
    There is a program that can do that, it's called anystyle: https://anystyle.io/
     
    it works either with the web interface (easy to use, but less reliable), or via command line interface (not as easy to use, but you can feed the program training data). If it's more than a one-off, I'd use the CLI and feed it some training data, and get some results. But as giovanni mentioned, it's not going to be 100% reliable, and will have trouble when the bibliographies are in multiple citation styles. Whether anystyle can deal with duplicates, I am not sure.
  24. Like
    giovanni reacted to vitor in Google Scholar Suggest — Get in-line Google Scholar search suggestions   
    Usage

    Get in-line suggestions from Google Scholar’s search results via the scholar keyword. Press ↩ to open the search results page in the default web browser.



    ⤓ Install on the Alfred Gallery | Source
  25. Like
    giovanni got a reaction from gflores in Date calculator   
    Date calculator
     
    author: @MuppetGate (migrated to Python3/Alfred 5 by @giovanni)
    Alfred Forum
    GitHub page
    Dependencies (bundled): workflow

×
×
  • Create New...