Home Cooker Classes Others Rice
Cooker  >  initfile
Initialization file

cooker.init

The Cooker take over the state of termination to next startup. The state of termination are the following six.

Distance between the upper edge of the window and the upper edge of the screen.

Distance between the left edge of the window and the left edge of the screen.

Width of the window.

Height of the window.

State of the window.

Directory where there is the last executed script file.


The above state is stored to the cooker.init file at the termination, and the state of the cooker is restored based on this file at the next starts up.


the cooker.init file must be a UTF-8 encoded text file.

One state is stored in one line, and each line is separated by ::: (triple colon).

In the string delimited by :::, the first is the state name, and the second is the value.


The correspondence between state names and states is shown below.

window.top : Distance between the upper edge of the window and the upper edge of the screen.

window.left : Distance between the left edge of the window and the left edge of the screen.

window.width : Width of the window.

window.height : Height of the window.

window.state : State of the window.

script.path : Directory where there is the last executed script file.

Previous
Copyright © Rice All rights reserved.