Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

requesting a directory

 [1/7] from: carl:cybercraft at: 22-May-2007 19:10


Is there anyway to make REQUEST-FILE just select a directory? (This is with Windows. If you don't have a file name entered, all you can do is cancel the request.) -- Carl Read.

 [2/7] from: anton:wilddsl:au at: 22-May-2007 18:27


Not that I know of, and I don't recommend that approach. It does not seem to be designed for that. One should use REQUEST-DIR to get a directory. It's easy to be unhappy with that simple requester, though, which is why I made my own. (You can see it in style-gallery.) It shows you all dirs and files, but only allows you to select dirs. Regards, Anton.

 [3/7] from: compkarori:gm:ail at: 22-May-2007 20:43


You can type a random name in the file selector and then extract the directory from that. On 5/22/07, Anton Rolls <anton-wilddsl.net.au> wrote:
> Not that I know of, and I don't recommend that approach. > It does not seem to be designed for that.
<<quoted lines omitted: 14>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Graham Chiu http://www.synapsedirect.com Synapse-EMR - innovative electronic medical records system

 [4/7] from: carl:cybercraft at: 22-May-2007 21:05


Thanks guys. I'd already been using the random file approach, but this is for a non-techie who'll get confused by a non-standard requester, so I didn't want to use a Rebol one. I'll stick with the random-file approach, I think... -- Carl Read. On Tuesday, 22-May-2007 at 20:43:29 Graham Chiu wrote,

 [5/7] from: moliad:gmai:l at: 23-May-2007 13:12


the view-based Req Does support dir selection... no? request-dir :-) -MAx On 5/22/07, Carl Read <carl-cybercraft.co.nz> wrote:

 [6/7] from: moliad:gmai:l at: 23-May-2007 13:16


the other problem with random file selection is that if you use the load req, it can ask if you wish to overwrite, and if you use the save req, it can tell you that you have no permission to overwrite the file :-( The OS actually has a dir browser, but in that browser, you can't create new dirs while browsing, and can't type in a path, cause there is no path field... windows file browsing is THE MOST STUPID CONCEPT I have ever had to work around, in ALL softwares I've ever written on windows. It just seems that if you are writting anything else than a word processor of music player, everything in windows is just plain stupid. -MAx On 5/23/07, Maxim Olivier-Adlhoch <moliad-gmail.com> wrote:

 [7/7] from: carl:cybercraft at: 24-May-2007 18:11


Yeah, the Windows requesters are confusing, but Windows' users are used to them so they don't have to be taught how to use them - or at least it's not your job... I guess it might be possible to access the Windows' directory browser via CALL, but I can't be bothered trying to find out... -- Carl Read. On Wednesday, 23-May-2007 at 13:16:12 Maxim Olivier-Adlhoch wrote,

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted