Enhancements in your opinion? [newTool]
Bob Warren
bobwarren at howsoft.com
Tue May 9 11:27:03 EDT 2006
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
More information about the use-livecode
mailing list