Page 1 of 1

Removing the Tools palette

Posted: Sun May 16, 2010 11:52 pm
by exheusden
I have everything working in a fairly large stack, except that whenever I open the stack, it starts up with the Pointer tool selected and witht he Tools palette visible. I've now found the "set the tool to browser" command to select the correct tool, but how do I get rid of the pesky Tools palette (in a script, I mean, not by closing it manually)? The only thing I can come up with is "set the hidePalettes to true" but it doesn't work!

Re: Removing the Tools palette

Posted: Mon May 17, 2010 2:24 am
by Regulae
Hi there,

Code: Select all

hide stack "revtools"
... should do the trick.
You could use:

Code: Select all

on preOpenStack
   choose browse tool
   hide stack "revTools"
end preOpenStack
... in your stack script. I found the name of the tools palette by under "View" on the rev menubar, ticking "Revolution UI Elements In Lists", then under "Tools" opening the "Application Browser", scrolling down to find the name.
Regards,

Michael

Re: Removing the Tools palette

Posted: Mon May 17, 2010 9:18 am
by exheusden
Thanks for that, Michael. I'd never have found the correct name, I'm sure. I tried with "Tools" (the name shown at the top of the Palette) and that, of course, did not work.

Works a treat now!

Re: Removing the Tools palette

Posted: Tue May 18, 2010 1:49 am
by Regulae
Nice to hear things are working. It’s handy that the Rev environment is itself made up of Rev objects, so the Application Browser gives you access to them. Of course, this means it is possible to make changes that could disable Rev itself, so one must be careful. As I was unfamiliar with the name, I looked up Guardamar del Segura- it certainly is a beautiful part of the world.

Regards,

Michael