McCormick Posted June 9, 2003 Posted June 9, 2003 I am scripting a Find function that closes off all behind-the-scenes elements (in other words, the Status Bar is hidden, among other things). I want the users to be able to use the Omit feature as part of their search, but they can't see the checkbox in the status bar. Can I duplicate that box in some way, in the layout itself? Of course, it would have to work in Find mode. My only solution is to add a new text field and build some sub-scripts to mark it appropriately along with toggling the real Omit checkbox, but that seems large and unwieldy, and would not accommodate using Alt-O instead of clicking the correct button. Any ideas?
ernst Posted June 9, 2003 Posted June 9, 2003 Hi McCormick, I looked into this some time ago and could not find a way to do this without using an extra global field and scripting, just as you suggest. But hey, an extra global field is not such a problem and Alt-O doesn't work on the Mac anyway, so I sticked with that solution. Hope somebody else comes up with something brilliant, but I would not hold my breath... Regards, Ernst.
McCormick Posted June 9, 2003 Author Posted June 9, 2003 Thanks. I'll do it the hard way (it's not that hard), but if anyone does figure it out, I'd love to know!
Ugo DI LUCA Posted June 9, 2003 Posted June 9, 2003 Hi, 2 methods I used as you can have a script while in find mode, lead your user by a script on to a "searchLayout1" where you had previously drew a graphic (static) with a unchecked checkbox. Then set this graphic to be a button (with option resume) with script Omit Go to SearchLayout2 Layout 2 would have a static graphic with a checked checkbox. For some reasons, you may have to set the button to "resume".
Anatoli Posted June 10, 2003 Posted June 10, 2003 In one solution we used Status Area also hidden, but did unlock it for find requests. You can store the status of Status area and restore it again when script is resumed. That way we achieved our goal -- developers should have full access to everything and users only what was designed and programmed.
BobWeaver Posted June 11, 2003 Posted June 11, 2003 Here is a sample file that I created a while back. It replicates all the functions of the status area in find mode, including the omit status.
Recommended Posts
This topic is 7840 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