http://qs321.pair.com?node_id=446372


in reply to hugepad

Very nice. I havn't thoroughly tested it, but it loads fast and works smooth. The only error on linux I see, is "Tk::Error: "h:\" is not a valid directory", when I try to open a file. You might want to post this comp.lang.perl.tk so the mainstream perlTk crowd can look at ( and enjoy) it.


I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re: hugepad
by b10m (Vicar) on Apr 10, 2005 at 11:42 UTC

    I've /msg'ed the author about that also. The script has 'h:\' as initial dir, which seems silly for *NIX machines and even for most Win32 machines that have no h:\ 'share' mounted.

    --
    b10m

    All code is usually tested, but rarely trusted.
      Oops, you are right. I was doubly shortsighted here. A case of Windows-blindness?

      I fixed this by simply removing the -initaldir option from getOpenFile() call. On my machine now the File Open dialog seems to default to the directory most recently used by the script.

      Does the File Open dialog now do something reasonable on *NIX machines?

      Rudif