Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12199

Start a search dialog with fields (filemasks, text, folder) filled in ?

From "R.Wieser" <address@not.available>
Newsgroups microsoft.public.scripting.vbscript
Subject Start a search dialog with fields (filemasks, text, folder) filled in ?
Date 2019-09-17 10:15 +0200
Organization Aioe.org NNTP Server
Message-ID <qlq4n8$1k74$1@gioia.aioe.org> (permalink)

Show all headers | View raw


Hello all,

I would like to start a file search dialog, but would like to have (some of) 
the fields (filemasks, text, start folder) already filled in.   The below 
code will open the file search dialog, but with the filemask and text fields 
empty, and wanting to look thru all attached drives.

set objShell = CreateObject("shell.application")
objShell.FindFiles

Even just having to change the "Look in:" starting point is way more of a 
bother than using file explorer (which I normally already have open by than) 
and open the search dialog from there. :-(

By the way, it does not even need to start the search (I would actually 
prefer it doesn't)

tl;dr:
Is there a way to provide the above objShell.FindFiles object with 
parameters or call methods to set the filemasks, text and/or folder fields.

Regards,
Rudy Wieser


Back to microsoft.public.scripting.vbscript | Previous | NextNext in thread | Find similar


Thread

Start a search dialog with fields (filemasks, text, folder) filled in ? "R.Wieser" <address@not.available> - 2019-09-17 10:15 +0200
  Re: Start a search dialog with fields (filemasks, text, folder) filled in ? JJ <jj4public@vfemail.net> - 2019-09-17 20:41 +0700
    Re: Start a search dialog with fields (filemasks, text, folder) filled in ? "R.Wieser" <address@not.available> - 2019-09-17 17:41 +0200
      Re: Start a search dialog with fields (filemasks, text, folder) filled in ? "R.Wieser" <address@not.available> - 2019-09-17 18:06 +0200
        Re: Start a search dialog with fields (filemasks, text, folder) filled in ? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-09-18 00:22 +0200
          Re: Start a search dialog with fields (filemasks, text, folder) filled in ? "R.Wieser" <address@not.available> - 2019-09-18 08:05 +0200
            Re: Start a search dialog with fields (filemasks, text, folder) filled in ? JJ <jj4public@vfemail.net> - 2019-09-18 17:39 +0700
              Re: Start a search dialog with fields (filemasks, text, folder) filled in ? "R.Wieser" <address@not.available> - 2019-09-18 16:46 +0200

csiph-web