You will create a form with two editable text boxes and a button.

The first one will contain the string to be searched. The second one will be invisible and will be used only to create the URL that will be open.

An example of this trick can be found in this form: 44-22597(Gazeta Mercantil).

The code below must be in the button Selection action:

uni_start_stream

  de_start_extraction <0>

  man_set_context_relative <the search string box id>

  de_get_data_pointer

  var_string_set_from_atom <A>

  man_end_context

  man_set_context_relative <the invisible URL box id>

  man_clear_object

  var_string_get <A>

  man_append_data <the URL string to be accessed before the search string>

  uni_use_last_atom_string <man_append_data>

  man_append_data < the URL string to be accessed after the search string >

  de_get_data_pointer

  uni_use_last_atom_string <www_browse>

  de_end_extraction

  man_end_context

uni_end_stream

How Does It Work?

De_get_data_pointer extracts data from the editable text box.

Man_append_data appends data to the invisible text box.

Uni_use_last_atom_string uses the last retuned value to start the command between the <>’s.

That’s It!

FDO yourself!!!

Sérgio Stellato.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply