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



Users browsing this thread: 2 Guest(s)