0
我想通過代碼創建一組字段。如何向組添加字段?
create group
set the name of it to "myGroup"
create field
set the name of it to "myField"
set the top of field "myField" to 10
set the width of field "myField" to 100
set the left of field "myField" to 20
-- add myField to myGroup
-- ??
set the backgroundBehavior of group "myGroup" to true
問題
- 如何添加字段 「MyField的」 之類的 「爲myGroup」?
- 如何將該羣組添加到當前卡?
- 如何測試卡片是否包含組「myGroup」?