ok; well, I had a look at homer, and it does remember for you to pass in a
good set of default flags, but in any case (drumroll here), it's in the WE
object model!  check out commonFileDialog under the script object! 
 
Chip
 

  _____  

From: Jeff Bishop [mailto:j...@jeffbishop.com] 
Sent: Saturday, January 09, 2010 11:59 AM
To: gw-scripting@gwmicro.com
Subject: RE: Open file dialog



I am  not sure how much easier it can be.  I use the built-in method and it
works awesome and provides access to all features.  I don't want to relie on
Homer for my scripts.

 

From: Chip Orange [mailto:lists3...@comcast.net] 
Sent: Saturday, January 09, 2010 9:57 AM
To: gw-scripting@gwmicro.com
Subject: RE: Open file dialog

 

Yes, I know, I'm thinking that it wasn't included in the shared object
library for no reason though; I suspect it makes it easier on you if you use
the routine from homer or GWToolkit.

 

 

  _____  

From: Jeff Bishop [mailto:j...@jeffbishop.com] 
Sent: Saturday, January 09, 2010 11:43 AM
To: gw-scripting@gwmicro.com
Subject: RE: Open file dialog

Actually, that object is native to Window-Eyes scripting.  Look at the
Script. CommonFileDialog method.

 

From: Chip Orange [mailto:lists3...@comcast.net] 
Sent: Saturday, January 09, 2010 9:42 AM
To: gw-scripting@gwmicro.com
Subject: RE: Open file dialog

 

look at the homer shared object library, or the GWToolkit shared object
library, one of them has this as one of it's features.

 

Chip

 

 

  _____  

From: David [mailto:eleph...@tele2.no] 
Sent: Saturday, January 09, 2010 4:02 AM
To: Scripting List WE
Subject: Open file dialog 

In a VBScript, is there an easy way, to display an 'Open File' dialog. What
I want, is to present the user the chance of choosing the file to open. I
want to put him in a standard Windows dialog, like the one you know from
Word, or Notepad, or whatever; which leaves you the chance also to browse
your folder etc. Is there an instruction to be used, or an object to be put
to work?

 

Thanks,

 

Reply via email to