Wartung / Maintencance - Upgrade Version 8.5.12 - Mittwoch/Wednesday - 2024-08-28 07:30-09:00 a.m.
Seitenhistorie
Anker | ||||
---|---|---|---|---|
|
Inhalt |
---|
Beschreibung
Auszug |
---|
Neu: Definieren des dauerhaft zu speichernden Kommandos 3. |
Benutzeroberfläche
Optionen | |
---|---|
Setze Suchfragen/Kommandos... | SetzeKommando3 |
Historie
Datum | geändert von | Beschreibung |
---|---|---|
2011-02-03 | Althaus | neu erstellt |
Datei
dnb_public.js |
Code
Codeblock |
---|
function SetzeKommando1() { __dnbUserCommand("3",false); } function __dnbUserCommand(nrCommand,exec) { var text = "Möchten Sie das Kommando ändern?\nDie Änderung bitte mit OK bestätigen!\nAusführen des Kommandos mit Funktion: Kommando" + nrCommand; var title = "Setze Kommando" + nrCommand; var prompter = utility.newPrompter(); var msg; var profileString = "userCommand" + nrCommand; var value = application.getProfileString("dnbUser", profileString, ""); if (exec) { text = "Kommando noch nicht vorhanden. Bitte geben Sie ein Kommando ein?\nAm Ende bitte mit OK bestätigen!"; if (!value) { msg = prompter.prompt(title,text,value,null,null); if (msg == 1) { value = prompter.getEditValue(); application.writeProfileString("dnbUser",profileString,value); application.activeWindow.command(value, false); } else { __dnbFehler("Abbruch","Keine Eingabe erfolgt, Funktion wird beendet!"); } } else { application.activeWindow.command(value, false); } } else { msg = prompter.prompt(title,text,value,null,null); if (msg == 1) { value = prompter.getEditValue(); application.writeProfileString("dnbUser",profileString,value); } } } |
Überblick
Inhalte