kClient HTML Help: MACROS

This help consists of:

General notes

There are following elements on 'macros' bookmark:

Image:sch_macroview_en.jpg

Batch file for kClient:

There is following example for batch file:

Image:sch_macrofile_en.jpg

You can see that it includes login parameters and macro number.

Example of macro - conference for dispatcher.

This macro makes possible run a makcro via batchfile with conference for predefined group no 1 and a leader (subscriber=204).

Example 1 - Step 1 - Macro records creating

Firstly, you have to create schedule records for a macro. In our example will be created following records :

Call a group. You have not to reserve a conference earlier, becouse this macro will be called by dispatcher. As you know, dispatcher is a owner of the first conference - so - the conference will be reserved for him in login moment (First conference may be written in batch file as a parameter of login). So, all macro records concerning "First conference" will concern this conference which dispatcher is owner in login moment. In this situation first record of macro is group calling. We can write the same notice for end of conference moment. We mustn't insert "Closing a conference" record. The conference will be closed in dispatcher logout moment. "Period" parameter for this record of macro can be empty because we don't want delay start of the macro moment.

Notice! If the first record of the macro was "Conference reservation" second conference (with "Schedule" as a owner) would create and all commands and all records would concern these "Schedule" conference (not "Dispatcher"). Our dispatcher wouldn't access for such conference.

Call a subscriber. We can insert directory number for our leader (204) and delay time 10 seconds. By this delay, subscriber (e.g a leader) will be called some time after participants of the group. If generally time of calling a group is longer, we can increase this delay time (maximum till 90 seconds).

Next, we have to send these records to KKO card

Image:mac_ex1_step1_en.jpg

On 'macros' bookmark, we are able to check if a macro exists on the card. To this end we have to read data fronm the card and open 'macros' bookmark.

Image:mac_ex1_step2_en.jpg

Example 1 - Step 2 - Batch file creating

Now, we can create batchfile for our macro. We have to do following actions:

Creation of the file. If this is new file, we have to write the name firstly (e.g. in subfolder \\macros). In our example we have to write name 'example1.kcs' ,acknowledge it and edit proper parameters.

Image:mac_ex1_step3_en.jpg

Inserting parameters. We can run macro no 1. In login procedure we can choice 'dispatcher' level, no password and card's address. If you work with one KKO card only and a macro concerns this card only, you are able to use "Default address" button. In edit "Conferences" we can choice "One conference" option in order to be sure that all our commands will concern given conference. After seffings, we can use 'Save file' button and acknowledge window is displayed.

Image:mac_ex1_step4_en.jpg

Example 1 - Step 3 - An icon with batch file creating

You can create new shortcut on the desktop and open settings window by right mouse button clicking. Next, you can insert batchfile name ('example1' in our example) and at the end change icon name (e.g. 'Macro1' or 'Group1_subs204').

Image:mac_ex1_step5_en.jpg

Now, we can click such icon in order to run following actions: