This is an extension from this question In Base SAS, how can I auto refresh the explorer?
RawFocus gives me a way of opening a file but it doesn't work for me as I'm using rsubmit. The updated code initially didn't work, but now it opens the wrong file. v3 rather v7. As per this pic.
The code I've used for the hotkey is as follows;
dm 'keydef F4 "submit ''rsubmit; %nrstr(%sysrput lastDS=&syslast;) endrsubmit;''; vt rwork.%scan(&lastDS,2,.)"';
Any questions, please let me know,
J