PlanoTse Handbook for Job Search Automation/First Lesson in PlanoTseScript

From Wikibooks, open books for an open world
Jump to navigation Jump to search
PlanoTse Handbook for Job Search Automation
Creating a Testbed First Lesson in PlanoTseScript Mining the Web
Chapter 5
Lesson 2 in PlanoTseScript
Use case: Discover all web domains related my search objectives

First Lesson in PlanoTseScript[edit | edit source]

Carry out all three tasks as defined below. You should generate and check out the following PlanoTseScript examples:


  • Example 22 - Execution Trace Log, see sample trace log
  • Example 23 - Tree View Control
  • Example 24 Conditional Logic


Task 1. Review Basic Concepts[edit | edit source]

Here are the few things you should know when working with PlanoTseScript. If you're not sure of any concept, click on the related link and review the material:


  • Springboards are where you can store and run your source code in PlanoTseScript.
  • Code & Run springboard is where you can do a quick run of your code in PlanoTseScript.
  • When you're asked to run an immediate command in PlanoTseScript, you can bring up the Code & Run springboard, type in the command, then press the button Run PlanoTseScript.
  • In PlanoTse, data holder is the basic unit of data and each holder has a direction for its data.
  • Data direction has two parts: name and body. To access the body of a data item's direction, click on its Steps button.
  • The body of a data direction can also be a springboard for your PlanoTseScript source code.
  • You should first create a testbed when you do an experiment with your new source code in PlanoTseScript.

Task 2. Create a Testbed[edit | edit source]

  1. Follow the steps on this page and create a scripting testbed, call it something like Testbed1 or something.
  2. Open Testbed1 and press the button Favorite to book mark it as a favorite item.
  3. Press the Steps button.
  4. Enter the sample code: { say Hello from Testbed1; }
  5. Press the button Save & Close.
  6. Press the Run button.

 

Task 3. Insert sample code[edit | edit source]

  1. Select the command [File » Favorites] from the main menu.
  2. In the tree view under Bookmarks and Favorites, double-click on Testbed1 to open the testbed.
  3. Press the Steps button.
  4. Press the Example button.
  5. Press the OK button.
  6. Double-click on Example 22 for the example, Execution Trace Log.
  7. Press the Yes button to replace the current content with the selected example.
  8. Press the button Save & Close.
  9. Press the Run button and see the result of the sample code.

After doing the above steps once, you should repeat the above steps but use number 23 for the example, Tree View Control. You should also repeat the above steps but use number 24 for the example, Conditional Logic.



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.

End of the Shortest Route[edit | edit source]

This is the last page of the chapter, Chapter 5. PlanoTseScript, and you have reached the end of Part I - The Shortest Route.

The next chapter, Chapter 6. Web Search Automation Process, is the first chapter in the second section, Part II - Mining the Web.

Remember, the purpose of Part I - the Shortest Route is to as quickly as possible prepare you with all the basic concepts in PlanoTse in order to get you started with the mining of global data.






PlanoTse Handbook for Job Search Automation
Creating a Testbed First Lesson in PlanoTseScript Mining the Web