erc 987 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/bin/sh
  2. #
  3. # erc - Set up ERC settings for the Neo900 project
  4. #
  5. # Idea and prototype by Joerg Reisenweber, this implementation by
  6. # Werner Almesberger.
  7. #
  8. #
  9. # This script is VERY fragile and is affected by window manager behaviour.
  10. #
  11. # Use as follows:
  12. # - start eeschema and open the ERC dialog
  13. # - start this script
  14. # - move the mouse over the ERC dialog
  15. # The script should then switch to the "Options" tab and change some of the
  16. # error and warning settings.
  17. #
  18. #
  19. # The key sequences make the the following changes:
  20. #
  21. # 1) Initialize to Default
  22. # 2) Tri vs. Output: W -> OK
  23. # 3) Power Out vs. Bidir: W -> OK
  24. # 4) Power Out vs. Tri: E -> OK
  25. # 5) OC vs. Tri: W -> OK
  26. # 6) Power Out vs. Power Out: E -> OK
  27. #
  28. xdotool search --name --onlyvisible --sync 'Electrical Rules Checker' \
  29. key --delay 300 Right Down space \
  30. Down Down Down Down Right space space \
  31. Down Down Down Down Right space space \
  32. Right space \
  33. Down space space \
  34. Right Right Right Right Up space