Seite 1 von 1

Birthday Reminder

Verfasst: 25.09.2005, 15:28
von Jogibär
Hi
Bin gerade dabei die Birthday Reminder Ausgabe in Samurize zu integrieren oder wie man das auch immer ausdrücken kann.

Jedenfalls versuche ich mich an den helpfile beim br zu halten, aber ich verstehe den part hier nicht!?

ab Console Meter verstehe ich nicht mehr was ich genau machen soll. ist mit Console Meter das Konsolenprogramm in Samurize gemeint? Und wie und welchen Befehl soll ich eingeben, und wie kann ich es dazu bringen die brsi.exe zu starten!? Den pfad in die Befehlszeile eingeben?

büdde helft mir :oops:
You can now configure your Samurize Config to use the Birthday Reminder. Note that, for the Interface to work, the Birthday Reminder must be already in memory, visible or not. This is also true when you edit your config. If it is not, you will get the error message "Birthday Reminder Mainwindow not found".
In the Samurize Config Editor, create a "Console Meter" and make it launch the file "brsi.exe" which is in the Birthday Reminder directory. You can use the full path, or you can copy the brsi.exe file into the Samurize Scripts directory.
After the path to brsi.exe, you have to specify one command and some options.
Commands:

hidemainwindow
showmainwindow
editlist

print
quit
The most interesting command at first is "print". You can use it without options to get the default behaviour. The Options supported are listed here. To clarify the syntax, some examples are listed below.

group
If this option is set, an advanced output is generated which groups birthdays that are on the same day. The default is to generate ungrouped output. For grouped output, the header is "%r:" (see itemdef).


firstitem
Indicates the number of the first item you want to print (start counting at 1). The default is 1.


maxitems
How many items should be printed max. The default is -1 (all).


maxlines
How many lines should be printed max.
Note 1: In the default output style, this is the same as maxitems. If you are using the group style, these are not the same because every group header adds one line.
Note 2: If the last line would be a group header, it is not printed.
The default is -1 (all).


itemdef
Defines how an item is printed.

Special Values:
%n
The name of the item (usually the name of the person).

%d
The date, using your locale settings. Maybe something like "30.10.1986" or "5-23-91"

%w
The name of the day of week in your language.

%r
A short text specifying the days remaining and the day of week in english or german, depending on your locale settings. Maybe something like "tomorrow, Tuesday" or "Saturday in 3 days".

%R
The number of days remaining, as a number. "0" means today, "1" tomorrow.

%t
The type of date. Birthday, Once, Monthly ....

%a
The age.

You can use %% to get a single percent sign.

The default is "%n (%d)" for ungrouped and " - %n (%a)" for grouped printing.


The other commands don't use options. You can use them with Samurize Links to show or hide the main window, edit the list or quit the program. The quit command does not make that much sense, because you loose control then and calling the Interface will only generate error messages.


Examples:

brsi.exe editlist
... can be used to open the list editor.

brsi.exe showmainwindow
... can be used to show the main window. This is currently the only way to access the options window, the help, the about box and the inquiry window.

brsi.exe print itemdef "looks like %n will party on %w!" maxitems 3
... defines another output format. %n will be replaced by the name and %w with the day of week. Max 3 items will be printed.


General Notes:

The Console Interface does only run under Windows 2000 and Windows XP. This is not a problem since the same is true for Samurize itself.

Verfasst: 19.10.2005, 08:24
von Buba
also, du gehst in die config und machst rechte maustaste -> konsolenprogramm einfügen und da gibste dann bei quelle zB C:\Programme\Samurize\brsi.exe print maxitems 5 itemdef "%d:" ein

das bedeutet dann daß maximal 5 daten (von datum) angezeigt werden, und zwar die ersten 5 geburtstage
dann hab ich in nem anderen konsolenmeter C:\Programme\Samurize\brsi.exe print maxitems 5 itemdef "%n (%a)" eingegeben, das ist dann der name (%n) und das neue alter (%a)...du musst das nicht in 2 metern machen, geht auch in einem, nur hab ich das eine fett gedruckt und das andere eben nicht

konnte ich dir etwas weiterhelfen?