我在一个名为“loader”的堆栈中有一个脚本,我想在另一个名为“theData”的堆栈中创建一张新卡。如果我只是使用create card
在堆栈“加载器”中创建的卡。如何指定在堆栈“theStackName”中创建新卡?
就像是
on mouseUp
put field "theStackName" into tStack
create stack tStack with background "BGdata"
-- the background "BGdata" which has been defined before
-- contains a field "data"
set the defaultStack to tStack
put "something" into field "data"
create card
put "somethingElse" into field "data"
end mouseUp