Okay, alter Hase!

Ich hab Deine Idee anstatt LS mit der Formel-Sprache gelöst!
Vielleicht hilft die Lösung noch jemandem.
Dieser Script überprüft
vor dem Speichern des Doks, ob das RT-Feld "Body" zumindest 4 Zeichen enthält:
@Command( [EditGotoField];"Body");
@Command( [EditSelectAll] ) ;
@Command( [EditCopy] ) ;
@Command( [EditProfileDocument];"RTFieldCheck");
@Command( [EditGotoField];"pBody");
@Command( [EditSelectAll] ) ;
@Command( [Clear] ) ;
@Command( [EditPaste] ) ;
@Command( [FileSave]) ;
@Command( [CloseWindow]) ;
tmp := @GetProfileField("RTFieldCheck";"Check");
@If (@Length (tmp) < 4 ; @Do (
@Prompt([Ok]; "Hallo" ; "Der Text ist zu kurz" ) ; @Return ("")
); "")
Zusätzlich habe ich ein Profildokument "RTFieldCheck" mit zwei Feldern erstellt:
1. RT-Feld "pBody"
2. Berechnetes Feld "Check" mit der Formel:
@Trim ( @Abstract ( [TextOnly] ; 7 ; "" ; "pBody") )
Und es läuft, läuft und läuft!!!

Gruß
Leo
P.S. Das einzige was mich wundert, warum auch die in "Body" evtl. eingefügten Bilder ins Profildokument nicht mitkopiert werden...