Invokes a specific (WOI) method for all objects in the current workspace that use the specified connection.
WARNING: Improper use of WOI could lead to general instability or malfunction of RDE itself and at the same time cause loss of data, files, or important information. Use WOI only if you are extremely sure of what you are doing.
Syntax |
invokeObjMethodForLink(string linkName, string method, string params=""): int |
---|---|
linkName |
Name of the desired connection. |
method |
Method to invoke |
params |
Optional parameters for the method |
Result |
Returns number of objects for which the method was successfully invoked |
If you intend to invoke the method for all objects that share the current shell connection, use the linkName() function to determine the name to be used in the invocation request.
Annotation:
•The current shell is not considered among the invocable objects, as invocation would cancel the invocation operation itself.