sheet stack (to card x)
Scott Morrow
scott at elementarysoftware.com
Wed Dec 14 03:53:40 EST 2005
Hello folks,
I'm looking to open a stack as a sheet but I need to make sure
it opens to a specific card. Because it needs to stop script
execution I'm doing the following:
go inv cd pCdNum of stack pSheetStack as modal -- stop the script
while we go to this cd
close stack pSheetStack -- now we are on the correct card
show stack pSheetStack -- make sure we can see it
sheet stack pSheetStack in stack pParentStack -- finally open it as
a sheet
It seems like there might be a simpler way, like:
sheet cd pCdNum of stack pSheetStack in stack pParentStack
or
go cd pCdNum of stack pSheetStack as sheet in stack pParentStack
... but I haven't discovered it. Anyone know of a better way?
-Scott Morrow
Elementary Software
(Now with 20% less chalk dust !)
web http://elementarysoftware.com/
email scott at elementarysoftware.com
-----------------------------------------------------------------
More information about the use-livecode
mailing list