PlanoTse Handbook for Job Search Automation/Execution Page

From Wikibooks, open books for an open world
< PlanoTse Handbook for Job Search Automation
Jump to navigation Jump to search
PlanoTse Handbook for Job Search Automation
Generation Page Execution Page PlanoTseScript
Chapter 4

Execution Page - Starting Web Search Automation[edit]

Coming Soon

Whenever you see a box like this, whose title is, Coming Soon, you should expect that in the future it will be replaced with new or detail text for the section where it is under. You do not really need to have such text as nearby demo instruction should be helpful enough in showing you how to work with the software for the current topic.

Demo Section[edit]

Generated Scripts[edit]

As shown in the demo steps of the previous page, when you press the Generate button on the Generation Page in the Automation Wizard, PlanoTse generates three data items to hold three different units of source code in PlanoTseScript:

  • The master script
    • [Script 12321 Master Script] as an example
  • Two worker scripts:
    • [Quest 12317 Worker Task 1] as an example
    • [Quest 12318 Worker Task 2] as an example

By default, the item type for the holder of master script is SCRIPT. The item type for its workers can be specified on the Generation Page by the user. The default is QUEST.

Sample Master Script[edit]

The generated master script, Script 12321, has the following source code in PlanoTseScript:

{ aw page mp1; aw editor start; } // Line M1
{ aw button text Quest 12317 Worker Task 1; aw button code run Quest 12317 Worker Task 1; } // Line M2
{ aw button text Quest 12318 Worker Task 2; aw button code run Quest 12318 Worker Task 2; } // Line M3
{ aw editor end; } // Line M4

When you press the Run button on the Generation Page of the Automation Wizard, you run the source code of the master script. The code, as shown in the above box, will do the following:

  1. Go to the MP1 page, which is the execution page (Line M1 Statement 1).
  2. Clear the node editor in the Automation Wizard (Line M1 Statement 2).
  3. Create a button called Quest 12317 Worker Task 1 (Line M2 Statement 1).
  4. Place the source code, run Quest 12317 Worker Task 1, in the Task-1 button (Line M2 Statement 2).
  5. Create a button called Quest 12318 Worker Task 2 (Line M3Statement 1).
  6. Place the source code, run Quest 12318 Worker Task 1, in the Task-1 button (Line M3 Statement 2).
  7. Activate the node editor (Line M4).

The above steps will produce a user interface as shown in the following image:


Planotse automation wizard execution page.jpg


One way to access and make changes to the source code in a master script such as Script 12321 is to do the following steps on the main window:

  1. Select the menu [View » Code & Run]
  2. Enter the following code in the box: { edit script 12321; }
  3. Press the button [Run PlanoTseScript].
  4. Press the Steps button to access the source code.

Source Code for Worker 1[edit]

When you press the Worker-1 button, you execute the following source code:

{ yesno Ready to launch 5 browser sessions at once?; if no then exit; } // Line W11
{ web search Banking Dallas job-description management -hardware -resume ; } // Line W12
{ web search Retail Dallas job-description management -hardware -resume ; } // Line W13
{ web search Banking Houston job-description management -hardware -resume ; } // Line W14
{ web search Retail Houston job-description management -hardware -resume ; } // Line W15
{ web search Banking San-Antonio job-description management -hardware -resume ; } // Line W16

To access this source code, hold the SHIFT key down while clicking on the button with your mouse.

To access the source code that lets the button know that to do, hold the Ctrl key down while clicking on the button with your mouse.

Source Code for Worker 2[edit]

Because we declared in Browser Count that 5 is the maximum number of browser session this computer can launch at once, Worker 2 source code carries only five of the 6 generated web search commands. The last one is thus carried by Worker 2. This is why Worker 2 has only 1 web search to do.

{ say About to launch browser session in a Search Editor window. } // Line W21
{ web search Banking Dallas job-description management -hardware -resume ; } // Line W22




This page is part of The Shortest Route, which is the shortest sequence of pages that would as quickly as possible bring you to the point where you can start using PlanoTse effectively for either job search automation or any other application in the mining of global data from the World Wide Web.




PlanoTse Handbook for Job Search Automation
Generation Page Execution Page PlanoTseScript