Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!jdevoto From: jdevoto@Apple.COM (Jeanne A. E. DeVoto) Newsgroups: comp.sys.mac.hypercard Subject: Re: Setting card size via HyperTalk Summary: the rect of this card Keywords: card size Message-ID: <48917@apple.Apple.COM> Date: 7 Feb 91 04:19:20 GMT References: <296@farcomp.UUCP> Organization: Apple Computer Inc., Cupertino, CA Lines: 25 In article <296@farcomp.UUCP> dano@farcomp.UUCP (Dan Callaway) writes: >Is there a way to set the size of a card via HyperTalk? This is the only >HyperCard 2.0 feature that I can't seem to control with a script. I can >make the card size larger in the "Stack info" dialog only. The syntax to change the size of the cards in the current stack (same as the "Resize" button in Stack Info) is set the rect of [card] to [rect] e.g. set the rect of this card to "0,0,342,512" If you just want to change the window size (without losing ornaments and paint from outside the new rectangle), you'll use set the rect of card window to [rect] -- ========= jeanne a. e. devoto ======================================== jdevoto@apple.com | You may not distribute this article under a jdevoto@well.sf.ca.us | compilation copyright without my permission. ______________________________________________________________________ Apple Computer and I are not authorized | CI$: 72411,165 to speak for each other. |