From Stealth Client

Jump to: navigation, search


procedure SetEasyUO(num: Integer; Regvalue : String)

Creates\changes Windows registry variable in a partition: HKEY_CURRENT_USER\Software\EasyUO. Such variable can be accessed (read\write) from the EasyUO scripts, which creates a sort of compatibility between Stealth and EasyUO.

Python example:

SetEasyUO(56, "Kill them all!")

creates *56 variable in a registry with the value "Kill them all!".

Can be accessed from EasyUO:

display This is your text: *56
set %myvar *56
display This is your text: %myvar

Note! SetEasyUO num parameter can only be an integer, while EasyUO can work with text variables as well: *database, *alert, *any_other_text. Such text variables can not be accesed from the Stealth scripts.

Use Doc:RU/Api/GetEasyUO to read *-value from the system registry.