Is there a way in Textpad to set up a hotkey or macro to open the Log File to an existing open SAS program.
For example, if I have a program called MyProgram.sas open in Textpad, is there a way to program Textpad to automatically have it open the corresponding MyProgram.Log file in the same directory at the touch of a button?
Open SAS Log File from inside SAS Program of Same Name
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 18
- Joined: Sun Feb 15, 2009 12:50 pm
Re: Open SAS Log File from inside SAS Program of Same Name
Hi theretanddent wrote:Is there a way in Textpad to set up a hotkey or macro to open the Log File to an existing open SAS program.
For example, if I have a program called MyProgram.sas open in Textpad, is there a way to program Textpad to automatically have it open the corresponding MyProgram.Log file in the same directory at the touch of a button?
You might have to say just a little more about what you mean by having an "SAS program" open in TextPad. Does that mean that you have a file open for editing called MyProgram.sas?
If this is the case, a tool set up with:
Code: Select all
Command: C:\Program Files\TextPad 5\TextPad.exe
Parameters: $BaseName.Log
Initial Folder: $FileDir
(Apologies in advance if I've misunderstood what you mean by "SAS program." If this is, say, an executable launched from a TextPad tool, then the above is not what you need.)
Hope this helps.