Das Notes Forum
Domino 9 und frühere Versionen => Administration & Userprobleme => Thema gestartet von: chris23 am 15.05.02 - 08:01:27
-
Wie kann ich ein Smarticon einfügen, das mir jedes mal bei Anwahl ein und die selbe Datei in meine MAil einfügt. Die Datei ist im Html-Format programmiert.
Danke im vorraus.
-
versuchs mal mit
@Command([FileImport]; "ASCII Text"; "c:\\temp\\deineDatei.htm")
Es gibt für HTML keinen expliziten Dateityp; aber ASCII Text sollte funktionieren
eknori
-
Hab hier noch einen "alten" Tip gefunden
When the users click on the new button, the
signature file is imported into the message.
The code behind the buttom is:
@Command([TextSetFontFace];"Courier");
@Command([FileImport];"ASCII Text";"c:\\notes\\data\\Signature.txt")
=============================
At this point in time, this functionality is not inherent within notes. What you can do to get around this, you can add an action button to the form that would append this to the end of the memo
@Command([EditInsertText];@NewLine);
@Command([TextSetFontFace];"Courier");
@Command([TextSetFontSize];"10");
@Command([TextNormal]);
@Command([TextSetFontColor];[DarkBlue]) ;
@Command([FileImport];"ASCII Text";"c:\\sigs\\signaturefile.txt"))
Or in the send button add this fuctionality.
-
Super!!
Hat alles funktioniert. Allerdings fügte er ie Dateiinhalte als ASCI-Text ein. Über eine Änderung der Dateidefinition in HTML hatte ich dann den gewünschten Effekt.
Die Formel lautet somit:
@Command([FileImport];"HTML"; C:\\ordener\\Datei.html")
Danke für den Tip ekinori!
Gruss
Chris
-
OK, hatte in der Hilfe "HTML" als Dateiformat nicht gefunden; oder mal wieder dicke Augen 8)
eknori