メインコンテンツまでスキップ
バージョン:25.2

start using

  • command
  • The start using command makes all the handlers of a script or object available to be called directly from any executing script. This command provides a convenient way to insert an object into the backScripts global property. Objects in the backScripts are part of the message-passing path that receive messages after the target object.
         insert the script of object "another" into back
insert "yetAnother" into front
remove object "another" from back
start using object "myLibrary.st"
stop using "myLibrary"


  •     The start using and stop using commands are equivalent to the insert ... into back and remove ... from back commands.  Objects added to the backScripts make all of their handlers available to be called if the current object doesn't implement the handler being called.  Handlers of objects in the frontScripts receive messages before the current object, so will override any handler with the same name.
  • Related: stop using, backScripts