Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Archive-dot-org simple helper
#2
This is cool, @mnrvovrfc

I had to make some changes to get it to work on windows (filename with space in path, and firefox didn't like the input surrounded in single quotes for the URL).

Code: (Select All)

comd$ = CHR$(34) + launchprog$ + CHR$(34) + " https://archive.org/details/audio?and[]=year%3A%22" + ayear$ + _
"%22&and[]=mediatype%3A%22audio%22&and[]=subject%3A%22"
plu = INSTR(asubj$, "+")
IF plu > 0 THEN
comd$ = comd$ + LEFT$(asubj$, plu - 1) + "%22&and[]=subject%3A%22" + MID$(asubj$, plu + 1) + "%22"
ELSE
comd$ = comd$ + asubj$ + "%22"
END IF
PRINT launchprog$
PRINT comd$
SLEEP
SHELL _HIDE _DONTWAIT comd$

Here is my helparchorg-browser.txt file:
Code: (Select All)
C:\Program Files\Mozilla Firefox\firefox.exe

I tried to put the double quotes in this file, but it wasn't finding the browser as a file that existed per the stuff at the top that checks for it. However, it found it without double quotes there.

For the benefit of others here are screenshots of it working:

[Image: archiveorghelp-example.png]
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply


Messages In This Thread
Archive-dot-org simple helper - by mnrvovrfc - 07-06-2023, 10:39 PM
RE: Archive-dot-org simple helper - by grymmjack - 07-09-2023, 04:15 PM
RE: Archive-dot-org simple helper - by grymmjack - 07-09-2023, 04:16 PM
RE: Archive-dot-org simple helper - by mnrvovrfc - 07-09-2023, 06:38 PM
RE: Archive-dot-org simple helper - by grymmjack - 07-09-2023, 04:18 PM
RE: Archive-dot-org simple helper - by Ultraman - 07-10-2023, 11:11 AM
RE: Archive-dot-org simple helper - by Ultraman - 07-10-2023, 11:35 AM
RE: Archive-dot-org simple helper - by mnrvovrfc - 07-10-2023, 03:39 PM
RE: Archive-dot-org simple helper - by Ultraman - 07-10-2023, 04:51 PM
RE: Archive-dot-org simple helper - by mnrvovrfc - 07-12-2023, 05:50 PM
RE: Archive-dot-org simple helper - by grymmjack - 07-14-2023, 12:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Simple Finances Utility ASCIIhole 6 469 02-02-2026, 06:21 PM
Last Post: ASCIIhole
  QB64 IDE Helper Pete 3 913 12-15-2024, 12:13 PM
Last Post: grymmjack
  Simple Zeller's congruence to get day of week TDarcos 12 5,647 09-17-2024, 07:24 AM
Last Post: TDarcos
  Simple directory display eoredson 0 545 03-29-2023, 03:01 AM
Last Post: eoredson
  Simple Mouse Wheel Scolling Pete 9 1,906 12-27-2022, 11:41 PM
Last Post: grymmjack

Forum Jump:


Users browsing this thread: 1 Guest(s)