1 Nov 05:06
Setup a customized application start toolbar by Run Macro.
Hongsheng Zhao <zhaohscas <at> yahoo.com.cn>
2008-11-01 04:06:29 GMT
2008-11-01 04:06:29 GMT
Dear Winedters,
I want to use the PowerCmd program, which is a more powerful tool than the CMD, to substitute the default
command promt within winedt. So I setup a Macro menu like this:
-----------------
Menu Items:
PowerCmd
Macro:
Run('C:\Program Files\PowerCmd\PowerCmd.exe','%P');
Start in:
%P
-----------------
I want the PowerCmd started in the current activated tex file's directory. But I found that with the above
setting I can only make the PowerCmd started in a changeless location. Why does this happen? What should I
adjust the invoke parameters of my Run Macro menu to achieve the following aims:
1- If the main tex file is set, the PowerCmd will always be started in the directory of the main tex file.
2- If not main tex file exist, the PowerCmd will always be started in the current activated tex file's directory.
Thanks in advance.
Regards,
--
--
Hongsheng Zhao <zhaohscas <at> yahoo.com.cn>
Xinjiang Technical Institute of Physics and Chemistry
(Continue reading)
RSS Feed