[ALLY] VID File Requestor 1.0
[1/18] from: carl:rebol at: 20-Sep-2000 19:46
I have written a first draft file requestor for VID on the REBOL.com REB. It is a 1.0
but has many features that you will find handy, although I am sure that Petr will not
like it. :)
This file requestor will become part of the next release of View, so if you have any
major bugs with it, let me know. THERE IS MORE TO DO. But, it is very useful already.
-Carl
[2/18] from: larry:ecotope at: 20-Sep-2000 20:56
Hi Carl
Very nice! This will be an excellent addition to View. I have a couple of
suggestions.
1) It would be nice to be able to sort the sub-directories in the directory
list as well as the files. Perhaps the same "sort" toggle could be made to
work on the sub-dirs box with another toggle that switches from files to
dirs? This would help on MSWindows where the dirs are ordered by some kind
of creation date.
2) It would be nice to have a pseudo system root for Windows. Currently,
the "parent" button tops out at a single drive. Would be nice to go one
more level that would list drives as given by
>> read %/
in the sub-dir window with "/" or similar in the top window.
Cheers
-Larry
----- Original Message -----
From: <[carl--rebol--com]>
To: <[ally--rebol--com]>
Sent: Wednesday, September 20, 2000 7:46 PM
Subject: [ALLY] VID File Requestor 1.0
> I have written a first draft file requestor for VID on the REBOL.com REB.
It is a 1.0 but has many features that you will find handy, although I am
sure that Petr will not like it. :)
> This file requestor will become part of the next release of View, so if
you have any major bugs with it, let me know. THERE IS MORE TO DO. But, it
is very useful already.
[3/18] from: carl:rebol at: 20-Sep-2000 21:25
Larry, Thanks for the quick comments.
Yes, the dirs could use a sort as well. Do they currently appear in non-alpha order
on Windows?
I was annoyed about the root. We're going to find a way to fix that problem. An exists?
%/ should always be true, but it does not and that is why the root does not show in the
requestor. We'll fix it.
I also want to autoscroll on drag selections.
-Carl
At 9/20/00 08:56 PM -0700, you wrote:
[4/18] from: petr:krenzelok:trz:cz at: 21-Sep-2000 5:36
----- Original Message -----
From: <[carl--rebol--com]>
To: <[ally--rebol--com]>
Sent: Thursday, September 21, 2000 4:46 AM
Subject: [ALLY] VID File Requestor 1.0
> I have written a first draft file requestor for VID on the REBOL.com REB.
It is a 1.0 but has many features that you will find handy, although I am
sure that Petr will not like it. :)
Hey, pressed for time, but ;-) ... I would like to get some answers to my
post about more complex things, dialects, etc. stuff. Allen moved it to ally
list ;-)
Later,
-pekr-
> This file requestor will become part of the next release of View, so if
you have any major bugs with it, let me know. THERE IS MORE TO DO. But, it
is very useful already.
[5/18] from: larry:ecotope at: 21-Sep-2000 9:21
Hi Carl
You wrote:
> Yes, the dirs could use a sort as well. Do they currently appear in
non-alpha order on Windows?
Yes, as I noted previously, the default order used by the operating system
is "create date" and this appears to be the order in which the C-code
underlying REBOL returns files and dirs. In Windows Explorer, files and
sub-dirs are sorted lexicographically (dirs first, weird chars first). That
is they are not displayed in their "natural" order.
Currently
>>size? some-dir
returns the number of files in the directory, and
>>modified? some-dir
returns the creation date. So it would make sense to have sorting on these
attributes as well.
-Larry
PS I read most of the code for file-req.r last night and continue to be
amazed at the power of dialecting, especially VID.
[6/18] from: s_woodrum:ho:tmail at: 21-Sep-2000 12:09
On my system - windows 2000 sp1 - the file requestor works great until I
attempt to browse the root of the c: drive. Here's what I get:
** Access Error: Cannot open /C/System Volume Information/.
** Where: dir? file [append dirs first files remove files]
[change/only files reduce [files/1 size? file modified? file] files: next
files]
>>
I tried various combinations of attrib:
C:\>attrib -H "c:\system volume information"
Not resetting system file - C:\System Volume Information
C:\>attrib -S -H "c:\system volume information"
Access denied - C:\System Volume Information
C:\>attrib -R -S -H "c:\system volume information"
Access denied - C:\System Volume Information
If I give my local administrator's group (of which I am a member) full
control over this folder, everything is fine. (I don't think that's a good
solution though!).
It is a hidden file. Dir doesn't show it. Should the file-requestor show
hidden files as well?
Windows has this folder pretty well protected. I admit I'm not sure what
it's purpose is......:-)
Anybody else have this problem?
Thanks,
Scott
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
[7/18] from: gregco:pressroom at: 21-Sep-2000 13:50
What's the address to download this?
----- Original Message -----
From: <[carl--rebol--com]>
To: <[ally--rebol--com]>
Sent: Wednesday, September 20, 2000 10:46 PM
Subject: [ALLY] VID File Requestor 1.0
> I have written a first draft file requestor for VID on the REBOL.com REB.
It is a 1.0 but has many features that you will find handy, although I am
sure that Petr will not like it. :)
> This file requestor will become part of the next release of View, so if
you have any major bugs with it, let me know. THERE IS MORE TO DO. But, it
is very useful already.
[8/18] from: gregco:pressroom at: 21-Sep-2000 15:50
Never mind! Ifigured it out. Sheesh! (:-)>
[9/18] from: bhandley:zip:au at: 21-Sep-2000 15:55
Hi Carl,
This is great. All my programs are currently suitable for core, but now I'm
encouraged to start up some applications with VID.
On the file requestor, I know it is early days yet, but a mechanism for the
programmer to selectively show buttons might be useful.
E.g Maybe I want to hide the delete button.
Brett.
----- Original Message -----
From: <[carl--rebol--com]>
To: <[ally--rebol--com]>
Sent: Thursday, September 21, 2000 2:25 PM
Subject: [ALLY] VID File Requestor 1.0 Re:(2)
> Larry, Thanks for the quick comments.
>
> Yes, the dirs could use a sort as well. Do they currently appear in
non-alpha order on Windows?
> I was annoyed about the root. We're going to find a way to fix that
problem. An exists? %/ should always be true, but it does not and that is
why the root does not show in the requestor. We'll fix it.
[10/18] from: jimg:rebol at: 22-Sep-2000 3:30
At 10:26 PM 9/22/2000 +1200, you wrote:
>A feature request: Any chance of a "Most Recent" button to allow us
>to get to a list of the directories we've most recently accessed?
>Such a thing would save a lot of repetitive navigation.
Heh, funny you should mention that one. If I had a nickel for every time
Carl has mentioned wanting the same thing...
[11/18] from: petr:krenzelok:trz:cz at: 22-Sep-2000 7:59
[gregco--pressroom--com] wrote:
> What's the address to download this?
>
address is http://www.rebol.com/view/reb/file-req.r
just try print read http://www.rebol.com/view/reb/index.r
Cheers,
-pekr-
[12/18] from: petr:krenzelok:trz:cz at: 22-Sep-2000 14:00
[carl--cybercraft--co--nz] wrote:
> I take it this really requires View 0.10.33? My Amiga gives...
> ** Script Error: middle has no value.
<<quoted lines omitted: 12>>
> to get to a list of the directories we've most recently accessed?
> Such a thing would save a lot of repetitive navigation.
What about amiga's assign like behavior - while being nested in some path
e.g. /c/program files/something/important/here assing to 'my-favorite,
which in turn would appear amongst other dirs listing (e.g. with slightly
different coloring) .... possible? I use it a lot with my Windows
Commander here.
Cheers,
-pekr-
[13/18] from: carl:cybercraft at: 22-Sep-2000 22:26
I take it this really requires View 0.10.33? My Amiga gives...
** Script Error: middle has no value.
** Where: middle font-size 11
However, defining middle and font-size as empty strings gave me a nice
file-requester to play with. (: (Who needs open-source, eh?:)
On the Amiga the Dir list is in no discernable order. The files list
as they're told to though.
I'd prefer the Filters and Files rotary buttons to be choice buttons.
And now a real error: Entering nothing as a Path gives the
following...
** Script Error: Out of range or past end.
** Where: first target-copy
Minor hassles aside, this'll be very nice to have.
A feature request: Any chance of a "Most Recent" button to allow us
to get to a list of the directories we've most recently accessed?
Such a thing would save a lot of repetitive navigation.
[14/18] from: carl:cybercraft at: 22-Sep-2000 23:06
On 22-Sep-00, [jimg--rebol--com] wrote:
> At 10:26 PM 9/22/2000 +1200, you wrote:
>> A feature request: Any chance of a "Most Recent" button to allow us
>> to get to a list of the directories we've most recently accessed?
>> Such a thing would save a lot of repetitive navigation.
> Heh, funny you should mention that one. If I had a nickel for every
> time Carl has mentioned wanting the same thing...
Well that's good - more likely to appear then. (:
Is there any reason why it'd be hard to implement?
[15/18] from: carl:cybercraft at: 23-Sep-2000 9:30
On 23-Sep-00, [Petr--Krenzelok--trz--cz] wrote:
> [carl--cybercraft--co--nz] wrote:
[snip]
>> A feature request: Any chance of a "Most Recent" button to allow
>> us to get to a list of the directories we've most recently
<<quoted lines omitted: 4>>
> (e.g. with slightly different coloring) .... possible? I use it a
> lot with my Windows Commander here.
Yep - that too. (: Well, after they fix up the root problem, I
guess...
But a Most Recent list has the advantage of being automatic. Where
you were working yesterday will just be in the list without you
needing to think about it at all.
[16/18] from: anton:globalcenter:au at: 24-Sep-2000 6:30
Hello,
[carl--cybercraft--co--nz] wrote:
> On 23-Sep-00, [Petr--Krenzelok--trz--cz] wrote:
> > [carl--cybercraft--co--nz] wrote:
<<quoted lines omitted: 12>>
> you were working yesterday will just be in the list without you
> needing to think about it at all.
Not always true, because it could be a long path (or several recent
directories - several long paths).
An assign is short and effective (and requires even less thought)..
I like assigns. :)
Anton.
[17/18] from: carl:cybercraft at: 24-Sep-2000 14:45
On 24-Sep-00, [anton--globalcenter--net--au] wrote:
> Hello,
> [carl--cybercraft--co--nz] wrote:
[snip]
>> But a Most Recent list has the advantage of being automatic. Where
>> you were working yesterday will just be in the list without you
>> needing to think about it at all.
> Not always true, because it could be a long path (or several recent
> directories - several long paths).
Why would the lenght of a path make any differece?
However, the list could get very long in a day if it was the actual
files you were listing instead of just their directories, so both a
most-recent-files list and most-recent-directories list would
probably make more sense.
> An assign is short and effective (and requires even less thought)..
How can it require less thought than something that's automatic? You
have to tell an assign what it's name is as well as what directories
it should point to. My idea is that every time you access a file
with the requester its path is added (or moved) to the top of a
most-recent list of X number of paths.
> I like assigns. :)
Well, as I'm already an Amiga user, I don't need them in REBOL anyway.
When root is working in the REBOL requester my assigns will already
be in it.
[18/18] from: anton:globalcenter:au at: 25-Sep-2000 3:25
Hi,
[carl--cybercraft--co--nz] wrote:
> On 24-Sep-00, [anton--globalcenter--net--au] wrote:
> > Hello,
<<quoted lines omitted: 6>>
> > directories - several long paths).
> Why would the lenght of a path make any differece?
Because more text takes longer to read. And some paths are really long.
An assign can be really short.
> However, the list could get very long in a day if it was the actual
> files you were listing instead of just their directories, so both a
<<quoted lines omitted: 10>>
> When root is working in the REBOL requester my assigns will already
> be in it.
Same, but it would be nice if non-amiga people could benefit from
assign-like shortcuts.
I'm not proposing assigns as better than a recent list in an either/or
kind of situation.
We could easily have both.
How about a favourites list, that you set up expressly. It requires
thought to set up initially, like
assigns, but it wouldn't change automatically, so you can use even less
thought selecting your favourite
directories or files, because you learn with use where they are in the
drop-down list.
A favourites list is kind of a mix between assigns and a recent list.
What do you reckon?
Regards,
Anton.
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted