使用Apple Script调整Dialogue Box的大小

时间:2013-09-24 20:44:57

标签: text size applescript automator adjustment

所以我一直在使用Automator,内置的动作非常有限,所以我试图使用AppleScript,但我不知道如何调整对话框的大小以显示我的所有文本。

我查了一下,却找不到如何调整对话框的参数

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:2)

没有尺寸调整。

您遇到的问题是您正在让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