EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

gentee_getid

Get the object's identifier by its name.

uint CDECLCALL gentee_getid (
   pubyte name,
   uint count,
     ...
)

Parameters

name The name of the object. If you want to find a method then use '@' at the beginning of the name. For example, "@mymethod". If you want to find an operator then use '#' at the beginning of the name. For example, "#+=".
count The count of the following parameters. If you want to find any object with the defined name then specify the following flag.
GID_ANYOBJFind any object
... Specify the sequence of the type's identifiers of the parameters. If the parameter of the function has "of" subtype then specify it in the HIWORD of the value.

Return value

Returns object’s identifier or 0, if the object was not found.

Related links

Source