Jump to content

gcao

Member
  • Posts

    14
  • Joined

  • Last visited

Posts posted by gcao

  1. Hi,

     

    As an OCD person, I felt compulsive to open this feature request:

     

    Can Alfred show 10 results a time instead of 9? And use Cmd+0 to go to the tenth result. If this may cause conflicts with other applications that may be using Cmd+0, at least Alfred can make this an opt-in feature.

     

    Other than being able to show more results one time, utilizing the screen space better, it also provides a better pagination support. Overall I think it means better user experience.

     

    Please kindly let me know whether this is doable. I'm still on Alfred 3 and if this is added, I'll upgrade immediately as this is the only feature I really wish for.

     

    Thank you.

    Guoliang Cao

  2. I created a Tmux workflow for myself. Below is the screenshot.

     

    It is heavily integrated with how Tmux is setup on my machine, so it might not be very useful to other people. However it might inspire people to create something they like :-P

     

    Here is what it does

    • Open my default Tmux session, list all windows, put the active window as the first, last active window as the second, other windows are shown after
    • Each item shows the window's index and name
    • In the subtitle, list panes and the process(e.g. vim, idle shell + current directory, other long running processes)
    • I can type window index or window name to narrow down to one window
    • When there is only one window, show panes list
    • Commands can follow window index + pane index and they'll be sent to the right pane to run

    Code lives here: https://github.com/gcao/Tmux.alfredworkflow

     

     

    jcKxBO6.png

  3. It'll be nice to configure shortcut key for below operations on the Alfred window:

     

    Page Up

    Page Down

    Up

    Down

     

    Currently, after triggering the alfred and entering some query, user have to move hand away from home row to navigate in results. It's especially hard to Page up and down because they requires both hands (Fn + Up/Down)

     

    If we can configure Cmd+H/J/K/L or Ctrl+H/J/K/L for these operations, it'll make navigation much easier.

  4. I've updated the workflow path to "~/Dropbox/..." as a short term workaround. I'll need to look into alfred environment variables to get workflow home dir.

     

    It should be possible to pull pre-existing bookmarklets. I think bookmarklets are stored in a sqlite db, we could extract all urls which starts with 'javascript' and append to the bookmarklets file. I'll add it to my roadmap.

  5. Sorry this is my first public workflow and not a lot of testing is done. I should add Alpha or Beta in the name  :P

    Did you include "javascript:" in your javascript part? Please note that should not be included. You might want to enable debug mode and check the output to see what is wrong.

  6. Hi,

     

    Just want to share a workflow I created recently. It allows one to edit and run bookmarklets in Chrome easily. It can be invoked with "bm" keyword or Command+Shift+B hot key. (This workflow was intrigued by the AlfredBookmarklets workflow created by vitor)

     

    When "Edit bookmarklets" is selected, bookmarklets file will be opened in TextEdit. New bookmarklets can be added like

     

    Bookmarklet description: javascript code goes after ':'

     

    IMPORTANT: if you have installed this workflow before and added your own bookmarklets, please backup the bookmarklets file before re-install or upgrade the workflow.

    How to backup: In Alfred window, enter "bm" and select "Edit Bookmarklets" item, in the TextEdit window, save a copy to your Documents dir.

    How to restore from backup: After install the new workflow, follow same process above to open the Bookmarklets file, copy content from your backup and save.

     

    Download: https://www.dropbox.com/s/391e0si9aw3hbk1/Bookmarklets.alfredworkflow?dl=0

     

    kEvQEvt.png

×
×
  • Create New...