如何将界面生成器中的textField连接到xcode 3.2中的applescript代码?
我在 Xcode 3.2 中使用 applescript 。
谢谢
汤姆
答案 0 :(得分:1)
你的意思是在applescript中创建一个文本字段框?如果是,请复制此
set answer to text returned of (display dialog "Enter the Secret Code:" with title "TextField" default answer "" buttons {"Cancel", "Enter"} default button 2 with hidden answer)