Why doesn't start using work?

Richard Gaskin ambassador at fourthworld.com
Thu Apr 10 16:54:15 EDT 2008


Mark Swindell wrote:
> Why does my "start Using Stack x" place its scripts behind the script  
> editor's scripts?  In this case, when I have a resumeStack handler, it  
> is triggered by opening up Rev's properties panel.  Is this the  
> expected behavior?  I thought these scripts were to run in front of  
> Rev, but behind my stack.  This seems like new behavior to me.

I'm not sure it's new, as it sounds reasonable enough.  Rev loads all of 
its stuff before it loads plugins, and scripts inserted into the back of 
the message path will be behind others already in the queue.

Perhaps the addition of a resumeStack handler is new to the Rev script 
editor?

To ensure that you trap the message you're after, you might consider a 
frontScript instead.

For background on these, this may be helpful:


Extending the Runtime Revolution Message Path:
An introduction to using Libraries, FrontScripts, and BackScripts
in Runtime Revolution's Transcript Programming Language

<http://www.fourthworld.com/embassy/articles/revolution_message_path.html>



-- 
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list