Malte Brill wrote:

>Hi Bob,

you need to use newTool in a frontscript, as it is trapped (and not
passed) by the IDE. Try the following:

Create a button "myButton"

script:

on NewTool
   beep
   pass newTool
end newTool

then in the messagebox:

insert the script of button "myButton" into front

Hope that helps,

Malte

--------------------------------------------------------------
--Stack script:
on openStack
  insert the script of button "myButton" into front
end openStack

--Button script:
on newTool toolName
   if toolName is "Browse" then beep
   pass newTool
end newTool

Thanks very much indeed Malt, worked like a charm!
(also the variations above)

Best,
Bob

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to