简体   繁体   English

在 Mac 上使用 AppleScript 重置 Excel 状态栏

[英]Reset Excel StatusBar with AppleScript on Mac

I can't reset the Excel StatusBar from AppleScript (Excel for Mac 2011 on Mavericks).我无法从 AppleScript(Excel for Mac 2011 on Mavericks)重置 Excel 状态栏。

Setting a value works:设置值有效:

tell application "Microsoft Excel"
    set status bar to "Test"
end tell

But resetting it writes false instead of Ready into the StatusBar:但是重置它会将false而不是Ready写入状态栏:

tell application "Microsoft Excel"
    set status bar to false
end tell

Is this a bug?这是一个错误吗?

I think you're just trying to remove your text?我想你只是想删除你的文字? If so, you should be able to just do this..如果是这样,你应该能够做到这一点..

tell application "Microsoft Excel"
    set status bar to ""
end tell

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM