PageRenderTime 26ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/blog-posts/2010-03-27-automation.org

https://gitlab.com/jamesf/emacs-notes
Org | 54 lines | 42 code | 12 blank | 0 comment | 7 complexity | dfc4232459c0bcd85195423fb556a084 MD5 | raw file
  1. #+TITLE: Automation
  2. March 27th, 2010 -
  3. [[http://sachachua.com/blog/p/7065][http://sachachua.com/blog/p/7065]]
  4. A repetitive task is an excuse to learn more about automation tools. My
  5. text automation tool of choice is
  6. [[http://en.wikipedia.org/wiki/Emacs][Emacs]], a ridiculously
  7. programmable text editor. When it comes to numbers, I can do a lot with
  8. equations, pivot tables / data pilot, and judicious use of macros. For
  9. general automation on Windows, there's
  10. [[http://autohotkey.com][AutoHotkey]].
  11. My threshold for automation is lower than most people's. When faced with
  12. a repetitive task that will take me an afternoon to do, I'll spend maybe
  13. half an hour understanding the task, an hour figuring out how to do it
  14. using the tools, and another half hour to an hour completing it with
  15. automation's help. I spend the extra time learning more about the
  16. automation tools or sharing what I've done.
  17. Even if the time savings are probably not going to be significant, if
  18. the task is sufficiently repetitive, I'll go for the intellectual thrill
  19. of automating it. Bonus: if I have to do the task again (which
  20. occasionally happens), I have my process all ready to go.
  21. What would it take for people to learn how to automate more things? How
  22. do I do it? How did I pick up this habit?
  23. Part of it is knowing the capabilities of a tool. I know that I can
  24. simulate mouse clicks and keypresses, so when I catch myself repeating
  25. certain motions, I think about how I can automate that.
  26. Part of it is being able to abstract the steps in a procedure. I can
  27. figure out what can be easily automated and what needs manual
  28. intervention. If I can automate 80% of something, that's usually enough.
  29. Part of it is being able to program and not being afraid of geeky
  30. interfaces.
  31. Part of it is asking if the time-intensive parts of the procedure are
  32. really necessary. (Sometimes they're not.)
  33. I like automation. I
  34. [[http://sachachua.com/wp/2008/12/why-automation-matters-to-me/][wish
  35. more people were comfortable doing it]].
  36. Want to get started? The best way is probably to pick a tool depending
  37. on what you spend most of your time doing, learning lots about your
  38. tool, and doing little experiments. For Emacs, it might be learning how
  39. to use keyboard macros, then using Lisp. For Excel, learn different
  40. functions (I use CONCATENATE and IF a lot). For AutoHotkey, try using it
  41. for abbreviations, then expand.
  42. Have fun and save time!