I have a LotusScript agent that removes all attachments from a given email. I would like the user to be able to browse for a folder on their hard drive or network drive instead of me hard-coding the location. Is there a LotusScript command or method for this? I sure can't find one...
I have, in the past, created a layout region with a multi-value field and some clever list formatting (using spaces to prefix and simulate indented folders) to look like the Select Location dialogue. I used LS to grab directory listings and every time the user would select a directory, I could go and get it's directory information and repopulate the field. This takes some work but you can get directory information and make it look almost like the windows one. I never tried to figure out how to do folder icons (don't think that would be an easy one). Give it a shot and if you get stuck or want some more advice, drop another line and I'll see if I can help.
This was first published in November 2001