2 quick questions

Mark Schonewille m.schonewille at economy-x-talk.com
Wed Jun 16 09:42:55 EDT 2010


Peter,

I just tried this. It doesn't work.

put the name of the currentcard of stack "License Maker"
--> Message execution error:
--> Error description: Chunk: can't find card

"Current card" does, but "currentcard" doesn't. As far as I know  
current and this are interchangeable.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj
Download Clipboard Link http://clipboardlink.economy-x-talk.com and  
share the clipboard of your computer over the local network.

On 16 jun 2010, at 15:27, Peter Brigham MD wrote:

> A useful nugget -- if you need to get the current card of a stack  
> that is not the frontmost stack, use the undocumented term  
> "currentcard" (note lack of space character) -- as in:
> put the currentcard of stack "myStack" into cc
> which gets you something like:
> card id 1002
>
> "Currentcard" is equivalent to "this card" but works with any open  
> stack, returning the id of the card that is currently showing in  
> that stack. In your case this is unnecessary, as you are apparently  
> needing to deal only with the one stack, so "this card" will do fine.
>
> -- Peter
>
> Peter M. Brigham
> pmbrig at gmail.com
> http://home.comcast.net/~pmbrig
>




More information about the use-livecode mailing list