AppleScript的:使用全屏狮 [英] AppleScript: Use Lion Fullscreen

查看:140
本文介绍了AppleScript的:使用全屏狮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有似乎并没有被苹果官方文档在这方面的消息。如何使一个应用程序通过使用的AppleScript狮子的新的全屏功能?

There doesn't seem to be any information on this in the official Apple documentation. How do you make an application use Lion's new fullscreen feature via AppleScript?

推荐答案

如果您希望此提示之间全屏和普通模式使用切换

if you want to toggle between fullscreen and normal mode use this hint

tell application "iTunes"
    activate
    tell application "System Events" to tell window "iTunes" 
                                          of application process "iTunes"
        click (every button whose description contains "full screen")
    end tell
end tell

这篇关于AppleScript的:使用全屏狮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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