The function must be called from a script and then the code must wait for the return value becoming invalid, e.g.
...
[
WaitObj;
]
...
Init [
{ When triggered display the logon dialog }
If Trigger Wait;
[
WaitObj = SecurityManager\UserLogonDialog(Invalid, Invalid, TRUE, FALSE);
]
]
Wait [
If !Valid(WaitObj);
[
{ Do Something }
]
]
The function must be called from a script and then the code must wait for the return value becoming invalid, e.g.
````
...
[
WaitObj;
]
...
Init [
{ When triggered display the logon dialog }
If Trigger Wait;
[
WaitObj = SecurityManager\UserLogonDialog(Invalid, Invalid, TRUE, FALSE);
]
]
Wait [
If !Valid(WaitObj);
[
{ Do Something }
]
]
````
Software Developer with Trihedral