|
When the target is set, it is opened into a hidden window (if it wasn't already open in a window).
You should always save the result of target.set in a local variable, so that you can restore the target when your script is finished with that object.
Every thread has its own target, so you do not need to protect the target with semaphores.
target.set (nil) is equivalent to target.clear ().
|