home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 42,370 of 42,547   
   VanguardLH to R.Wieser   
   Re: Is there a Windows batch way to make   
   13 Mar 24 18:14:54   
   
   XPost: alt.comp.os.windows-10, alt.comp.software.firefox   
   From: V@nguard.LH   
      
   "R.Wieser"  wrote:   
      
   > Oliver,   
   >   
   >> Is there a Windows batch way to make firefox tor browser open tabs   
   >> from a separate text list of book sites?   
   >   
   > I think so, yes.  You will have to find some script that will iterate thru   
   > the list line-by-line, and than use the "start" command to execute FF with   
   > that line as its argument.   
      
   Firefox will not pend the batch script until it exits.  Once you run a   
   command to load Firefox with a URL argument, the batch script will   
   continue onto the next command.  If you had a hundred URLs to visit,   
   you'd end up with a hundred tabs or windows open of Firefox.  In the   
   script, you would have to add a 'pause' command to ensure the next   
   instance of Firefox doesn't start until you're done with the prior   
   instance.   
      
   > One drawback : As those %FF% .... lines are started at the same time a   
   > number of them will not see an open FF window and as a result start   
   > their own.   
      
   Loading lots of Firefox windows or tabs is overkill.  No user can read   
   through the first book opened in Firefox before the next instance of   
   Firefox would load.  Rather than a delay, pause after each load.  When   
   you're done with one window or tab in Firefox, hit any key in the   
   console window for the batch script to move on to the next book.   
   Whether you close the prior instance is your choice, but lots of books   
   opened concurrently is no value to a human reading them one at a time,   
   and humans don't have multiple eyes to focus on different books at the   
   same time.   
      
   Instead of maintaining and exporting a bookmark folder and distributing   
   that to his students to import into whichever web browser they use, he   
   wants a script file to maintain and distribute to his students.  He has   
   not reduced his effort, or that of his students, by using a script.   
   Maintain and distribute a .json file, or maintain and distribute a   
   script file.   
      
   Plus, the script will require debugging.  Unlikely the script will be   
   perfect on first issuance.  Obviously a script for DOS/Windows is of no   
   value to his students on other platforms where the script won't run.  Is   
   the community of his students forced to use Windows, or might they be   
   using Linux, MacOS, or something other than Windows.  So, is he going to   
   make further demands on his students by requiring them to install Cygwin   
   to use a bash script?  Is he going to have forks of his DOS batch script   
   that will run under a bash, cshell, or other script interpreter?  An   
   exported bookmark folder can be used on any platform with any web   
   browser for import.   
      
   In addition, his students will only be able to read the books in the   
   order he decides.  If he decides to present a table of choices, then he   
   has to debug and maintain the linkage between table entry (or if or   
   select command) and his URL list.  What if, in another web session,   
   they've already read some books, and want to start with a later one, or   
   return to a prior one but start from the first one?  A .html file with   
   the exported bookmarks opened as a file in a web browser presents a web   
   doc with all the bookmarked URLs.  The *student* gets to choose which   
   one to read, not the teacher.   
      
   "Is there an easy way to just include a text file list of book web sites   
   to open?"   
      
   That was his last query.  Well, export to an HTML file, and let his   
   students open the .html doc to see a list of bookmarks to choose which   
   one(s) they want to visit.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca