HPW wrote:...It still works as before with link.lsp
and show the icon in the command-window and the task-bar.
So exactly what you want.
Yes, indeed. I use this approach now. I just do a backup copy of the original 'newlisp.exe' to have it handy for the next time. Thank you for this recommendation!
HPW wrote:So we can make nice small tool with their own icon. Of cource still a command-line interface!
Yes, but often command line tools are just good enough; I collect a couple of file, do some minor processing and write out a result file and a log file. Just the things script languages are meant for.
Of course it would be nice to give the user a visual feedback as well by showing a standard Windows message box ("Success" or "Failure, see log file").
Alex has a nice example using a Win32 function call from
Code: Select all
(import "kernel32.DLL" "GetStdHandle")
See entry
http://www.alh.net/newlisp/phpbb/viewtopic.php?t=688
So it seems it would not be too difficult to call other Win32 functions.
Has somebody the calling sequence just ready? (copy / paste)?
--HJH