Skip navigation
SusiSorglos123
Currently Being Moderated

how to execute a search by a click on a custom button (without the find dialog)

May 7, 2012 10:09 AM

Tags: #scripting #bridge_scripting #custom_search #bridge_search #search_script

Hello.

 

Yesterday I've tried to create a custom search-dialog in a tabbed palette for Adobe Bridge.

I need this custom dialog in a tabbed palette because I use Bridge as an image-database where I often need to search for keyword-combinations.

It is not efficient for me to open the find dialog for each search and add a search-criteria for every keyword.

So I want to create my easy custom search.

 

In this custom dialog I have my keyword-list where I can select the keywords I want to search for and the search-option "match all of the keywords" or "match one of them".

The creation and selection of the keywords and search-option works.

 

Now I want to click on a button in my tabbed palette (like clicking "find" in the find dialog), give the data to the Bridge search and execute it. But I don't know how.

It seems to me that I need the function getBridgeUriForSearch from the ExtensionHandler. But I don't understand how to do this (I didn't create the dialog as an extension) and I think there must be an easier way.

I use only information which you can insert in the normal find dialog - there are no new or unknown information for the Bridge search. So there must be a way that I can call the Bridge search with this information.

 

I would be very happy if somebody could help me...

 

Thank's Susi

 
Replies
  • Currently Being Moderated
    May 7, 2012 3:11 PM   in reply to SusiSorglos123

    I don't think you can create scripted search criteria… I only have CS5 so that may have changed… I recall looking and having NO luck with something similar…

     
    |
    Mark as:
  • Currently Being Moderated
    May 8, 2012 12:45 AM   in reply to SusiSorglos123

    Like Mark I've had no success at using search. Flex is not going to help as it does not have access to Bridge.

    If I was doing something like this  I would find the relevant matchs on the keywords and put each find into a Collection.

     
    |
    Mark as:
  • Currently Being Moderated
    May 8, 2012 4:23 AM   in reply to Paul Riggott

    Yeah, I used some of the links in the documentation PDF… And ended up looking at things that you can't access from script ( and wasted my time ouch )…

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points