When you create a bot in Studio Pro, you start with a project. In a logical sense, the project contains all the files that can be compiled into an executable bot. Those files can include workflow, images, data files, and so on. By default, your project also has a configuration file that contains platform settings (browser settings, etc.) and user defined settings (variables, etc.).
In order to create a new project (bot) you need to click on the "Create project" button as shown below:
After you have clicked on the button, a window will appear with the following parameters:
Name: the name of your project, you can choose any name.
Location: the location of the new project on your computer.
Main file name: the name of your main file in the .neek format.
In order to open the existed project, you need to click on the "Open project" button as shown below:
After you have clicked on the button, you should specify your project folder on your computer and click the "Select folder" button as follows:
After all these steps, the workflow for your bot appears.
Note that double-clicking on the main.neek file (the name of this file is set when the project is created) will not open the project, but the workflow contained in this file.
There is a special mode in Studio Pro, which you can see on the start screen:
This mode can help you when you would like to quickly check the functionality of all activites or even implement a bot. Also, you can save your bot to a single .neek file. However, you cannot use the configuration file, convert to your bot to the .neex format, and upload it to Orchestrator SaaS.
Configuring Project Structure
Project structure tree
In Studio Pro, your project is organized in a hierarchy of subfolders — project tree. The highest folder of your project is the project folder itself. By default, the tree structure is subdivided into eight parts:
elements— this subfolder contains activities that interact with desktop elements.
execute_js_code_scripts— this subfolder contains the JS scripts used by your bot.
screenshots— this subfolder contains activities that interact with images (Click on image, Find image, etc.).
logs— this subfolder contains logs. You can learn more about logs in this article.
termelements— this subfolder contains activities that interact with terminal elements.
webelements— this subfolder contains activities that interact with web-elements.
main.neek— this executable file is the entry point of the bot, you can choose it yourself.
project.json— this is a project configuration file.
The following figure illustrates how the project tree and workflow may look like:
It is important to note that you can add folders, .neek files and rename .neek files (all corresponding links to this file are automatically updated) using the context menu if you right click in the PROJECT area as shown below:
Furthermore, any files are available in the project if they have been moved to the project folder. For this reason, you can move files/folders within the project using drag-and-drop as follows:
Note that renaming .neek files in Windows File Explorer is not allowed. Doing so can cause the project to malfunction in Studio Pro.
Project configuration file (config)
A project configuration file in Studio Pro is a file used to configure the parameters and settings for your bot. This file can be edited through Studio Pro / Bot Runner looks and its structure is shown below: