I have a script in a stack called "loader" and I want to create a new card in another stack called "theData". If I just use create card
the cards are created in the stack "loader". How do I specify that the new card is created in the stack "theStackName"?
Something like
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