So you could make a checkbox button and try:
Code: Select all
-- Panos' method
on mouseUp
if not the hilite of me then
dispatch "revunloadlibrary" to stack tsnetliburl
else
dispatch "revloadlibrary" to stack tsnetliburl
end if
end mouseUp
- Close the "Sample Stacks" window, DISABLE tsNet, open the "Sample Stacks" window and it will work,
- Close the "Sample Stacks" window, ENABLE tsNet, open the "Sample Stacks" window and it will NOT work.