Thread: Ramdisk
View Single Post
  #22  
Old December 30th 19, 06:26 AM posted to alt.windows7.general,microsoft.public.windowsxp.general
J. P. Gilliver (John)[_7_]
external usenet poster
 
Posts: 603
Default ytdlh (was: Ramdisk)

In message , Mayayana
writes:
"J. P. Gilliver (John)" wrote

| Recently I wrote another HTA for automating youtube-dl, so
| I don't have to deal with the tedium of a console window.
| []
| Did I miss your announcement of this, or haven't you made one?


https://www.jsware.net/jsware/scrfiles.php5#ytdlh


Thanks.

I didn't post it. No one seemed to be interested, and
I thought I remembered you saying that you like the
console window. So I figured probably no one was curious.

Few people seem to share my distaste for typing obscure
commands in DOS windows. But for me, if I have to do it
more than once than it's worth writing a mouse-based
alternative.



(3)
I don't like the console window or typing that much, I just wasn't sure
a GUI would save me _that_ much, since I still have to paste the URL,
and I know how to do that in a console window (alt-space, E, P). But I
tried it: downloaded and scanned the .zip from the above, and extracted
the folder: C:\Program Files\JSWare\Youtube-dl Helper . Did "take
ownership" on it to make sure it could save its settings. Then wasn't
sure how to run it, but double-clicking on the .hta seemed the best
guess, so I did, and your GUI opened. I pasted in D:\MOVIES\X\!pending
as both path to Youtube-dl.exe and download folder. Then, in absence of
a close button, I just clicked the X. It closed, and I saw ytdlsets.dat
appear. I opened it (incidentally, do you know how to stop "Always use
the selected program to open this type of file" being pre-ticked when
you click an unknown filetype? I usually try a text editor first, but
don't want that associated. Someone told me how under XP, but I've
forgotten and it's probably different for 7 anyway). It (ytdlsets.dat)
contained three CRLF pairs (I checked with a hex viewer). I opened ytdlh
again, and it hadn't remembered (.exe or download locations). OK, I
thought, maybe I have to actually use it to make it remember, so I found
a short one to try - https://www.youtube.com/watch?v=85DQB0C_eZY -
pasted that in (having also refilled the other two), and clicked Get
File. Error sound and "Youtube-dl.exe not found." popup. Checked: it
_is_ there. Tried it the old-fashioned way - still worked. (Didn't we
accept grotty video 37 years ago!) Closed and reopened GUI - all boxes
empty. The .dat file timestamp had changed, but still only 6 bytes big.

What am I doing wrong?
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

If you carry on hating, you're the one who's damaged.
- Sir Harold Atcherley, sent to the Burma/Siam railway in April 1943
Ads