[ANN] MLXEditor - runrev plugin for script editing with ANY external editor app

Alex Rice alex at mindlube.com
Sat Sep 13 14:11:00 EDT 2003


On Friday, September 12, 2003, at 07:12  AM, Ken Ray wrote:
> It looks good, but when you say "enter a Transcript command that opens 
> a
> temporary file", what do you mean? I tried:
>
>   launch "c:\program files\textpad 4\textpad.exe"

Ken, ignore my previous post. The transcript command is run through 
format() so the problem is that format() interprets \ as the escape 
character for C strings. So any backslashes have to be escaped 
"c:\\program files..."

> launch "c:\\program files\\textpad 4\\textpad.exe"

However, it probably is going to have to be something like this to feed 
it the filename to open

put "%s" into tTmpFile
put quote & "c:\\program files\\textpad 4\\textpad.exe" & quote into 
tEditor
get shell( tEditor && tTmpFile )


Alex Rice <alex at mindlube.com> | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco




More information about the use-livecode mailing list