smelly@polari.UUCP (Tom Benedict) (11/29/90)
Is there any way to get the 'Open stack in new window' checkbox in the 'Open stack..." dialog to default to true? The only way I have figured is to hold the shiftKey down when choosing the "open stack..." menu item. I've tried scripting to trap domenu then sending it to HyperCard with the shiftKey as a modifier, but that doesn't work. I wish the default had been st to true in the beginning. I ALWAYS want a stack to be openned in a new window!! Just like any Mac application. If I want to close a window I'll close it! And while I'm asking questions.... Why can't I cycle through Paint Text size from the keyboard like I could under HC21.2x? I really liked useing command> and < to increase or decrease paint text. It works for fields but not text paint. Any help will be appreciated. Tom Bnedict
gb2a+@andrew.cmu.edu (George J. Baxter) (11/29/90)
I think that this is a bit of a cheat. I figure there has to be a better way, but this works.. try this: on doMenu what if what is "Open Stack..." then go to stack "the stack you want" in new window end if end doMenu This will pop up a dialog box with the question: "Where is the stack you want?" as long as you don't actually have a stack called "the stack you want"! -gjb ----------------------- gb2a@andrew.cmu.edu baxter@a.cfr.cmu.edu baxter@imga.cfr.cmu.edu q100gb2a@vb.cc.cmu.edu "Only a Hawaiian can say Humuhumunukunukuapuaa five times fast, correctly."
francis@math.uchicago.edu (Francis Stracke) (12/02/90)
In article <2804@polari.UUCP> smelly@polari.UUCP (Tom Benedict) writes: >Is there any way to get the 'Open stack in new window' checkbox in the >'Open stack..." dialog to default to true? The only way I have figured >I wish the default had been st to true in the beginning. I ALWAYS want a stack >to be openned in a new window!! Just like any Mac application. If I want to >close a window I'll close it! Hear hear! Seems kind of strange to have an Apple product breaking the human interface we're accustomed to. | Francis Stracke | My opinions are my own. I don't steal them.| | Department of Mathematics |=============================================| | University of Chicago | Until you stalk and overrun, | | francis@zaphod.uchicago.edu | you can't devour anyone. -- Hobbes |
smelly@polari.UUCP (Tom Benedict) (12/02/90)
Thanks for the response. I agree ithat you'r method is cheating. I cheat in a little nicer way. I've added a menu item above the "Open Stack..." in the File menu called "Open in New Window..." then aI call a answer file script. Still no checkbox in the SFGeet dialog, but I can live with it. Thanks again.
ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) (12/05/90)
The following command works from the message box: Type "o" with CmdKey,ShiftKey So you might try incorporating it into a script as follows (haven't tested this--it's just off the top of my head): On DoMenu What Global ReenterDoMenu If ReenterDoMenu is empty and What is "Open Stack..." then Put 1 into ReenterDoMenu Type "o" with CmdKey,ShiftKey Put empty into ReenterDoMenu Else Pass DoMenu End if End DoMenu Yes, it would be nice to have user-settable preferences for controlling defaults like this... Another trick that does work under MultiFinder is double-clicking on the stack you want to open, with HyperCard already running. If, after the double-click, you *immediately* hold down the shift key, the stack will open in a new window. Lawrence "We Do Windoids" D'Oliveiro fone: +64-71-562-889 Computer Services Dept fax: +64-71-384-066 University of Waikato electric mail: ldo@waikato.ac.nz Hamilton, New Zealand 37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00
clarson@ux.acs.umn.edu (Chaz Larson) (12/05/90)
This isn't meant as a flame, Lawrence, I'm just confused. In article <2435.275d3266@waikato.ac.nz> ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes: | | On DoMenu What | --> Global ReenterDoMenu | If ReenterDoMenu is empty and What is "Open Stack..." then | --> Put 1 into ReenterDoMenu | Type "o" with CmdKey,ShiftKey | --> Put empty into ReenterDoMenu | Else | Pass DoMenu | End if | End DoMenu Am I missing the extremely obvious? I don't understand why that global is necessary at all. Unless you're using it in other scripts for some other purpose, it will always be empty every time this script gets to the "if" statement. The "put 1 into..." and "put empty into..." lines which follow one another almost immediately seem especially odd. chaz -- Someone please release me from this trance. clarson@ux.acs.umn.edu AOL:Crowbone