User Tools

Site Tools


Sidebar

en:xhegeneral-settings

Program setting

All program settings are set using the settings dialog. You can open this dialog via the menu Tools→Settings.

menu_service_xhe_en.jpg

Or use the F9 hotkey.

The Settings dialog consists of several tabs that you can use to configure different groups of settings. You will find a detailed description of each tab below. And also from the following buttons:

  • The Save to file button saves all selected settings from the dialog to a file with the INI extension.
  • The Load from file button loads all settings from the INI file to the settings dialog.
  • The Set Default button sets all settings values on all tabs in the settings dialog to default values.
  • Button OK. When you click this button, all the program settings selected in the dialog are saved.
  • Button Cancel. Close the settings dialog without saving all changes.

General

settings_main_xhe_en.jpg

Tab General contains the following settings:

  • Port - the Port on which the program is running. The default is 7010. The value can be any free port on the computer/server.
  • Password - Password for connecting to the program. The default value is empty.
  • Field PHP folder contains the path to the PHP folder that the program uses to execute scripts written in Php.
  • The My scripts field contains the path to the scripts folder that is displayed in the script tree My Scripts in the left panel Quick start.
  • Home page field for entering the page that will open when the program starts. Default value webemulator.blogspot.com.
  • Title - field for entering the value of the program window title text. When entering, you can use so-called pseudo-strings, instead of which the current values will be substituted in the header:
    • %%PORT%% - the port on which the program is running,
    • %%VER%% - program version numbers,
    • %%UNICODE%% - unicode or non-unicode version of the program
  • Check box Reset active browser by end of script is responsible for returning the focus to the built-in browser tab by default, if the script was stopped manually. If the check box is disabled, the last used browser tab remains active.
  • Check box Hide to tray at start launches the program in the tray, without interfering with the user to do other things. It is useful for complex scripts of the multithreaded version of the program, where periodic restarts are required.
  • The Minimize to tray check box is also useful for the multithreaded version of the program, so that the taskbar is not cluttered with many identical tabs.
  • Check box Notify by script Output works only for minimized copies of the program in the taskbar. When notifications are enabled, if the program finishes working, comes across a dialog that requires the user's participation, and so on, the program bar in the taskbar starts flashing, attracting the user's attention.
  • The check box Notify New Version as startup is responsible for checking the version of the current program and the one located on the developer server. If there is a discrepancy, you will be prompted to download the latest version. Of course, if there is no need in this case, you can uncheck the box.
  • The check box Reset proxy settings by end of script is responsible for returning the proxy settings AND the program to the original settings if the script was stopped. Enabled by default. If you disable the set program proxy settings may remain and cause a few minutes of bewilderment, like, “Hey, what about my Internet?”
  • The check box Load last opened page at start when you select this option, the program start will open the last open at the time of program exit page.
  • Check box Ask about port change responsible for the appearance of dialogs that prompt the user to change the port number. For example, if there are differences between the port in the script and in the program settings.
  • Check box Ask about script reload in external editor responsible for the appearance of dialogs that prompt the user to reload the script into the program. This usually happens if the script file opened in the program has been modified in some way outside of it.
  • The check box Ask about next port listen is responsible for the appearance of dialogs that prompt the user to transfer the program to work with the next port. This usually happens when the current port is occupied by some other application or another running copy of XHE.
  • Check box Icon Tray displays the program icon in the system tray even if the Minimize to Tray checkbox is not activated.
  • Check box Ask about restarting XHE after leaks displays a dialog box with a question about restarting the program due to lack of RAM for its operation.
  • Check box Ask about restart XHE and script after memory leaks displays a dialog box with a question about restarting the program along with the script being executed due to lack of RAM for its operation.
  • Check box Ask about close XHE after memory leaks displays a dialog box with a question about closing the program due to lack of RAM for its operation.
  • The Set All default button sets all the tab values by default.

Browser

settings_browser_xhe_en.jpg

The Browser tab is used to set the settings of the built-in browser.

  • Check box Enable Images responsible for displaying in the internal browser of images.
  • Check box Enable Java script is responsible for the use of the built-in browser Java script.
  • Check box Enable ActiveX responsible for using in the embedded browser ActiveX control.
  • Check box Enable Video is responsible for uploading and playing videos in the built-in browser.
  • Check box Enable Sounds is responsible for playing any audio files in the built-in browser.
  • Check Box Enable Java responsible for using any Java elements in the built-in browser (Not to be confused with Javascript).
  • Check Box Enable Frames responsible for loading and running the built-in browser with frames and their elements.
  • Check box Enable PopUp is responsible for loading and running the built-in browser with pop-up Windows. If enabled, a popup window will open in a new tab.
  • Check box Switch on quite regime turns off sounds and videos, ignores script errors and popups. In General, it makes the program run quietly and regardless of anything.
  • Check box Enable cache allows the program to store cache files received during operation. In case of shutdown, the cache is completely cleared when the program is restarted.
  • Check box Enable DOM storage allows the program to use DOM storage to store information obtained during operation.
  • Check box Enable Common cache and cookies. When this check box is selected, all copies of XHE use shared cache and cookie folders.
  • Check box Disable script error messages disables site script messages about any problems. This is very useful, since such messages often block the ability to work with the site before clicking OK.
  • Check box Disable Download File dialog prevents the appearance of standard dialogs that suggest downloading files. There are corresponding functions for automating loading, where dialogs are not required.
  • Check box Disable Browser Message Boxes prevents Windows from appearing from the category Page uses partial encryption or Data you Send may be available to other users.
  • Check box Disable Security Problems Message Boxes disable the occurrence of Windows like Page Certificate is outdated
  • Check box Enable WebSocket. The WebSocket Protocol (“web socket”), described in the RFC 6455 specification, provides the ability to exchange data between the browser and the server over a persistent connection. Data is transmitted over it in both directions in the form of “packets”, without breaking the connection and additional HTTP requests.
  • Check box Enable Callback
  • Check box Enable View JSON enables/disables the mode that allows viewing JSON in the browser.
  • Check box Enable DirectX for image enables/disables the mode in which DirectX will be used for drawing images (requires a restart of the program to apply)
  • Check box Enable GPU rendering enables / disables the mode in which the GPU will be used for page rendering (requires program restart to apply)
  • In list box Browser Model, you can select the version of IE for which pages will be generated in the built-in browser.
  • In field Current proxy (not save by exit) you can check and/or change the current proxy that the internal browser uses. When you close the program, this setting is reset automatically.
  • In field Set Default User-Agent string , you can set the User-Agent parameters that the built-in browser will send to all visited sites.
  • Button Copy as PHP code uploads all settings made as PHP code to the clipboard. When calling the script with this code, all tab settings Browser they will return to their current appearance, regardless of what they were before.
  • The Set All Default button sets all the tab values by default.

Macros

settings_macros_xhe_en.jpg

Tab of the settings dialog Macros contains settings for working with tool the Macros. The principle of operation of the Macros is the same for all versions of the program.

The tab contains the following settings:

  • Check box Add set focus to click enables/disables the program mode, in which when recording actions in the Macros, the focus command will be added to the click action, which sets the focus on the element before clicking on it.
  • Check box Add mouse move to click enables/disables the program mode, in which when recording actions in the Macros, the send_mouse_move command will be added to the click action, which executes the event moving the mouse cursor to the element before clicking on it.
  • Check box Add wait to click enables/disables the program mode, in which when recording actions in the Macros, the sleep(1) command will be added to the click action, which pauses for one second after the click on the element is performed. *
  • Check box Full mouse emulation enables/disables the program mode in which the real mouse cursor will be used when recording actions in the Macros.
  • Check box Full keyboard emulation enables/disables the program mode in which the real keyboard is used when recording actions in the Macros.
  • The Mouse move time field is used to set the mouse movement time between clicks in seconds.
  • The Mouse move tremble field is used to set the mouse cursor to vibrate as it moves in pixels.
  • The field Timeout record of macross commandes is used to set pauses when recording macro commands in milliseconds.
  • Group of check boxes Catch Events enables/disables program modes in which events from Mouse, Keyboard are recorded when recording actions in the Macros and events of a Element Click according to the selected checkboxes.
  • Group of selection buttons Create functions enables/disables the program mode, in which when recording actions in the Macros, the priority parameter is set, through which the program works with the selected element. Depending on the selected button, these are By Element ID, By Element Name, By Element Attribute, By Element Inner Text or By Element Inner Html, and By Element number. If an element does not have a selected parameter, the program searches for the first available parameter that can be used to define the element. In other words, the option is triggered automatically as if you select Auto.
  • Check box Create new script enables/disables the program mode, in which when you start recording actions using a Macros, you will create a new script. If the check box is disabled, the commands written by the Macro will be added to the currently open script.
  • The Set All Default button sets all the tab values by default.

Editor

settings_editor_xhe_en.jpg

Tab of the settings dialog Editor is used for configuration Script editor.

The tab contains the following settings:

  • Selection field Select style for edit contains a list of style operators that can be edited using the color selection buttons Foreground, Background and Editor Background, as well as using the Font… selection button.
  • Use the Set Keywords button to add any words to the list of operators. After adding these words, they will be highlighted in the script as operators.
  • Check box Show Line Number enables/disables the mode in which the program displays line numbering in the script Editor panel.
  • Check box Show Regions enables/disables the mode in which the program displays a panel for collapsing whole chunks of code, such as the body of statements or functions.
  • Check box Show Identation Guides responsible for displaying margins with special characters. It is disabled by default, since it is often easier to determine margins and their number “by eye”.
  • Check box Show End of Lines is responsible for displaying the line endings of the script with a special character. Disabled by default.
  • Check box Show Whitespace more clearly shows the spaces in the code. Because of the inconspicuous extra space, sometimes you have to Tinker with debugging the script. Enabling this checkbox will completely exclude such situations.
  • If you disable the check box Reload external changed files, the changes in these files will be ignored. When the check box is enabled, the program displays a dialog with a warning and options.
  • The Use UTF-8 encoding checkbox determines the script encoding. By default, ANSI is used, but you can change this if necessary.
  • The Save Script Before Run checkbox is enabled by default and does exactly what is specified in the description. Once disabled, running scripts do not change the original in any way, if any edits were made to them.
  • The Set All default button sets all the tab values by default.

Logs

settings_logs_xhe_en.jpg

Tab of the settings dialog Logs is used to configure the logs of the program.

The tab contains the following settings:

  • Check box Enable Online Help is responsible for navigating to the help page if you right-click on the example tree. If disabled, the transition is not performed.
  • Check box Autoscroll Output Panes enables / disables the program's operation mode, which automatically scrolls the output of logs in the bottom Debug panels.
  • The Enable RAW log checkbox is responsible for intercepting and displaying all data exchange between the server and the browser in the RAW log window. It is recommended to use with caution, as this is an extremely resource-intensive process. Disabled by default.
  • Check box Show server answer and Show browser answer responsible for displaying the RAW log of certain responses in the window. If, for example, you only need to catch server responses, there is no need to display browser responses.
  • Check box Reserve Logs at StartUp is responsible for creating new log files every time the program starts. The old ones are renamed and remain nearby, while the new ones are created empty.
  • Check box Show Tips on StartUp is responsible for the appearance of the window with the tip of the day when the program starts. However, the councils themselves are not there yet. I have a bright future ahead of me.
  • Check box Show Promotions and Discounts responsible for the appearance of a window at the start of the program that informs the user about current promotions and discounts related to the Human Emulator program.
  • Check box Enable command log responsible for keeping the program log of received commands (with parameters) and the results of their execution. The log file is saved in a folder with the name of the port on which the program was running. This folder itself is located in the root directory of the program. In case of any problems with the program, the easiest way to find the cause is to use the logs.
  • Check box Enable log is responsible for keeping a log of events occurring with the program, memory consumed, and resources used. The log file is saved in a folder with the name of the port on which the program was running. This folder itself is located in the root directory of the program.
  • Check box Enable Scheduler Log responsible for keeping the program log of scripts running through the task schedule, the time of their execution and the result.
  • Check box Clear … Log on StartUp are responsible for this. Old logs are deleted, new and empty logs are created. If the logs are kept constantly, they can grow to a very serious state. These settings will keep them in shape.
  • In the Code page of Debug Window , you can enter the encoding through which all text displayed in the debug window will be passed. It is very useful when working, for example, with Chinese sites.
  • In the Clear Debug Window after (chars) , you can enter the maximum number of characters that the program will display (and therefore keep in memory) in the debug window. Although this is a tiny loss of performance, with continuous operation and spam in debugging, the process can slow down considerably.
  • The Set All default button sets all the tab values by default.
en/xhegeneral-settings.txt · Last modified: 2020/09/15 07:59 (external edit)