Revision 2363898 of "PlanoTse Handbook for Job Search Automation/Search Editor" on enwikibooks

{{Navigate|Next=Introducing Automation Wizard|Prev=Go Script & Startup Script}}
__NOTOC__
:[[PlanoTse Handbook for Job Search Automation/Basic Concepts|Chapter 3]]
== Search Editor ==


Search Editor is a browser window. It is a visual aid for the development of a web search automation program. One use of this tool is to analyze the content of a webpage. The following procedures give you a demo.

<table cellpadding=16>
<tr>
<td valign=top>

=== Procedure 1 - Bring up the Search Editor ===

Do the following steps to bring up the Search Editor:

# Run the app PlanoTse.
# Select the menu command '''[View &raquo; Code & Run]'''.
# Press the button '''[Search Editor]'''.
# Wait. One moment please ...
# Wait until the Search Editor window is fully loaded. A sample Search Editor window is shown in the image at the bottom of this content.

=== Procedure 2 - Analyze the content of a webpage ===

{{Yellow Warning|As of 6/14/2012, the command  '''[Result &raquo; Parse HTML Tags]''' on the Search Editor menu has been suspended indefinitely.}}

The above steps should show you a sample webpage that uses many tags in HTML. Now do the following steps to analyze the HTML content of this sample.

# Select the menu command '''[Result &raquo; Parse HTML Tags]''' and bring up the HTML Parser, as shown in the image on the right.
# If the menu item is not enabled yet, wait until it is then select it again.
# Press the '''[Uncheck All]''' button.
# Press the '''[Parse]''' button.
# Wait for the countdown.

=== Procedure 3 - Search for a string in the content ===

Do the following steps to search for a string in the HTML text:

# On the HTML Parser window, press the '''[Find]''' button.
# Enter the string you want to find in the content.
# Press the F3 key on the keyboard to find another occurrence of the same string.
# If the text is found, it is highlighted and shown in the text box.
# Double-click in the highlighted text and see what happens on the Search Editor window.
# Double-click on a tree item on the Search Editor and see what happens in the text box on the HTML Parser.

=== Procedure 4 - Study the HTML content ===

Do the following steps to study the HTML content:

# Press the '''[Uncheck All]''' button on the HTML Parser.
# Check one of the boxes on the HTML Parser window.
# Press the '''[Parse]''' button.
# Wait for the countdown.
# Scroll the tree up and down to see how the content is different than before.
# Repeat this procedure, select another check box, then try again and see its affect in the HTML tree on the Search Editor window.

</td>
<td valign=top>

[[File:Planotse html parser.jpg]]




{{message box|image=Right-pointing hand in green octagon.svg|backgroundcolor=Azure |heading=What to do now|message=Learn how to use the ''Automation Wizard''}}

</td>
</table>

<center>[[File:Planotse search editor.jpg]]</center>


{{PlanoTse Handbook for Job Search Automation/shortestroute}}





{{Navigate|Next=Introducing Automation Wizard|Prev=Go Script & Startup Script}}