BookSetHeader
Sets the title and author of the currently open book.
The book must be opened beforehand (e.g. via UseObject or UseType). If no book is open, the method logs a warning and does nothing. If the book is read-only, the method also logs a warning and does nothing.
Устанавливает заголовок и автора текущей открытой книги.
Книга должна быть предварительно открыта (например, через UseObject или UseType). Если книга не открыта, метод выводит предупреждение и ничего не делает. Если книга доступна только для чтения, метод также выводит предупреждение и ничего не делает.
procedure BookSetHeader(Title: String; Author: String);
Parameters:
- Title — book title.
- Author — book author name.
def BookSetHeader(Title: str, Author: str) -> None: ...
begin
UseObject(FindItem);
Wait(1000);
BookSetHeader('Traveler''s Journal', CharName);
BookClearText;
BookSetText('Day 1. Arrived at Britain.');
end.
UseObject(FindItem())
Wait(1000)
BookSetHeader("Traveler's Journal", CharName())
BookClearText()
BookSetText('Day 1. Arrived at Britain.')
BookSetText, BookSetPageText, BookClearText, BookGetPageText