open files code example
Posted: Sat Aug 14, 2010 1:16 pm
may I have one?
I use newlisp all the time to interact with other applications, say, to open an editor with a newlisp-generated file--I'd like to see if the editor is already running with said file open, and if it is, do nothing, or rerun my script, etc. I can do this in an awkward way by calling ps with exec, but I was wondering if there was a newlisp-only solution.
thanks!
(where has everybody been, btw? traffic around here has been kind of low lately...)
I use newlisp all the time to interact with other applications, say, to open an editor with a newlisp-generated file--I'd like to see if the editor is already running with said file open, and if it is, do nothing, or rerun my script, etc. I can do this in an awkward way by calling ps with exec, but I was wondering if there was a newlisp-only solution.
thanks!
(where has everybody been, btw? traffic around here has been kind of low lately...)