rgoldstone@OAVAX.CSUCHICO.EDU (Robin Goldstone) (12/05/90)
I need a button script (HC 2.0) that opens a stack, but with two criteria: 1) open it in a new window 2) position the newly opened stack in a specific place on the screen Normally to open a stack, I would do a simple: doMenu "Open Stack". But how do I get my script to do the equivalent of clicking in that little box that says "open stack in new window"? As far as positioning the stack in a specific place, is there a way to say "open stack at loc xx,yy" or do I need to open the stack first then "set the loc of card window to xx,yy"? Thanks in advance for any help... (My HyperTalk 2.0 book is on backorder!) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Robin Goldstone, Cal State University, Chico Computing Services | | rgoldstone@oavax.csuchico.edu | | ------ | | "All my life I said I wanted to be something... I can see now that I | | should have been more specific." -- Lilly Tomlin | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
jdevoto@Apple.COM (Jeanne A. E. DeVoto) (12/06/90)
In article <00940B2E.F35AEA80@OAVAX.CSUCHICO.EDU> rgoldstone@OAVAX.CSUCHICO.EDU (Robin Goldstone) writes: >I need a button script (HC 2.0) that opens a stack, but with two criteria: >1) open it in a new window >2) position the newly opened stack in a specific place on the screen This will work: on mouseUp lock screen go to stack "foo" in new window set the loc of window "foo" to "200,400" -- or set whatever properties unlock screen end mouseUp -- ========= 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. |