I need to print all the files in one folder. I came up with the
following vbs code:
set shApp = createobject("shell.application")
set shFolder = shApp.namespace("C:myfolder\")
set shItems = shFolder.Items()
for each shItem in shItems
shItem.invokeverb "&Print"
next
The problem is I am printing to a network printer and for every file
sent to print, a dialog box pops up, with a choice of two radio
buttons ("password" or "billing id") and a text box in which to enter
my password. I have to do the following 3 steps for each file:
1) hit the "tab" key (to go from the "password" radio button that is
already selected") to the text box;
2) enter my password in the text box;
3) hit the "enter" key
Is there a way to automatize this? Unfortunately I do not know the
variables names associated with the dialog box that pops up.
Thanks!