David,
We didn't implement the BrowseForFolder dialog because it's already
accessible through the Shell object. Using Immed, you can do:
Set s = CreateObject("Shell.Application")
print s.BrowseForFolder(0, "Select a Folder", 0)
Aaron
On 4/26/2012 3:41 PM, David wrote:
Aaron,
I was looking for a similar feature, the other day. Did I overlook
something, or is it so, that there is a CommonFileDialog, but no
dialog for choosing a folder? I.e, If an app has the feature of
letting the user choose which folder to save his stuff in, is there a
predefined dialog in the WEScripting environment, to accomplish this.
Since I didn't seem to find any such, I had to use a set of Object
definitions in the general VBS environment, to accomplish the thing.
If I am correct, there is no such feature in WE at the moment, could
we have a Function added, that would return the folder (object or
actual name), upon the user having chosen it in the dialog?
Hope my explanation made sense.
----- Original Message -----
*From:* Aaron Smith <mailto:[email protected]>
*To:* [email protected] <mailto:[email protected]>
*Sent:* Thursday, April 26, 2012 4:52 PM
*Subject:* Re: WE open save dialog
Jeff,
Take a look at Script.CommonFileDialog.
Aaron
On 4/26/2012 9:54 AM, Jeff Weiss wrote:
A few weeks ago, I read something about the open/save dialog
which we could add to our scripts.
Can somebody give me the correct name for this and point me to
the documentation---and/or a good example.
Thanks,
Jeff Weiss, M.Ed., CVRT
Rehabilitation Teacher
World Services for the Blind
2811 Fair Park Blvd.
Little Rock, AR 72204
Email: [email protected]
www.wsblind.org
The mission of World Services for the Blind is empowering blind
or visually impaired adults in the United States and around the
world to achieve sustainable independence.
--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.
--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.