Well, in testing this some more, it does work, but only if I don't use some log clearing commands first. I defined the F8 key as follows: submit;log Then, from the enhanced editor window, the following works: 1) Highlight an area of the code with a few proc sorts and prints. Works great! The log ends up on top of the Results Viewer! The following does not work, and was apparently my initial problem: 2) If I execute my entire code, which includes the following DM log commands to clear prior log noise, I then get a warning message saying that "Extra arguments on window command were ignored". DM log "OUT;CLEAR;LOG;CLEAR;" log continue ;
DM log 'next results; clear; cancel;' whostedit continue ; So, it appears that when I include the DM log statements in the code, the DM keys command doesn't work properly. They must be conflicting somehow... If I make the F8 key as follows, and delete the DM statements from my code, then I seem to get all the functionality I was looking for. Cleared logs and output, and log screen on top after execution. clear log;clear output;submit;log Thanks for the help!
... View more