JoniS Posted April 8, 2008 Posted April 8, 2008 Is there an easy way to hide a button (or make it unclickable) when a user switches to find mode (probably by clicking a button that performs a script)? I'm still learning the basics of scripting. Thanks in advance, Joni
mr_vodka Posted April 8, 2008 Posted April 8, 2008 Well you should have in your script which the button calls a step that checks to see if you are in browse mode. If [ Get ( WindowMode ) = 0 ] Then do stuff End If Otherwise clicking it will do nothing.
LaRetta Posted April 8, 2008 Posted April 8, 2008 Also, with conditional formatting, you can attach to the buttons, something like: Get ( WindowMode) = 1 And set the button background to same as layout background. Your buttons then can't have a line or effects though, because they don't respond to conditional format.
JoniS Posted April 8, 2008 Author Posted April 8, 2008 Awesome! Aren't you guys glad that I'm here to ask you such easy questions? : Thank you so much! Learning "Get (WindowMode)" is going to help me a lot! I have now found it in my Functions Reference book. 0 for Browse Mode 1 for Find Mode 2 for Preview Mode 3 if printing in progress 4 for Layout Mode
Recommended Posts
This topic is 6073 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now