Difference between revisions 3434327 and 4059459 on enwikibooks{{Navigate|Next=Introducing Automation Wizard|Prev=Data Holders}} __NOTOC__ :[[PlanoTse Handbook for Job Search Automation/Basic Concepts|Chapter 3]] == Go Script & Startup Script == PlanoTse is a personal tool for mining global data. Its web search scripting language, [http://planotse.wordpress.com/2012/06/17/planotsescript-web-search-scripting-language/ PlanoTseScript], is used in automating the data mining process. Job search automation is a great use of both PlanoTse and [http://planotse.wordpress.com/2012/06/17/planotsescript-web-search-scripting-language/ PlanoTseScript]. Go script and startup script are two of the several ways you can use to run your PlanoTseScript source code. <div style="text-align: center;">[[File:Planotse default first script.jpg]]</centerdiv> === Go Script === Go script is the sequence of steps automatically carried out by PlanoTse when you select the Go command from its main menu. For a demo, do the following steps: # From the main menu, select the command '''[File » Open Lists » Other Lists » Scripts]'''. You will see, as shown in the above image, at least a script shown in the tree view which is the first panel on the left in the main application window. (contracted; show full) {{TextBox|{ load scripts; load contacts; notice “PlanoTseScript file default.tse was executed.”; } }} This block of code has three statements. The first two load script and contact items. The last statement posts a notice on the status bar at the bottom of the main window. You’re expected to replace the content of this file with what you want PlanoTse to do for you when you click on Go. <div style="text-align: center;">[[File:PlanoTse Sample Default Go Script.jpg]]</div> Notice that, when running for the first time, PlanoTse automatically generates three data items as listed below and as shown in the image above: * Your contact information or the default demo contact data item * The contact information of the creator of this software: Tony Software Engineer * The first demo script called “PlanoTseScript Demo 1″ Project, Contact and Script are three of the several data types available in PlanoTse. Each project, each contact, each script, and each data item of any other type is stored in XML so that all data is both human-readable and machine-readable. Each data item has a title. The title of the first demo script is ”PlanoTseScript Demo 1″. As it is a data item in PlanoTse, it is stored as an XML file. How is this different from the start-up script startup.tse or the default Go script default.tse? == More on Startup Script == When running for the first time, PlanoTse automatically generates the start-up script, which is located in the Go folder and it initially has the following block of code in PlanoTseScript: {{TextBox|{ load projects; notice “PlanoTseScript file startup.tse was executed.”; } }} PlanoTseScript statements placed in between two curly brackets as shown above are together called a block of code. The above block has two statements. The first one is to load the collection of data that contains project data items. The second statement posts a notice on the status bar, which is at the bottom of the main window. <div style="text-align: center;">[[File:PlanoTse Sample Startup Script.jpg]]</div> {{message box|image=Oxygen480-apps-knotes.svg|backgroundcolor=Azure |heading=Important Concept|message=In PlanoTse, Search Editor is where the web search takes place.}} {{PlanoTse Handbook for Job Search Automation/shortestroute}} {{Navigate|Next=Introducing Automation Wizard|Prev=Data Holders}} All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://en.wikibooks.org/w/index.php?diff=prev&oldid=4059459.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|