This is an old revision of the document!


Scripts API Reference

ComicRack.App

Properties

ComicRack.MainWindow

The handle to the main window of ComicRack. Useful when needing a parent window for displaying dialogs.

ComicRack.App.ProductVersion

Version number of ComicRack.

Methods

ComicRack.App.AskQuestion(question, buttontext, optiontext)

A simple question dialog for the scripts

ComicRack.App.GetLibraryBooks()

Returns the collection of all books (Book objects) in the library.

This can be useful e.g. to search for similar versions, years or series titles when doing things with the selected books.

ComicRack.App.AddNewBook(showDialog)

Command to add new books to the library.

ComicRack.App.RemoveBook(book)

Command to remove a book from the library.

ComicRack.App.SetCustomBookThumbnail(book, bitmap)

Command to change thumbnail image for a book.

ComicRack.App.GetComicPage(book,page)

Returns a bitmap with the full page image of the specified book and page (pages start with 0).

book

Properties

Textual properties

book.Writer

String

book.Publisher

String

book.Penciller

String

book.Inker

String

book.Series

String

book.Number

String

book.AlternateSeries

String

book.AlternateNumber

String

book.Title

String.

book.Summary

String

book.Notes

String

book.Genre

String

book.Colorist

String

book.Editor

String

book.Letterer

String

book.CoverArtist

String

book.Web

String

book.Imprint

String

book.Tags

Count properties

Number

book.Year

Number

book.Month

Number

book.Volume

Number

book.AlternateCount

Number

book.Rating

Read only properties

book.ShadowSeries

String - Proposed series.

book.ShadowYear

Number - Proposed year.

book.ShadowVolume

String - Proposed volume.

Methods


Navigation