Jump to content

Maddog

Member
  • Posts

    78
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Maddog

  1. 1. I added support for panes today, please download latest version

    2. This should work out of the box

     

    1. Panes support seems to work great.

    2. I actually meant spaces and not desktops, can that work?

     

     

    Another small bug report - the names get cut off (with a nice ellipsis prefix, so it seems like a feature) while occupying only about 30% of the available space.

     

    EDIT: Also, personally I run a lot of the same commands (so I have like 3-4 sessions running called "npm (node)" and 3-4 sessions called "bundle"). Making them searchable by their working dir/arguments and not just the command itself would be really nice.

  2. Great news! Andrew just sent me a beta build of Alfred which adds support for workflows to define custom subtexts based on modifiers.

     

    I'm going to start adding support for this today and it should be part of the next update of Dash.

     

    Modifiers and actions I'll implement

    1. CMD - open in browser (for doc pages) and expand & paste (for snippets)

    2. ALT - copy result name (for doc pages) and expand & copy (for snippets)

    3. No idea. What else?

     

     

    I just discovered that the shift key is supported in many url-oriented workflows for previews.

     

    like this movie and tv search (if you hit shift while having a movie selected it shows the movie poster and description)

     

    Since the HTML is there, would be really nice if in addition to the "CMD to open in browser" it could support "shift to preview".

  3. Thanks! Of all the workflows I've written, this is the one I use the most personally.

     

    Many months later, this has also become my most used workflow, I run "update repos" the second I run "git init". Really love it.

     

    However, funnily, without fail I always forget the hit modifier keys and open projects in the wrong IDE. When I need console or finder, I always remember, but the multiple IDEs are merged in my mind :)

  4. 1. I'm an applescript noob - is it possible to pass arguments from this workflow to an applescript?

     

    2. Is it possible to run a specific script with hotkey? I've tried adding a hotkey and a script name parameter, but alfred still shows up and I still have to press enter, would be really cool if the script could run without showing alfred.

  5. Just got the Alfred 2.8 update. I see javascript as an option for scripting, but when I try to debug a simple script, this is what I get in the debug:

     

    [alfred.workflow.action.script] osascript: no such component "JavaScript".

     

    Also, searching for "javascript" doesn't work in the forums, it gets filtered out, probably due to XSS concerns.

     

    Thanks for any guidance.

     

    My OSX version is 10.9.5.

     

    EDIT: oops, missed the fact that it's for 10.10+ :( How do I delete this thread?

  6. The actual problem is a bug with iterm (described below in more detail), so I don't really think you can fix it from outside. But FWIW, here's how I setup the "quake window" feature.

     

    KCmG8Qd.png

     

    I have a special profile called "hotkey window" which is configured in the bottom left corner of the screenshot.

    In the profile setting, it's configured to show up at "top of screen".

     

    pi651qU.png

     

    That's the entire story I use the ~ (tilda) button to show/hide it.

     

    The thing is, it's a little buggy (I opened a bug in iterm), when I toggle it off with the hotkey, it's impossible to use cmd+tab to get back to the window. A similar problem happens here, where if it's hidden with the hotkey, it probably cannot be detected so it opens a new iterm window.

     

    Note that when it happened to me, I only had the "hotkey window" open, no other iterm windows.

  7. I just love this workflow and it's my favorite timesaver.

     

    I'd love to see these features, don't know how feasible the second one is.

     

    1. Fuzzy match, some menus are long with lots of similar options, would love to type `clpr` instead of `close pr` to close a project.

     

    2. In sake of laziness, I wonder how possible it is to be able to assign a hotkey to  a menu option in a specific app through alfred. Alfred doesn't read/display some correctly and I'm too lazy to go into the menu to try to remember the actual shortcut.

     

    Thanks!

  8. It's weird the script can't ignore the stderr.

    I mean it's not like find itself crashes, just raises one stderr.

     

    I know it's my fault, don't know why I keep bugging you :)

    Thanks for your help, I'll fix it on my end, maybe my unit test could create that directory (probably makes more sense anyway).

     

    EDIT: Now that it's working, I'm loving it so much!

  9. Weird story - I installed and depth wasn't deep enough, so I changed it and the update command didn't work, so I removed all the cache files (cpickle?) and now I'm getting this error and nothing works:

     

    workflow.py:1978 ERROR    Command '[u'find', u'-L', u'/Users/user/Code/', u'-name', u'.git', u'-maxdepth', '5']' returned non-zero exit status 1

     

    When I run the same command from the terminal it works.

     

    Any suggestions? I tried reinstalling the workflow.

  10. @stuartcryan -

     

    I'm on the bleeding edge of iTerm I think (Build 2.9.20150812-nightly)

     

    As for the new feature - would it be like a boolean you configure at the top of the script? Or actually a different script? I want to understand what "all or nothing" means, I don't mind if it's not configurable in a UI, but would love a way to be able to quickly change it in the custom script code.

     

    Also, this is funny, but I'm actually experiencing different results whether I'm cmd+tabbing away from that hotkey window or if I'm hiding it with the hotkey itself (I get a new tab in a new window vs. new tab in the hotkey profile window). This actually is related to the iTerm bug I posted, haha

     

    Thanks.

  11. I'm using iTerm's "quake window" feature (I have a specific half-screen sized window,that drops when I hit the `~` (tilda) button). This opens a new tab in that profile, but doesn't activate the actual window.

     

    It may be related to this bug I previously opened for iTerm, which is sort-of related to activating the "hotkey profile".

     

    I would also be interesting to be able to choose whether the script ( opens a new tab / reuses one tab *it opened* / opens a window / reuses one window it opened ). Don't know if that's feasible, but I would definitely choose a reused tab/window instead of a new one every time.

     

    Thanks!

×
×
  • Create New...