假设您可以绕过沙盒,您可以使用AppleScript告诉系统事件告诉相关进程设置它 attribute "AXFullScreen" of window 1 to false 。
attribute "AXFullScreen" of window 1 to false