Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stacker:docs:stackshot:robot [2017/04/07 16:59] rjlittlefield formatting: underline "parent page" |
stacker:docs:stackshot:robot [2019/05/19 23:38] (current) rjlittlefield update external link to KeyEvent class |
||
---|---|---|---|
Line 22: | Line 22: | ||
| | ||
- | Values for other keys are given in the list of Java constants for the KeyEvent class, [[http://download.oracle.com/javase/1.4.2/docs/api/constant-values.html#java.awt.event.KeyEvent.KEY_FIRST|HERE]]. | + | Values for other keys are given in the list of Java constants for the KeyEvent class, [[https://docs.oracle.com/javase/7/docs/api/constant-values.html#java.awt.event.KeyEvent.KEY_FIRST|HERE]]. |
Supported events are: | Supported events are: | ||
Line 36: | Line 36: | ||
**Caution:** Be sure to use press and release events in matched pairs. If you tell the robot to press a key but not to release it, then the computer will continue to act as if the key is held down, even outside Zerene Stacker. The resulting behavior can be quite confusing, particularly if the key that's being "held down" is a modifier like Shift or Ctrl. | **Caution:** Be sure to use press and release events in matched pairs. If you tell the robot to press a key but not to release it, then the computer will continue to act as if the key is held down, even outside Zerene Stacker. The resulting behavior can be quite confusing, particularly if the key that's being "held down" is a modifier like Shift or Ctrl. | ||
+ | |||
+ | **Note:** The simplest way to determine screen coordinates is use your computer's screen capture facility to grab an image of the entire screen, then pull that image into Photoshop or some equivalent program. Pixel coordinates reported by Photoshop, with 0,0 at the upper left of the screen, are the same coordinates needed by Zerene Stacker's robot facility. |