我如何可以以编程方式添加到任务控制中心的空间? [英] How can I programmatically add a space to mission control?

查看:184
本文介绍了我如何可以以编程方式添加到任务控制中心的空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个新的空间(也可以稍后将其删除),而不必经过标准MISSON控制GUI。有没有什么方法以编程方式做到这一点?或者通过终端命令,AppleScript的或者一些可可?

I want to create a new space (and also be able to delete it later), without having to go through the standard misson control gui. Is there any way to do this programmatically? Either via terminal commands, applescript or some cocoa?

推荐答案

有是在用户/库/ $ P $ preference的plist pferences路径命名为com.apple.spaces.plist。

There is on preference plist in User/library/preferences path named as com.apple.spaces.plist.

有您需要添加两个键。

打开plist中,我希望你会了解它。

Open the plist and I hope you will get to know it.

这篇关于我如何可以以编程方式添加到任务控制中心的空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆