I’ve been creating some icons in my Notes client. The first one is for opening a console and contains this:@Command([AdminRemoteConsole])
The second one is for changing a field and contains this:
unid:= @Text(@DocumentUniqueID);
theField := @Prompt([OkCancelList];
“Change Field”; “Select Field”; “”; “”:@DocFields);
currValueTemp:= @If( @IsAvailable(theField);
@GetDocField(unid; theField); “errorTemp” );
currValue:= @If( @IsError(currValueTemp);
“errorValue”; @Text(currValueTemp) );
theValue := @Prompt([OkCancelEdit];
“Change Field”; "New Value: use
semicolon separator for lists."; currValue);
currType:= @If( @IsNumber(currValueTemp);
“Number”; @IsTime(currValueTemp); “Time”; “Text” );
theType := @Prompt([OkCancelList];
“Change Field”;
“Data Type”; currType; “Text”
: “Time” : “Number” : “Text List” : “Number List” : “Time List”);
@If(
theType = “Time”;
@SetField(theField; @TextToTime(theValue));
theType = “Number”;
@SetField(thefield; @TextToNumber(theValue));
theType = “Text List”;
@SetField(theField; @Trim(@Explode(theValue;“;”)));
theType = “Number List”;
@SetField(theField; @TextToNumber
(@Explode(@Trim(@ReplaceSubstring
(theValue;" “;”“));”;")));
theType = “Time List”;
@SetField(theField; @TextToTime
(@Explode(theValue;“;”)));
@SetField(theField; @Text(theValue))
)
Both work on the usual system but I tranferred my work on a new system. The main difference is that I use two screens sometimes. I noticed that my Universal toolbar isn’t filled with Icons just under the “Show Context Sensitive toolbars in list” and above the buttons (like New Toolbar and the others) in my Toolbar Preferences.
Any clue? Where is the toolbar kept? How can I reset this?
Thanks!
Francois Morel