Re: jaws finding multiple arguements

How I'd do something like this, not sure if Jaws scripts can do all of this:
int find_first(string[] args, string text):
    for arg in args:
        int index = text.find(arg)
        if index>=0: text=string_left(text, index)
   
    return text.length

Basically, every time you find a result, continue to search for the next item, but only in the portion of the text above the last found item.

Also, I seem to remember at one time placemarkers being more like a search than marking a specific location on a page, but I haven't paid them much attention so maybe I'm badly misremembering or out-of-date.

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Orko via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Orko via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Orko via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Orko via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Orko via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector

Reply via email to