Thread: Ramdisk
View Single Post
  #29  
Old December 31st 19, 01:11 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

|Then wasn't
| sure how to run it, but double-clicking on the .hta seemed the best
| guess

Woops. I guess I should make that more clear in
the readme file. I don't know why I didn't list the
actual file name.


No problem (-:

| 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).

I don't know if there's a specific setting to do that
for all unknown files. I don't deal with it much. I like
to have "Open with Notepad" and several other similar
options on right-click, so I use those. I almost always
expore an unknown file with either "Open with Notepad"


Notepad (or Notepad+ - often both) are often my first choice too), but I
don't have an "open with Notepad" shortcut in my right-click menu (I do
for IrfanView, though I rarely use it - I think it's there because it's
offered by IV's install, and since IV's code is quite good at working
out what _misnamed_ files are, I le[f]t it).

I suppose I could add an open with Notepad, but on a more general note,
I'd like it if "always open this type of file with" was unchecked by
default. Not so much for new unknown filetypes (though definitely there
too), but when I use Open With and then select something, for a type I
already do have an association for, but want to try something new, but
would rather not have what I'm trying associated from then on with that
filetype, perhaps as my normal association works fine for _most_ files
of that extension. Someone did post the tweak (to stop "Always use ,,,"
being ticked by default) under XP.

or "Open with HxD".

| 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?

It's saving the settings file but doesn't have any
settings to save.

Note the browse button. When you browse to select
the file/folder it confirms it's valid then stores it, for
use in the program and to be saved at close. If you just
paste in the path the program doesn't know you did that.
There's no "Save Setting" button.

It's interesting how my preconceptions always turn up
when people try software I've written. I think the first


Yes; it never occurred to me that I _have_ to use the browse button!
[]
My idea here was that it's cleaner and simpler not to
have a "Save Setting" button. It's designed to be as


I'm fine with that.

easy as possible. But I didn't account for people pasting
in a path when they can browse to it instead.

Why would it need a Save button, you might ask?
To not have a Save button and not require the Browse
button would mean I don't know when you've entered
text that you want to be the setting value. I'd have to


Perhaps make those boxes not pasteable (-:? (Like I think it's the
bottom box, next to the Play button, which was greyed for me.)

check and confirm the validity of the text in those
textboxes every time you click "Get File". That would
be very sloppy. Or I'd need to constantly monitor
changes to the textbox. That's inefficient and prone


Yes, I think definite justification for making those boxes not editable!

to possible errors. Or I'd need to make the settings a
separate window so that I'd know when you entered
a new setting. It's just an HTA. I wasn't getting that fancy.
Sorry, sir, you'll just have to use it the easy way.


When I was trying it out, I happened to have the folder - where I had
ytdl - open in Explorer anyway, so cut and paste _was_ easier than
browsing (-:!

What's with the exclamation point? That's allowed?
I've never tried it before.

It's certainly allowed in a file (or folder) name - I think even under
8.3. I use it as a quick and dirty way to bring a file to near the top,
when explorer has reverted to sort by name, which (for practical
purposes of explanation it's IMO valid to say) it has a tendency to do.


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

When I went to see Biddy Baxter [Blue Peter's editor] and told her I was
pregnant, her first reaction was 'Oh good, another viewer'. - Janet Ellis, RT
2016/2/27-3/4
Ads