Re: jaws finding multiple arguements

2017-07-13 Thread AudioGames . net Forum — Off-topic room : JohnJet via Audiogames-reflector


  


Re: jaws finding multiple arguements

A forex broker is a group that acts as an agent between traders and the international currency market. Discovery the right middleman middle hundreds of online companies can be a puzzling task. That's why our site offers to get acquainted with joined of the most reliable and proven forex brokers. + Buying better with our automated forex trading software.

URL: http://forum.audiogames.net/viewtopic.php?pid=319171#p319171





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-13 Thread AudioGames . net Forum — Off-topic room : JohnJet via Audiogames-reflector


  


Re: jaws finding multiple arguements

A forex broker is a group that acts as an agent between traders and the international currency market. Discovery the right middleman middle hundreds of online companies can be a puzzling task. That's why our site offers to get acquainted with joined of the most reliable and proven forex brokers. + Buying better with our automated forex trading software.

URL: http://forum.audiogames.net/viewtopic.php?pid=319170#p319170





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-10 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

Here's a way of using the if elif else idea grryfindore mentioned just for fun while Orko works on something better. It's pretty limited in its current form, but usable til something better comes along. Don't feel obliged though as I did it just for the hell of it and it didn't take long. It uses the stringContains function to check line by line, and unfortunately that function for some reason doesn't allow for optional case sensitivity, so the search is case sensitive. Also to avoid getting stuck on the same line, I simply got the script to go to the next line straight away, so this means it skips the top line of any document. I know, not great, but I couldn't think of anything better straight away, so there it is. It's limited to three search terms, but that could easily be extended. It also turns off auto forms mode at the start, but only until you switch focus then it reverts to the default. There are two scripts: an initial input box script 
 called MultipleFind where you enter your terms, and it then splits and stores them as globals, and then runs the multiple find next script automatically for the first time. Then there's the MultipleFindNext script itself. I used ctrl shift f, and ctrl shift f3 for these. A backwards search could easily be done, but as I don't think this will ever actually be used by anyone, I didn't go mad lol. Here they are anyway, backup your original script before letting this anywhere near it: globalsstring s1,string s2,string s3Script MultipleFind ()varstring sTermsInputBox ("Enter up to three case sensitive terms separated by grov", "Find", sTerms)If !sTermsReturnEndIfs1 = StringSegment (sTerms, "`", 1)s2 = StringSegment (sTerms, "`", 2)s3 = StringSegment (sTerms, "`", 3)PerformScriptByName ("MultipleFindNext")EndScriptScript MultipleFindNext ()varint counterSetJCFOption (OPT_AUTO_FORMS_MODE, off)NextLine ()For counter = 1 to GetLineCount ()If StringContains (GetLine (), s1)SayLine ()ReturnElIf StringContains (GetLine (), s2)SayLine ()ReturnElIf StringContains (GetLine (), s3)SayLine ()ReturnElseNextLine ()EndIfEndForSayString ("search string not found")Beep ()EndScript

URL: http://forum.audiogames.net/viewtopic.php?pid=318742#p318742





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-10 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

Oh I see you sorted it out. Good one. It is a bit slow that's true. It's really just automating the process of arrowing through a document looking for stuff so if there's thousands of lines it's kind of clunky, but hey, that's the way I roll, lol.

URL: http://forum.audiogames.net/viewtopic.php?pid=318782#p318782





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-10 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

Oh I see you sorted it out. Good one. It is a bit slow that's true.

URL: http://forum.audiogames.net/viewtopic.php?pid=318782#p318782





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-10 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

Oh. It's referring to that line that turns off auto forms mode. It sounds like it's having trouble with a win 10 file path. I'm using Win7, but I wouldn't have thought that mattered. Unfortunately I don't have access to any PC with win10 in order to check it out.If I did have access to a win 10 computer, I'd first delete the  line that reads: SetJCFOption (    OPT_AUTO_FORMS_MODE, off). Then I'd try saving again and see if everything else is okay. Then I'd go about reinserting that particular function from within win 10. Do you want to try deleting that line and trying to save again, then let me know if it saved okay without that SetJCFOption line? Don't try the script yet though because if it enters a form field while running it'll lock up.

URL: http://forum.audiogames.net/viewtopic.php?pid=318782#p318782





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-10 Thread AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector


  


Re: jaws finding multiple arguements

Hello there mate,Thank you for the detailed explanation, would have taken me ages to figure out so thanks for that However, here's one error I encounter while compiling the script.Compile Error Error: Unexpected word SetJCFOption jaws 18,win10 and so on.edit: decided to get rid of the line,SetJCFOption (    OPT_AUTO_FORMS_MODE, off)since I already have that off anyway, and these work just fine!but obviously a tad bit slow, not by much though.now need to figure out a good key combination for the finding next feature that doesn't require too many keys and isn't a default.Thanks again, these should help me loads in the meanwhile

URL: http://forum.audiogames.net/viewtopic.php?pid=318775#p318775





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-10 Thread AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector


  


Re: jaws finding multiple arguements

Hello there mate,Thank you for the detailed explanation, would have taken me ages to figure out so thanks for that However, here's one error I encounter while compiling the script.Compile Error Error: Unexpected word SetJCFOption jaws 18,win10 and so on.Grryf

URL: http://forum.audiogames.net/viewtopic.php?pid=318775#p318775





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-10 Thread AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector


  


Re: jaws finding multiple arguements

Hello there mate,Thank you for the detailed explanation, would have taken me ages to figure out so thanks for that However, here's one error I encounter while compiling the script.Compile Error Error: Unexpected word SetJCFOption Grryf

URL: http://forum.audiogames.net/viewtopic.php?pid=318775#p318775





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-10 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

What it does is move line by line through the entire document. So it's the equivalent of arrowing down through the whole page. It will stop at any line containing any of the search terms, so that's where the focus will be. It then says the line to let you know it's found something. I think the focus would be at the start of the line containing the result rather than in front of the result itself. Though I've only tested it briefly on these pages using usernames as search terms. As I'm sure you're aware, loops are dangerous and can run indefinitely and lock up the PC if there's no failsafe. I used the number of lines in the document/webpage as the counter to limit the repetitions. The one thing I found screwed it up was entering form fields via auto forms mode, so that's why I had it turned off at the start. There's probably a bunch of other potential pitfalls, so it's a case of use at your own risk.Getting it into jaws depend
 s on which applications you want to use it for. If you want to use it globally, it would need to go in the default.jss, but if you're just using it on the web, it would be better to put it into the .jss file for whatever browser you're using. I only tested it in IE 11, which is still what I primarily use.What you need to do is copy the text starting from globals down to the EndScript line of the second script. Open your web browser, and press insert 0 to open the script manager for that specific application. If at this point you wanted to go to the default, you could press ctrl shift d to take you there. Go to the bottom of the script file, make a blank line below the last script or function, and paste in the text. then position the cursor anywhere inside the text of the first script and press ctrl d to open the script info dialog. Press alt A to go to the key assign field, and type your preferred key command. Tab to OK, and hit space to click it. Repeat for th
 e other script.Then press ctrl s to save and compile. If all goes well, you should get a nice ding and a success message. Otherwise you'll get an error message that will tell you what's wrong.To backup your jaws scripts and settings prior to making these changes  you could use the import/export feature in the utilities menu.

URL: http://forum.audiogames.net/viewtopic.php?pid=318758#p318758





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-10 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

What it does is move line by line through the entire document. So it's the equivalent of arrowing down through the whole page. It will stop at any line containing any of the search terms, so that's where the focus will be. Though I've only tested it briefly on these pages using usernames as search terms. As I'm sure you're aware, loops are dangerous and can run indefinitely and lock up the PC if there's no failsafe. I used the number of lines in the document/webpage as the counter to limit the repetitions. The one thing I found screwed it up was entering form fields via auto forms mode, so that's why I had it turned off at the start. There's probably a bunch of other potential pitfalls, so it's a case of use at your own risk.Getting it into jaws depends on which applications you want to use it for. If you want to use it globally, it would need to go in the default.jss, but if you're just using it on the web, it would be bette
 r to put it into the .jss file for whatever browser you're using. I only tested it in IE 11, which is still what I primarily use.What you need to do is copy the text starting from globals down to the EndScript line of the second script. Open your web browser, and press insert 0 to open the script manager for that specific application. If at this point you wanted to go to the default, you could press ctrl shift d to take you there. Go to the bottom of the script file, make a blank line below the last script or function, and paste in the text. then position the cursor anywhere inside the text of the first script and press ctrl d to open the script info dialog. Press alt A to go to the key assign field, and type your preferred key command. Tab to OK, and hit space to click it. Repeat for the other script.Then press ctrl s to save and compile. If all goes well, you should get a nice ding and a success message. Otherwise you'll get an error message that will t
 ell you what's wrong.To backup your jaws scripts and settings prior to making these changes  you could use the import/export feature in the utilities menu.

URL: http://forum.audiogames.net/viewtopic.php?pid=318758#p318758





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-10 Thread AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector


  


Re: jaws finding multiple arguements

Ahoy there,I'll try this out, ahem need to figure out how to get it into jaws first But besides that,what I notice through the initial read of the script. does it just say the line? if the word or words we are searching for is found. or does it get focus to the place.how would we go about doing so though if this doesn't do it already.Will try it out like I said,once I figure how to get it into jaws scripts.grryf

URL: http://forum.audiogames.net/viewtopic.php?pid=318746#p318746





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-10 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

Here's a way of using the if elif else idea grryfindore mentioned just for fun while Orko works on something better. It's pretty limited in its current form, but usable til something better comes along. Don't feel obliged though as I did it just for the hell of it and it didn't take long. It uses the stringContains function to check line by line, and unfortunately that function for some reason doesn't allow for optional case sensitivity, so the search is case sensitive. Also to avoid getting stuck on the same line, I simply got the script to go to the next line straight away, so this means it skips the top line of any document. I know, not great, but I couldn't think of anything better straight away, so there it is. It's limited to three search terms, but that could easily be extended. It also turns off auto forms mode at the start, but only until you switch focus then it reverts to the default. There are two scripts: an initial input box script 
 called MultipleFind where you enter your terms, and it then splits and stores them as globals, and then runs the multiple find next script automatically for the first time. Then there's the MultipleFindNext script itself. I used ctrl shift f, and ctrl shift f3 for these. A backwards search could easily be done, but as I don't think this will ever actually be used by anyone, I didn't go mad lol. Here they are anyway, backup your original script before letting this anywhere near it: globalsstring s1,string s2,string s3Script MultipleFind ()varstring sTermsInputBox ("Enter up to three case sensitive terms separated by grov", "Find", sTerms)If !sTermsReturnEndIfs1 = StringSegment (sTerms, "`", 1)s2 = StringSegment (sTerms, "`", 2)s3 = StringSegment (sTerms, "`", 3)PerformScriptByName ("MultipleFindNext")EndScriptScript MultipleFindNext ()varint counterSetJCFOption (    OPT_AUTO_FORMS_MODE, off)NextLine ()For counter = 1 to GetLineCount ()If StringContains (GetLine (), s1)SayLine ()ReturnElIf StringContains (GetLine (), s2)SayLine ()ReturnElIf StringContains (GetLine (), s3)SayLine ()ReturnElseNextLine ()EndIfEndForSayString ("search string not found")Beep ()EndScript

URL: http://forum.audiogames.net/viewtopic.php?pid=318742#p318742





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-10 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

Here's a way of using the if elif else idea grryfindore mentioned just for fun while Orko works on something better. It's pretty limited in its current form, but usable til something better comes along. Don't feel obliged though as I did it just for the hell of it and it didn't take long. It uses the stringContains function to check line by line, and unfortunately that function for some reason doesn't allow for optional case sensitivity, so the search is case sensitive. Also to avoid getting stuck on the same line, I simply got the script to go to the next line straight away, so this means it skips the top line of any document. I know, not great, but I couldn't think of anything better straight away, so there it is. It's limited to three search terms, but that could easily be extended. It also turns off auto forms mode at the start, but only until you switch focus then it reverts to the default. There are two scripts: an initial input box script 
 called MultipleFind where you enter your terms, and it then splits and stores them as globals, and then runs the multiple find next script automatically for the first time. Then there's the MultipleFindNext script itself. I used ctrl shift f, and ctrl shift f3 for these. A backwards search could easily be done, but as I don't think this will ever actually be used by anyone, I didn't go mad lol. Here they are anyway, backup your original script before letting this anywhere near it lol: globalsstring s1,string s2,string s3Script MultipleFindNext ()varint counterSetJCFOption (    OPT_AUTO_FORMS_MODE, off)NextLine ()For counter = 1 to GetLineCount ()If StringContains (GetLine (), s1)SayLine ()ReturnElIf StringContains (GetLine (), s2)SayLine ()ReturnElIf StringContains (GetLine (), s3)SayLine ()ReturnElseNextLine ()EndIfEnd
 ForSayString ("search string not found")Beep ()EndScriptScript MultipleFind ()varstring sTermsInputBox ("Enter up to three case sensitive terms separated by grov", "Find", sTerms)If !sTermsReturnEndIfs1 = StringSegment (sTerms, "`", 1)s2 = StringSegment (sTerms, "`", 2)s3 = StringSegment (sTerms, "`", 3)PerformScriptByName ("MultipleFindNext")EndScript

URL: http://forum.audiogames.net/viewtopic.php?pid=318742#p318742





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-09 Thread AudioGames . net Forum — Off-topic room : Orko via Audiogames-reflector


  


Re: jaws finding multiple arguements

I kind of like the ` because it isn't used much and it doesn't require a shift key. If I store it in a variable near the beginning of my code, I can include instructions that would allow users to choose their preferred delimiter.

URL: http://forum.audiogames.net/viewtopic.php?pid=318686#p318686





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-09 Thread AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector


  


Re: jaws finding multiple arguements

Hi,Re ,place markers:@cae, I tried the placemarkers feature,and in some ways it may work as long as the text is on or near the place you mark.Of course, it'd interfere with the things you may want to search for at one time but not the next and yet finding it anyway.moving on to Wordlists,are nothing like the search ,because yes,its able to search a page and bring up a list of all words,but that's just for one page one time,you can't keep it saved or select multiple words.@Orko,The symble you don't see around too often neither on pages or in coding would be the `, sign. since jaws uses |'s, already..grryf

URL: http://forum.audiogames.net/viewtopic.php?pid=318662#p318662





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-09 Thread AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector


  


Re: jaws finding multiple arguements

Hi,Re ,place markers:@cae, I tried the placemarkers feature,and in some ways it may work as long as the text is on or near the place you mark.Of course, it'd interfier with the things you may want to search for at one time but not the next and yet finding it anyway.moving on to Wordlists,are nothing like the search ,because yes,its able to search a page and bring up a list of all words,but that's just for one page one time,you can't keep it saved or select multiple words.@Orko,The symble you don't see around too often neither on pages or in coding would be the `, sign. since jaws uses |'s, already..grryf

URL: http://forum.audiogames.net/viewtopic.php?pid=318662#p318662





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-09 Thread AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector


  


Re: jaws finding multiple arguements

Hi,The symble you don't see around too often neither on pages or in coding would be the `, sign. since jaws uses |'s, already..grryf

URL: http://forum.audiogames.net/viewtopic.php?pid=318662#p318662





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-09 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

I favour the vertical bar. I'm sure jaws uses it fairly often as a delimiter.

URL: http://forum.audiogames.net/viewtopic.php?pid=318646#p318646





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-09 Thread AudioGames . net Forum — Off-topic room : Orko via Audiogames-reflector


  


Re: jaws finding multiple arguements

To the point that flackers makes, I belive JAWS already has a word list feature that might do just that, thought to be honest, I've never used it so I don't know what it can and can't do.On the project that I'm calling a parallel search capability, the first thing that needs deciding is what character to use as a delimiter? It needs to be something that is unlikely to ever be part of a search term. Any suggestions? I myself am leaning towards on of these three characters; 1. ~ (, 2. `, 3. |.Right now I'm going through the find and findnext functions to figure out how they work so the parallel search can become a seamless part of them.

URL: http://forum.audiogames.net/viewtopic.php?pid=318637#p318637





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-09 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

Another potential solution would be to search the entire text and arrange the finds into a list based upon the order in which they appear. Then pressing the equivalent of F3 to find next would cycle through this placemarker list rather than actually carrying out a search.

URL: http://forum.audiogames.net/viewtopic.php?pid=318617#p318617





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-09 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

Another potential solution would be to search the text and arrange the finds into a list based upon the order in which they appear. Then pressing the equivalent of F3 to find next would cycle through this placemarker list rather than actually carry out a search.

URL: http://forum.audiogames.net/viewtopic.php?pid=318617#p318617





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector


  


Re: jaws finding multiple arguements

Ahoy all,@flackers, isn't that sort of what we want,though? unless I'm totally missing something. a bit crude,but should work.if it finds john,it goes there and stops,else carrys on to jain,else goes to next,or says not find.@cae having learned a bit of python I see something like that working, but know nothing about jaws scripting to even start with implementing that.Placemarkers, will see if I can find something on them.Never used them at all.@Orko, I did think of the for loop for doing something like this,but I'm just getting started with loops and the like,so if elif is the thing I think of first. Either way, look forward to whatever you come up with,so I will. should make things a lot eazier.Grryf

URL: http://forum.audiogames.net/viewtopic.php?pid=318588#p318588





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector


  


Re: jaws finding multiple arguements

Ahoy all,@flakers, isn't that sort of what we want,though? unless I'm totally missing something. a bit crude,but should work.if it finds john,it goes there and stops,else carrys on to jain,else goes to next,or says not find.@cae having learned a bit of python I see something like that working, but know nothing about jaws scripting to even start with implementing that.Placemarkers, will see if I can find something on them.Never used them at all.@Orko, I did think of the for loop for doing something like this,but I'm just getting started with loops and the like,so if elif is the thing I think of first. Either way, look forward to whatever you come up with,so I will. should make things a lot eazier.Grryf

URL: http://forum.audiogames.net/viewtopic.php?pid=318588#p318588





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : Orko via Audiogames-reflector


  


Re: jaws finding multiple arguements

I understand what k_jones is suggesting, but would never implement it that way because it is too limiting. But for a one off quick and dirty solution it would definitely do the trick.Alright then, I've always felt that the best way to learn something is to try to do something useful with it. So once I have the basics down, this looks like it might be an ideal first project.My primary motivator for learning JAWS scripting is to make the successor to Bit Torrent Sync, Resilio Sync fully accessible.

URL: http://forum.audiogames.net/viewtopic.php?pid=318566#p318566





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

If this were a game of poker, I'd be folding round about now . I understand the concepts both you and cae jones are talking about, but my understanding of general scripting is non-existent, and of jaws scripting is limited mostly to my needs, which are simply some mouse manipulation with a bit of feedback and decision-making thrown in. I'd need to learn quite a few new tricks to write the sort of script you're both talking about. At the moment I don't know how you achieve those things using jaws scripts. I still think it's doable, just not by me at the moment.

URL: http://forum.audiogames.net/viewtopic.php?pid=318559#p318559





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : Orko via Audiogames-reflector


  


Re: jaws finding multiple arguements

You are right that isn't the idea, let me try describing it in English.First off, as I thought about this I realized that my pseudo code wouldn't even do the search requested, so for the most part you can ignore it.Before you even get to that code the search string has already been parsed into an array of strings with each search term in a separate element. A second array the same size as this search terms array is created and filled with zeros, this array will hold the position where each search term was found or zero.Then a flag called found is set to zeronow a for loop (or any other loop construct you prefer) is used to search the page for each term.If the search term is found set the found flag to one and store the position the term was found in in the second array.loop until all search terms have been searched for.if the found flag is zero you are done because none of the search terms was found.But, if the foun
 d flag is one then...Now the two arrays are sorted using the second array as the sort term so you end up with the search terms in the first array in the order they were found.It's a kind of complex search but it is doable.hth

URL: http://forum.audiogames.net/viewtopic.php?pid=318555#p318555





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : CAE_Jones via Audiogames-reflector


  


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.

URL: http://forum.audiogames.net/viewtopic.php?pid=318550#p318550





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

Don't really understand that. Is it some kind of loop limited to the number of search terms?I can see how you could use a loop to search for all the Johns then loop back and search for all the janes, but I don't think that's what you're suggesting.

URL: http://forum.audiogames.net/viewtopic.php?pid=318545#p318545





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

Don't really understand that. Is it some kind of loop limited to the number of search terms?

URL: http://forum.audiogames.net/viewtopic.php?pid=318545#p318545





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

Don't fully understand that, but you seem to be talking about searching using a loop limited by the number of search terms. So it would look for search term 1, exhaust the text field, update the counter, then look for search term 2 and so on. Is that what you're suggesting? It hadn't occurred to me to use a loop like that. Sounds like it might do the trick.

URL: http://forum.audiogames.net/viewtopic.php?pid=318545#p318545





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : Orko via Audiogames-reflector


  


Re: jaws finding multiple arguements

I believe each term requested needs to be searched for in a way that isn't dependant on any other searches.Here some pseudo code off the top of my headfound=0
for x=1 to number of search terms
  if search term[x] is in look in
then found=x
endif
next x
if found=0
then not found
else search term[found] found in look in
endifhth

URL: http://forum.audiogames.net/viewtopic.php?pid=318531#p318531





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

I think it's a tougher problem than it first appears. The problem I keep coming up against is all the either/or methods used by jaws seem to rely on checking if the first statement is true, and if so ignoring the others. For instance if you use the find string function, you can have find john  on the first line of the script, and then, or find jane on the second. But it doesn't work because if it finds john anywhere it doesn't bother looking for jane at all. Same is true for If, ElIf, Else statements. If the first If statement is true, it skips the ElIf. What I don't know how to do is get it to check three different states whether any of them is true or not.

URL: http://forum.audiogames.net/viewtopic.php?pid=318522#p318522





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

I think it's a tougher problem than it first appears. The problem I keep coming up against is all the either/or methods used by jaws seem to rely on checking if the first statement is true, and if so ignoring the others. For instance if you use the find string function, you can have find john  on the first line of the script, and then, or find jane on the second. But it doesn't work because if it finds john anywhere it doesn't bother looking for jane at all. Same is true for If, ElIf, Else statements. If the first If statement is true, I think it skips the ElIf. What I don't know how to do is get it to check three different states whether any of them is true or not.

URL: http://forum.audiogames.net/viewtopic.php?pid=318522#p318522





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : Orko via Audiogames-reflector


  


Re: jaws finding multiple arguements

It sounds like flackers is way ahead of me in scripting knowledge, as I'm just starting out. On the flip side I'm in no way new to programming so I might just pick up JAWS scripting real quick.Either way, if I come up with something, I'll be happy to share whatever I come up with.

URL: http://forum.audiogames.net/viewtopic.php?pid=318507#p318507





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector


  


Re: jaws finding multiple arguements

Hi,@flackersI am not really sure what capabilities jaws scripting has,what syntax it uses and the like, and you may already have an idea better than me in fact on how to do it,but perhaps if elif might do. I.E We take input,could be 1 2 3 or more words,check the number of words, split,and enclose the search in if? elif and else at the end to say not found if nothing is found.As for doing a search like f3, or that is without taking input,perhaps just check whether the variable is empty or not,if its not,then have it perform searches same as the previous script. the only difference being of course,is not taking input or asking for it,and using the variable from the previous script.could also call the search function recursively, if jaws scripting supports,that of course.I wouldn't mind being the tester for the scripts you come up with.Grryf

URL: http://forum.audiogames.net/viewtopic.php?pid=318490#p318490





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

It's easy to have an input box appear after pressing say ctrl shift f, which you can then type your three phrases separated by a delimiter, then split the three entries up and store them separately as global variables, which you can then use in say a find next script, the equivalent of F3.It would also be very easy to then let you search for either of these three phrases using say ctrl1 for the first phrase, ctrl 2 for the second etc. But I appreciate that's not what you want and I can understand why. The thing I'm having difficulty with at the moment is getting it to search for the three different phrases all during the same search. Jaws does have the capability to search for this or that using I think a double vertical bar to represent or, so you could in theory tell it to search for John or Jane, but it's not coming to me straight away how best to go about achieving that when searching an entire screen of text.And my biggest worry would be that s
 cripts have to be very reliable. You wouldn't want to be thinking the screen didn't contain the words you were searching for when in fact it was the script that was at fault. That's where a lot of real usage troubleshooting comes in. I'll spend a little more time on it later, and maybe Orko or someone else might have a neat solution. Like Orko says, you could even modify the ccurrent ctrl f and f3 scripts in the jaws default script file. They're called JawsFind and JawsFindNext. But I've looked at them, and I personally would have to completely rewrite/hijack them because I haven't a clue how they're going about their business. I have rewritten a couple of Jaws default scripts such as the time script and the mouse movement scripts so it's totally doable, but you definitely would want them infallible if you're going to replace the default search function.

URL: http://forum.audiogames.net/viewtopic.php?pid=318484#p318484





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector


  


Re: jaws finding multiple arguements

Hello there,@flackers, no specific sequence or order but in the order in which they appear on the webpage.So if I search for the same 3 john jain etc, if jain is first,focus on jain,etc.If it can be done,and if you could do it, it'd be quite great for me,but I'm sure others could use such a script as well.specially so if I don't have to enter the keywords to be searched each time I want to perform the same search. I.E the current jaws find function and f3.@Orko,anything that you or anyone else comes up with regards to jaws scripting,I'd be interested in,to be sure.Grryf

URL: http://forum.audiogames.net/viewtopic.php?pid=318475#p318475





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : Orko via Audiogames-reflector


  


Re: jaws finding multiple arguements

I'm quite certain that JAWS could do it with a little scripting. Heck it could probably be added to the current find function behind the control F and F3 keys.I can't do it now, I'm just getting started, but I am currently in the process of teaching myself JAWS scripting as I have a couple of personal projects in mind that I want to do with it.The first one will be to make the latest versions of Bit Torrent Sync by Resilio fully accessible.

URL: http://forum.audiogames.net/viewtopic.php?pid=318472#p318472





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : flackers via Audiogames-reflector


  


Re: jaws finding multiple arguements

Not sure I'd be the best person to do it, but it could definitely be done. It would depend on exactly how you wanted to search. Do you want to search for all the Johns Janes and Doe's regardless of in what order they appear, or do you want to always find John, then continue to find the next Jane, and then Doe, in that specific sequence? Jaws has a couple of built-in functions called FindString and InputBox. Whatever you type into the input box, the script could then pass it to the find string function, and it would work just like the default CTRL F search feature. So you could press say ctrl shift f to run the script, type your three words into the input box, then have the script split them up and use the find string function to search for those words. but like I said, it would depend on how you wanted to carry out the search.

URL: http://forum.audiogames.net/viewtopic.php?pid=318452#p318452





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

jaws finding multiple arguements

2017-07-08 Thread AudioGames . net Forum — Off-topic room : grryfindore via Audiogames-reflector


  


jaws finding multiple arguements

Ahoy all.I have been playing web based games and using web apps where in I have been making use of the f3 command in jaws along with ctrl fto find a certain thing on the webpage  a lot.So I was wondering if jaws could search for multiple things on the webpage,and if not could a script be written to do this?Not familiar enough with jaws's scripts to even wonder if something like this is possible.To give a better illustration of what I'm trying to get at,here's an example.Currently if you press ctrl f and write in something and press enter,jaws searches the page for that phrase word or sentence or what you will,and if such a thing does exist,it brings your focus to that particular thing that you were searching for,else says not found.What I'd like it to do is search for 2 3 different things separated by a delimitor such as * | or what you will,and search the whole page to find those things,and bring focus to the first th
 ing it finds,and carry on from there.example, a page has john jain and dough one after the other. and those are the words we are interested in,too.we write those in,and jaws finds john and brings our focus to it,we  search again,jaws finds jain and gets focus there. and so on.I highly doubt if jaws does indeed have such a feature,but was thinking whether jaws can be scripted to accomplish the same.ThanksGrryf

URL: http://forum.audiogames.net/viewtopic.php?pid=318449#p318449





___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector