Home Cooker Classes Others Rice
Cooker
Cooker

About Cooker.

Cooker is an application for manipulating web pages.


Cooker has the following features.

It is built for .NET Framework Ver 4.6.

It uses an Internet Explorer compatible WebBrowser control as a browser.

Arbitrary JavaScript can be executed on the browser, and the execution result can be extracted outside the browser.

Rice

Cooker uses two languages - JavaScript and Rice - to manipulate web pages.

For more information about the Rice language, please refer to the link below.

Installation and uninstallation.

Installation

The Cooker is distributed as a 7z format self-extracting archive. Please execute the downloaded .exe file and the necessary files will be expanded.

Cooker.exe is the body of the Cooker.

Uninstallation

Special uninstallation is not necessary. Please delete the files created by the installation and uninstallation will be completed.

How to use Cooker.

Cooker is an application for manipulating web pages. Page manipuration is performed by the script written in Rice.

While the actual operation inside the page is performed by JavaScript, the entire control including the execution of JavaScript is performed by Rice.

In other words, using Cooker is equivalent to running Rice script.

Some points to keep in mind when running a Rice script on the Cooker are shown below.

.cook file

The Rice source file that is the entry point of execution with Cooker must have the extension ".cook". Cooker determines whether it is a Rice source file for Cooker by extension.

Rice source file which does not become the entry point of execution has no restriction on the extension.

Please refer to the following link for the requirements that Rice source files should have.


The requirements that must be met with source file.

The Rice source code prepared by the chain of file calls starting with the .cook file must have the definition of the main class and the main class must have the definition of the "start ()" method.

The "open method void start ()" method of the main class becomes the entry point of Cooker's Rice code execution.

Please refer to the following link for the entry point of Cooker's Rice code execution.


Minimum Rice program structure
entry point

How to run the Rice program

There are three way that run the Rice program on the Cooker.

The first way is to drop a .cook file to Cooker's icon.

The second way is to run the Cooker and select the .cook file from the file selection dialog.

The first way

It drop the .cook file to Cooker's icon.

It can also be executed by calling the Cooker with the path of the .cook file as an argument from the command prompt.

The second way

It run the Cooker and select the .cook file from the file selection dialog.

The file selection dialog will open by pressing the Ctrl + R keys or clicking the right button of the mouse on the browser.

file selection dialog

Notes for usage.

Cooker has used the WebBrowser Control compatible with internet explorer as a browser.

For this reason, there are some points to keep in mind when using the Cooker.

Rendering mode

Cooker's browser draws web pages in the same rendering mode as Internet Explorer installed in your Windows.

In other words, if your Internet Explorer is ver 10, Cooker's browser will also be in ver 10 mode, if it is ver 11, Cooker's browser will also be in ver 11 mode.

Javascript

Settings of Cooker's browser is affected by Internet Explorer settings.

Especially important is setting of Javascript. If you disable Javascript execution in Internet Explorer, you cannot use Javascript in Cooker's browser.

Documents

It describes installation and uninstallation of the Cooker.

It describes how to dynamically add classes at startup of the Cooker.

It describes the requirements that source files executed by the Cooker should have.

It describes how to execute the program on the Cooker.

It describes the start point of Cooker program execution.

It describes the end point of Cooker program execution.

It describes Cooker's message and multilingual correspondence.

It describes the initialization of the Cooker at startup.

Copyright © Cooker All rights reserved.