re: I spend one hour a week optimizing my development environment. VIEW POST


These are great! Would you mind sharing the details of the Alfred workflows (specifically that last one) and maybe the related Applescripts?


I can share the workflows themselves, but honestly they're pretty boring 😅
Nothing too crazy going on there.
Here's the Applescripts for the last one, hope you can adjust them to your use case!

on alfred_script(q)
    tell application "Hyper.app"
        tell application "System Events"
            keystroke "bb"
            key code 36
            keystroke "rs"
        end tell
    end tell
end alfred_script

bb is my alias for switching to my dev folder, 36 is the keycode for enter, and rs is my alias for rails server over nodemon

Code of Conduct Report abuse