From Xojo Documentation
Property (As Integer )
| This property is only available on the macOS platform.
For cross-platform compatibility, use ＃If...＃Endif with the Target... specifiers to make sure you will not attempt to use this property on an incompatible platform.
Timeout time in seconds.
Instead of the timeout time, you can pass either of these values:
-1 = use default
2 = no timeout