Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4648 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Is there any way to set or clear the text in the QuickFind in the toolbar via a script? Also is there any way to capture when a quickfind is done via custom menus (for handling of errors like 0 results)?

Posted (edited)

There is a function: Get(QuickFindText), but nothing to set/modify the text.

You can create a custom menu and run a script in place of the Perform Quick Find command. You will probably want to use the Perform Quick Find script step in your script.

You can actually use the above items to duplicate the QuickFind search using a global input field on your layout: in case you want to run your database with the status area off, but don't want to loose access to QuickFind.

Edited by dansmith65
Posted

Is there any way to set or clear the text in the QuickFind in the toolbar via a script?

Closing the window will clear the quick find text, so try something like this:

Set Variable [ $win ; value: Get ( WindowName ) ]

New Window [ Name: "a" ]

Close Window [ Name: $win ; Current file ]

Set Window Title [ Of Window: "a" ; Current file ; New Title: $win ]

  • Like 2

This topic is 4648 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.