question about saveStackRequest

2007-08-25 Thread Andre Garzia
Hello Folks, I am trying to monitor when the IDE saves a stack. I tried using saveStackRequest on a backscript and on a frontscript, both without success. I can't put the handler inside the given stacks because I don't know in advance which stack will be monitored. The idea is to watch when a

Re: question about saveStackRequest

2007-08-25 Thread Eric Chatonet
Hi ANdre, You might try to trap 'revSaveStackRequest', a message listed among the ones a plugin can receive. Sounds a good direction to go :-) Le 25 août 07 à 17:31, Andre Garzia a écrit : Hello Folks, I am trying to monitor when the IDE saves a stack. I tried using saveStackRequest on a

Re: question about saveStackRequest

2007-08-25 Thread Richard Gaskin
Eric Chatonet wrote: Le 25 août 07 à 17:31, Andre Garzia a écrit: I am trying to monitor when the IDE saves a stack. I tried using saveStackRequest on a backscript and on a frontscript, both without success. ... In my tests here, my scripts running as a front or back script can't see that

Re: question about saveStackRequest

2007-08-25 Thread J. Landman Gay
Andre Garzia wrote: In my tests here, my scripts running as a front or back script can't see that event. I believe that the IDE is sending that directly to the stack without going thru the message path, is this possible? The docs say that when the user chooses to save, Rev locks messages to

Re: question about saveStackRequest

2007-08-25 Thread J. Landman Gay
Richard Gaskin wrote: if not gREVSuppressMessages or (gREVSuppressMessages and revOKTarget()) then pass saveStackRequest else pass saveStackRequest to metaCard end saveStackRequest So it seems the passing of the native message is conditional. I didn't dig through the code to try to