Print W
Signatures
Description
Synchronously queues a converted text to be displayed in a system window in the top-left corner of the screen for a given duration.
The flow of execution is paused until the function finishes, which can cause delays if the function takes a long time.
Returns whether the operation was successful (true
) or not (false
).
If a window is open and the new message does not fit within it, the window will be closed and reopened.
Arguments
Text
The converted text that will be displayed.
Duration
The duration, in milliseconds, for which the text will be displayed.
If set to 0
or omitted (same as 0
), the message will display for 2 seconds but will be removed early if another message is added to the queue.
Force Close
If set to true
, forces the window to close and reopen even if the text fits within the window and reopening is unnecessary.
Notes
Last updated