Hi Gnozal,
maybe I missed that thing but ...
would it be possible that jaPBe provides environmentvariables during Compile-Time like done by IDE?
JAPBE_TOOL_IDE - Full path and filename of jaPBe
JAPBE_TOOL_Compiler - Full path and filename of the PB Compiler
JAPBE_TOOL_Language - Language currently used in jaPBe
JAPBE_TOOL_FileList - A list of all open files in jaPBe, separated by Chr(10)
JAPBE_TOOL_Debugger - These variables provide the settings from the Compiler Options
JAPBE_TOOL_InlineASM window for the current source. They are set to "1" if the option
JAPBE_TOOL_Unicode is enabled, and "0" if not.
JAPBE_TOOL_Thread
JAPBE_TOOL_XPSkin
JAPBE_TOOL_OnError
JAPBE_TOOL_SubSystem - content of the "Subsystem" field in the compiler options
JAPBE_TOOL_Executable - same as the %COMPILEFILE token for the commandline
JAPBE_TOOL_Cursor - same as the %CURSOR token for the commandline
JAPBE_TOOL_Selection - same as the %SELECTION token for the commandline
JAPBE_TOOL_Word - same as the %WORD token for the commandline
JAPBE_TOOL_MainWindow - OS handle to the main jaPBe window
JAPBE_TOOL_Scintilla - OS handle to the Scintilla editing component of the current source in jaPBe
I know there's a pluginframework jPBe does come with but a support of these env.variables above would make the development of Cross-Coding-Environment PlugIns much more easier.
Another point I did figure out is that in the IDE when providing the argument "%TEMPFILE" and configuring the tool to overwrite the existing source, actually the source in the window is overwritten but NOT safed which should be the sense in case of a just text modifying plugin.
But in jaPBe I have to set "%FILE" as argument for supportig the overwriting of the current source in the editing window. Now ... this also forces the source to safed automatically which imho is VERY risky

As jaPBe by this will affect the orig source where the IDE only affects a pre-build tempfile.
Many thanks in advance and as always: thanks for all your efforts on PB!
Inc.