`frame-height' instead of `screen-height', and, `executing-kbd-macro' instead of `executing-macro'.
Attach a file by drag & drop or click to upload