【发布时间】:2013-09-30 06:20:37
【问题描述】:
所以我一直在使用 Automator 并且内置操作非常有限,所以我尝试使用 AppleScript,但我不知道如何调整对话框的大小以显示我的所有文本。
我查了一下,没有找到如何调整对话框的参数
【问题讨论】:
标签: text size applescript automator adjustment
所以我一直在使用 Automator 并且内置操作非常有限,所以我尝试使用 AppleScript,但我不知道如何调整对话框的大小以显示我的所有文本。
我查了一下,没有找到如何调整对话框的参数
【问题讨论】:
标签: text size applescript automator adjustment
没有大小调整。
您遇到的问题是您让 Automator 显示对话框。
Automator 只能以固定的大小显示它。
但其他应用程序的对话窗口大小值不同。
例如“系统事件”。
因此您可以要求“系统事件”在“运行 Applescript”操作中为您显示对话框。
tell application "System Events"
display dialog "So I have been using Automator and the built in actions are pretty limited so I am trying to use AppleScript but I don't know how to resize the dialogue box to display all of my text .
I looked it up but couldn't find how to adjust the parameters for the dialogue box
So I have been using Automator and the built in actions are pretty limited so I am trying to use AppleScript but I don't know how to resize the dialogue box to display all of my text .
I looked it up but couldn't find how to adjust the parameters for the dialogue box
So I have been using Automator and the built in actions are pretty limited so I am trying to use AppleScript but I don't know how to resize the dialogue box to display all of my text .
I looked it up but couldn't find how to adjust the parameters for the dialogue box" buttons {"Proceed"} default button 1
end tell
【讨论】: