code: def post_parent_message(message: str) -> None:
      """
      Sends a string message to the parent window (when host configuration allows).
      """
      ctx = get_script_run_ctx()
      if ctx is None:
          return
  
      fwd_msg = ForwardMsg()
      fwd_msg.parent_message.message = message
      ctx.enqueue(fwd_msg)
  
label_desc: Use image node_id 1 for calling a global function with example usage: post_parent_message(message) without return types