Jump to content

bivalvegruff

Member
  • Posts

    35
  • Joined

  • Last visited

Reputation Activity

  1. Like
    bivalvegruff reacted to targumanu in Mac App Store Search   
    Update
     
    The workflow now uses Alfred’s environment variables to get the correct paths to its cache and persistent data storage locations.
     
    Please re-download.
     
    To remove the old data in Alfred 2’s cache and data folders, launch Terminal and execute the following commands:
     
    rm -rf ~/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow\ Data/com.targumanu.ibookssearch rm -rf ~/Library/Application\ Support/Alfred\ 2/Workflow\ Data/com.targumanu.ibookssearch  
  2. Thanks
    bivalvegruff reacted to targumanu in Mac App Store Search   
    Search the Mac App Store and view search results with artwork previews right in Alfred.
    Open search results in App Store.app (default behavior) Quick Look search results' preview pages right in Alfred (press Shift, the Quick Look feature must be enabled in Alfred's preferences) Open search results' preview pages in your default browser (modifier key — Command) The workflow's preferences (keyword — masprefs) allow you to set the maximum search results limit and preferred store country, as well as clear the artwork cache.   Additional keywords allow you to open the App Store app's Purchases (“masp”) and Updates (“masu”) tabs.   Download
  3. Thanks
    bivalvegruff reacted to GuiB in Using Marta (or an alternative Finder app) with Alfred   
    @bivalvegruff, the output you wrote means that the preference is not set on you computer, you should see an output that only mention: org.yanex.marta
     
    Did you sent the second command as well? ( defaults delete -g NSFileViewer ) This one is meant to be use if you want to revert back to Finder and should then give the output that you have now when writing defaults read -g NSFileViewer . You can try again with the first command only ( defaults write -g NSFileViewer -string org.yanex.marta; )
     
    Here is what I get on my side in the Terminal:
    $ defaults write -g NSFileViewer -string org.yanex.marta; $ defaults read -g NSFileViewer org.yanex.marta  
  4. Like
    bivalvegruff reacted to Andrew in How to "open with" in Alfred   
    @dgbeecher you can actually do this without any configuration using the file selection hotkey under Features > File Search > Actions > File Selection.
     
    I have set this to alt+f. I select a file in Finder, hit alt+f which shows Alfred's action panel. You can select "Open With" from there
     
    Cheers,
    Andrew
  5. Thanks
    bivalvegruff reacted to GuiB in Using Marta (or an alternative Finder app) with Alfred   
    @bivalvegruff, did you restart your computer or session?
     
    If you write in terminal defaults read -g NSFileViewer you get org.yanex.marta as output?
     
    Myself, I'm always opening the files using the Reveal in Finder action (CMD+Enter on a standard search or with the Reveal in Finder file action) and it works great on my side. However, if you open your file using only Enter while doing the file search then it seems that you need to also set another preference to Marta like:
     
    defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType="public.folder";LSHandlerRoleAll="org.yanex.marta";}' This is all the same as what is explained at the Forklift website, so you can have a look here to have some more info: https://binarynights.com/manual#fileviewer
     
    Hope this helps!
  6. Confused
    bivalvegruff reacted to geo in Please disable "Command + ,"   
    Why take over "Command + ,"? It is used for virtually every app on Mac for settings. It is super annoying to have to find where to disable this key binding.
    I suggest you not ship future versions of Alfred with this key binding turned on. Thanks!
  7. Thanks
    bivalvegruff reacted to vitor in Media Coordinates — Open photo, video, and audio GPS coordinates in a map   
    Usage

    Use the Universal Action on an image, video, or audio, to open its recorded GPS location in Apple Maps or Google Maps.



    ⤓ Install From the Alfred Gallery | Source
     
  8. Like
    bivalvegruff reacted to nikivi in Searching Notes in Alfred   
    I used the workflow @deanishe linked above but switched to a different solution all together for all my note taking.
     
    Now I just write all my notes as markdown files in Sublime Text. I put all the notes in one directory called knowledge that I put in Dropbox for syncing. And I can open any file in this directory with Alfred scoped to the path where the directory lies. I made a workflow for it too.
     
    On iOS, I use Ulysses app to edit the notes as Ulysses can consume directories of markdown files that are stored on Dropbox. The bonus point of it all is that I can then render all these markdown files to the web with GitBook so anyone can read them. 

    If you want to keep private notes in this setup, I would create a directory in the main repo and git ignore it so it won't be pushed online for all to see.
     
    This setup works for me and I am super happy with it. Maybe you like it too. I am just not fond of keeping all my notes in a database that only Notes or Bear or any one app can read. Markdown files are super portable. Oh and Sublime Text has vim mode which neither Notes nor Bear nor Ulysses have.
  9. Thanks
    bivalvegruff reacted to sballin in Search Apple/iCloud Notes   
    I've created a workflow to find and open Apple/iCloud notes in Notes.app. Get it on Packal and feel free to open issues/make pull requests on GitHub.
     

  10. Like
    bivalvegruff reacted to deanishe in quicking add a new event on Calendar (Mac or Google)   
    It's AppleScript.
     
    Paste it in a Run Script box with Language = /usr/bin/osascript (AS).
  11. Like
    bivalvegruff reacted to Fabio in quicking add a new event on Calendar (Mac or Google)   
    Many thanks, Deanish!!!!
     
    Here is the code I wrote... if you have any improvement, please let us know!!
     
    on run
    set the clipboard to "{query}" as text
    tell application "Calendar" to activate
    delay 0.5
    tell application "System Events"
        keystroke "n" using {command down}
        keystroke "v" using {command down}
        keystroke return
        delay 0.5
        keystroke return
        key code 48 using {command down}
    end tell

      return "{query}"
    end run
     
  12. Like
    bivalvegruff reacted to deanishe in Pocket for Alfred   
    Fabio still does bugfixes, but I don't think the workflow is in active development any more. He was studying computer science and has moved on to "bigger" things.
     
    As best as I can tell, he's heavily into Smalltalk these days, and that (or Lisp) usually means you're heading for a PhD in computer science.
  13. Thanks
    bivalvegruff reacted to idea4IT in Pocket for Alfred   
    Hi guys,
     
    this workflow lets you manage your Pocket list with Alfred.
     

     
    Features
    Actions to copy, visit and archive, archive and delete links from your Pocket list (fn, ctrl, alt and cmd) Hotkey to add new links from Chrome, Safari or your clipboard (ctrl + L) Action to deauthorize the workflow (shift) Background cache refresh Supports notifications Uses OAuth 2.0 to authorize the workflow Saves your access_token securely in OS X's keychain  
    Github: https://github.com/fniephaus/alfred-pocket
    Download: https://github.com/fniephaus/alfred-pocket/releases/latest/
     
    Feel free to give some feedback!
     
    Cheers,
    Fabio
  14. Thanks
    bivalvegruff reacted to Benzi in (faster) Menu Search   
    I have re-implemented ctwise's excellent implementation of the Menu Search workflow in Swift.
     
    This version is ever so slightly faster (at least on my machine ) - YMMV.
     
    Requires OSX 10.7+
     
    ↓ Download

    Refer Github README page for up-to-date information.
    Usage
    Type m in Alfred to list menu bar items for front most application You can filter menu items by name, or do a fuzzy search.
    E.g
    m new tab will match the menu item New Tab m cw will match the menu item Close Window  
    Setup
    Note that Accessibility must be enabled for Alfred in order for this to work correctly.
     
    For example, in macOS Sierra, this is configured using the Security and Privacy preference pane, under the Privacy tab with the Accessibility section selected. Alfred must be included in the list of apps allowed to control your computer. This step is required for the workflow to generate the list of menu items, and also click on a specific menu item. 
     
    Here's a snapshot of what the preference pane might look like in macOS Sierra.
     

     
  15. Thanks
    bivalvegruff reacted to chrisbro in Bear workflow - search and create notes   
    Hey everyone! I've created a workflow that allows you to search and create notes for Bear. This is my first workflow, first OSS project, and first foray into Python - let me know what all I messed up  Available on github and Packal. Many thanks to @deanishe and @dfay for some initial direction.
     
    Install
    To install, download a released alfred-bear workflow and double-click to open in Alfred 3. Easy-peasy.
    Searching and opening results
    bs -- Search for a note by title and open it in Bear.
     

     
     
    bst -- Search for a tag (a group of notes) by tag title and open it in Bear.

    Creating a new note
    bn I love notes! -- Creates a new note with the title and text "I love notes!"

     
     
    bn I love notes! #love #notes -- Creates a new note with the title and text "I love notes!" and the tags "#love" and "#notes"

    Known Issues
    Creating tags only works with single-word tags - multiword tags hopefully to come. Todo
    Append text to existing notes. Figure out multi-word tags. Thanks
    deanishe for guidance on Alfred workflow creation and capabilities, and for his excellent Python workflow library. dfay for guidance from his experience writing the Ulysses Alfred workflow. Rhyd Lewis for giving me an excellent example to work off of in his Omnifocus Alfred workflow. Versions
    0.3.1
    Fixed database location that changed with a Bear update. 0.3.0
    Added search results from note text to main search. 0.2.2
    Changed search queries to order by last modified date descending, so that more recently modified notes/tags show up at the top. 0.2.1
    Added hashtag symbol to "Open Tag" list results to make it a little more obvious that it's a tag and not a note. 0.2.0
    Now allows non-ASCII characters. Searching by tag now displays not only tags that match the search query, but notes that match those tags as well. Searching by tag now works with or without the '#' symbol in front of the tag.  
    0.1.0 
    Initial public release.
  16. Like
    bivalvegruff reacted to deanishe in Alfred Emoji: Search emojis by name or keyword   
    Open the workflow in Alfred Preferences, click the [𝓧] icon and do this:
     

  17. Thanks
    bivalvegruff reacted to Ryan McGeary in Alfred Emoji: Search emojis by name or keyword   
    Search for emoji and copy them to the clipboard ?.

    Download v1.8.1 (2019-09-27)
     
    Usage:
    emoji [query] Press [return] (↵): Copy the symbol of the selected emoji (e.g. ?) to your clipboard. Press [alt]+[return] (⌥↵): Copy the code of the selected emoji (e.g. `:rofl:`) to your clipboard. Press [cmd]+[return] (⌘↵): Paste the code of the selected emoji (e.g. ?) to your frontmost application.  
    Automatic Updates:
     
    This workflow will automatically check for updates at most once per day. If a new release is found, it automatically downloads and installs the latest version of the workflow. All downloads come directly from official GitHub releases.
     
    Optional Hotkey and Snippet Triggers:
     
    Customize the workflow with either a custom hotkey or a custom snippet.
     
    Links:
     
    GitHub Project Download New Releases GitHub Issues - (please submit bug reports and feature requests here)  
    Screenshot:
     

     
  18. Thanks
    bivalvegruff reacted to vitor in Upload File — Upload files and folders for easy sharing   
    Usage

    Upload files and folders via the Universal Action. Folders and multiple files will are zipped prior to upload.



    When done, the download link is copied to the clipboard. Check upload progress via the ufp keyword.



    Press ⌘↩ to cancel.

    ⤓ Install on the Alfred Gallery | Source
     
  19. Like
    bivalvegruff reacted to shmulvad in Roman Numeral Converter   
    Okay, I didn't know that - thanks for letting me know!
    The workflow is now updated to use JSON. I'll agree with you, that is much cleaner.
  20. Thanks
    bivalvegruff reacted to shmulvad in Roman Numeral Converter   
    Roman Numeral Converter
    Convert between roman numerals and arabic integers
     
    Installation
    To download, visit the latest release at GitHub. All further updates are handled automatically.  
    Description
    This is a fairly simple workflow for converting between roman numerals and arabic integers. This has been made before by Tyler Eich (Packal link), but hasn't been updated since 2015 and stopped working on my computer during an Alfred or macOS update (can't remember which). But I had an use case for this, and therefore I made a new version written in Python for this simple task.
     
    In Alfred, type rn and enter either your roman numeral or arabic integer. Selected result is copied to your clipboard. 


     
     
    The expression is being evaluated as you type it. If the expression cannot be evaluated, for example if you are using illegal characters, user will be notified about that. 

     
    Note
    The workflow doesn't support incorrectly written roman numerals, i.e. "IC", and will also notify user about this:

     
    Credits
    The workflow makes use of the following code to focus on the implementation of the conversion between the number systems rather than focusing on a lot of Alfred Workflow related stuff.
    OneUpdater to easily check for updates by vitorgalvao. Alfred Workflow Feedback XML Generation to easily add items by lrrfantasy.  
     
  21. Like
    bivalvegruff reacted to luckman212 in Merge last "N" number of clipboards   
    Well, that was a long & winding road. I'm new to Alfred so I'm still figuring things out. I tried everything I could to avoid using a /tmp file but this was the only way that worked. Everything else—using variables, trying to process the clipboard buffers from within the workflow itself, using external triggers etc, all failed.
     
    This seems to be due to the way Alfred processes the query buffer as it passes through the workflow. Internally, a reference like `{clipboard:11}` will always return that exact text (e.g. if used in a comparison statement from bash or python) -- it only converts it to the actual clipboard value during OUTPUT actions such as Large Type or Write Text File. The 2nd problem is, if `{clipboard:11}` contains a NULL (empty) value, instead of returning BLANK (which would be expected), Alfred insists on instead outputting the dynamic placeholder itself. So, if you have only 5 clips and you ask for 10 to be merged, the last 5 will be written out as just `{clipboard:6}, {clipboard:7}...` etc.
     
    TL;DR I could not find a reliable way to test for "empty" values and omit them from the output other than using Write Text File and then processing it with sed. This works fine though, and the script cleans up the /tmp file after itself and is pretty quick about it.
     
    If anyone knows a better way I'm all ears. But I think this is something that would have to be fixed in Alfred itself.
     
    Here's the new version:
     
    changes
    omits empty strings from output if you request > clips than exist in the history configurable MIN_CLIPS and MAX_CLIPS variables added notifications for success/failure https://github.com/luckman212/clipmerge-alfred-workflow/blob/master/README.md
     
  22. Like
    bivalvegruff reacted to pawelgrzybek in Div — simple windows manager   
    Multiple screen support just landed.
     
    https://github.com/pawelgrzybek/div
    http://www.packal.org/workflow/div
  23. Thanks
    bivalvegruff reacted to luckman212 in Merge last "N" number of clipboards   
    Figured out a way - not sure if it's the "right" way but, it works well enough.
    I used a couple of bash scripts to validate/filter the input as well as loop & process the output.
     
    If you want to have a look... 
    (link removed, scroll down for the new version)
     

  24. Like
    bivalvegruff reacted to luckman212 in Merge last "N" number of clipboards   
    I'm trying to make a workflow that accepts a single parameter "N" (a number) and then uses that to merge the last N clipboards, and paste that to the frontmost app. Let's call it "clipmerge" and it uses keyword `cm`.
     
    e.g. "cm9" would take {clipboard:0} {clipboard:1} ... {clipboard:8} and merge them.
     
    Anyone got any ideas on how to achieve this?
     
    edit: I figured out my own solution... click here
  25. Like
    bivalvegruff reacted to pawelgrzybek in Div — simple windows manager   
    Quick update on multiple monitors support.
     
    I finally find a way to make this workflow speak to ObjC NSScreen class. It means that the support for multiple monitors is coming very shortly. I am currently on a business trip, but you can expect it before end of this week.
     
    👌
×
×
  • Create New...