Hi,
is there a possibility to open a file in current scite-instance?
i want to open my startup-lua-scipt for editing.

i tried to call direct scite.Open, but nothing happens:
command.49.*=scite.Open($(SciteDefaultHome)\Base.lua)
command.subsystem.49.*=3

if i start scite again ($(SciteDefaultHome)\SciTE.exe) a new instance will be created if check.already.open is true.

writing a lua-function which calls scite.Open gives me an error:

command.name.49.*=Base-Lua öffnen
command.49.*=Open($(SciteDefaultHome)\Base.lua)
command.subsystem.49.*=3

function Open(f)
  scite.Open(f)
end

cannot open file 'C:\documents and settings\frank\(D:\programming\wscite\base.lua)

it seems that open is replaced by scite with the users Homedir...

i found no other way to open file

Frank

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to