水银大号
你知道如何让 Quicksilver 在屏幕上显示大量的大字体吗? (通过点击 . 然后输入自由文本,选择“操作”下的“查看大字体”并按 Enter 键)。
好吧,有谁知道一种以编程方式做到这一点的方法吗? 另外,quicksilver 是必需的还是内置于 OS X 中? 我希望能够从 bash 触发它。
You know how you can make Quicksilver display massive large type on your screen? (By Hitting . then typing free text, select View Large Type under actions and hit Enter).
Well, does anyone know of a way to do that programmatically? Also, is quicksilver even required or is it built into OS X? I would love to be able to trigger that from bash.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您可以使用 Applescript 执行此操作,因此您可以使用 osascript 命令在 bash 中执行此操作:
我认为“大类型”以前在服务菜单中可用,但我在 Snow Leopard 中看不到它。 我可能是错的。 地址簿中也有类似的功能——右键单击电话号码。
You can do this with Applescript, so therefore you can so it in bash with the osascript command:
I think that "Large Type" was previously available in the services menu, but I don't see it in Snow Leopard. I might be wrong about that. A similar feature is found in Address Book -- right click on a telephone number.
这里没有特别的酱汁。 它会打开一个窗口,其中您输入的文本以大字体显示。 在 Cocoa 应用程序中复制效果很简单。
There's no special sauce here. It's putting up a window with the text you type displayed in a large font. Duplicating the effect in a Cocoa app is trivial.
如果您想知道他们到底是如何实现的,您可以在其源代码中查看全局方法 QSShowLargeType:
https://github.com/quicksilver/Quicksilver/blob/master/Quicksilver/Code-QuickStepInterface/QSLargeTypeDisplay.m
If you like to know how they exactly implemented it, you can look at the global method QSShowLargeType in their source here:
https://github.com/quicksilver/Quicksilver/blob/master/Quicksilver/Code-QuickStepInterface/QSLargeTypeDisplay.m
您可以使用 large-type.com 在浏览器中执行此操作:
You could do it inside your browser with large-type.com:
已确认在下一个版本(b56a7 之后)中修复。 最好留意下载区域:
http://code.google.com/p/blacktree-alchemy/downloads/列表
It is confirmed to be fixed in the next release (after b56a7). Better keep an eye on the download area:
http://code.google.com/p/blacktree-alchemy/downloads/list