On 10/1/07, Sherlock, Ric <[EMAIL PROTECTED]> wrote: > --Raul Miller wrote: > > I wish I could hit Control-O and if the file name I type in > > does not exist I get an "are you sure?" prompt? (Which would > > either cancel the operation or create the newly named file, > > depending on how I answer.) > > What locations should the system look in to see if the file name I type > already exists?
Only the directory currently selected in the Open File dialog. > Assuming that the file isn't found and that the full path hasn't been > specified, where should the new file be created? In that directory. > Depending on how those issues can be dealt with, this may be nice > although unconventional (IME) way of creating new files. It's not that different from the normal New File dialog -- but J doesn't have a dialog for that case. > > I also wonder at the utility of the "Delete numbered file" > > popup which shows up at window close time but not at save as > > some other file name time. It seems to me that logically > > speaking this popup should appear at file abandonment time -- > > and Save As... should be treated as one of those times if its > > new name is different from the old numeric name. > > I agree that this takes some getting used to. I understand the logic > behind trying to keep the temp files cleaned up, but think that on > balance it might be better to stick with a "Save changes to" dialog in > all instances with "Yes" as the default action but perhaps have a > "Delete" button available on the dialog for temp files. I am not sure this would be very easy. Currently, the file dialogs I see J using under Windows are OS standard dialogs. Adding a "delete" [the old file before creating this new one] button to one of these dialogs seems to me like a lot of work -- I think you'd have to first build a replacement for the dialog -- and this would probably have other implications as well. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
