Intercepting new card

2008-07-02 Thread Mikey
Hmm. Well, back in HC, if I wanted to intercept a new card being created, I had an on doMenu handler. When I put in an on menuPick handler in RR and hit ctrl-n, my handler doesn't get hit, and a new card is created. So if this handler should not go in the current stack where should I put it?

Re: Intercepting new card

2008-07-02 Thread Chris Sheffield
Unless I'm misunderstanding, I believe you want the newCard message, placed in your stack script. On Jul 2, 2008, at 8:12 AM, Mikey wrote: Hmm. Well, back in HC, if I wanted to intercept a new card being created, I had an on doMenu handler. When I put in an on menuPick handler in RR and

Re: Intercepting new card

2008-07-02 Thread Mikey
Chris, Thanks for that, but for curiosity sake, what is necessary to intercept the menuPick, or is this one of those cases where you can't because RR is directly executing a RR command? -- Diogenes - What I like to drink most is wine that belongs to others.

Re: Intercepting new card

2008-07-02 Thread Chris Sheffield
If I'm not mistaken, you could certainly do it with a front script. Just be sure to pass it, or none of the menus in the IDE will work. So put a menuPick handler in a button or some other object, then insert the script of object into front. On Jul 2, 2008, at 8:35 AM, Mikey wrote: Chris,

Re: Intercepting new card

2008-07-02 Thread Mikey
as it turns out, it appears that intercepting newCard isn't what I wanted, either, since I don't get the message until after the card is created. I want to do some work ahead of time. -- Bob Hope - Middle age is when your age starts to show around your middle.

Re: Intercepting new card

2008-07-02 Thread J. Landman Gay
Mikey wrote: Hmm. Well, back in HC, if I wanted to intercept a new card being created, I had an on doMenu handler. When I put in an on menuPick handler in RR and hit ctrl-n, my handler doesn't get hit, and a new card is created. So if this handler should not go in the current stack where

Re: Intercepting new card

2008-07-02 Thread Mikey
Originally my menuPick handler was in the stack script, but as I found out, that didn't work so I inserted the stub into the frontScripts to call the custom handler in the stack. The problem with that was that when the custom handler fired it was trying to act on revMenubar, so I had to set the