0

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

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

在此处输入图像描述

在此处输入图像描述

4

1 回答 1

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
于 2013-09-24T22:33:17.717 回答