Search found 11 matches

by stinger
Tue May 16, 2006 3:43 pm
Forum: Technical / Scripting
Topic: Merging variable text file
Replies: 6
Views: 6851

Marcus,

Tested with success.

Your help was greatly appreciated !

Patrice

:wink:
by stinger
Tue May 16, 2006 3:00 pm
Forum: Technical / Scripting
Topic: Merging variable text file
Replies: 6
Views: 6851

Marcus, Thank you for the sample code. I have run the following script without success. VBSTART Function NewestSubFolder(Folder) Set oFSO = CreateObject("Scripting.FileSystemObject") Set oFolder = oFSO.GetFolder(Folder) dPrevDate = "0" For Each oSubFolder In oFolder.SubFolders If DateDiff("s", dPrev...
by stinger
Tue May 16, 2006 11:51 am
Forum: Technical / Scripting
Topic: Merging variable text file
Replies: 6
Views: 6851

Marcus, Thank you for your reply. this is greatly appreciated. I'll try to look more at the help file before posting. When I use an application, a new sub-directory is created with a variable number of text file. How could I use the AppendFile function in a script to: 1) Identify the last created su...
by stinger
Tue May 16, 2006 11:03 am
Forum: Technical / Scripting
Topic: Merging variable text file
Replies: 6
Views: 6851

Merging variable text file

Hello,

I'd like to merge multiple variable text files from a directory in one text file.

Any idea if that can be accomplish with a script.

Thank you !

Patrice
by stinger
Tue May 16, 2006 4:11 am
Forum: Technical / Scripting
Topic: Printer Settings
Replies: 7
Views: 9808

Hello Marcus, For your question on rights regarding the network printer, it must be user right cause I have changed de duplex setting manually and generated the .dat file has prescribed by your solution. Unfortunatly, when I run the command line: rundll32 printui.dll,PrintUIEntry /Sr /n \\Mnrs05pp\M...
by stinger
Tue May 16, 2006 4:06 am
Forum: Technical / Scripting
Topic: -> re
Replies: 3
Views: 4757

:oops: Sorry, my mistake. I'll post to the initial thread.

Patrice
by stinger
Mon May 15, 2006 6:02 pm
Forum: Technical / Scripting
Topic: -> re
Replies: 3
Views: 4757

-> re

Hello Marcus, Yes, I have changed de duplex setting manually and generated the .dat file has prescribed by your solution. Unfortunatly, when I run the command line: rundll32 printui.dll,PrintUIEntry /Sr /n \\Mnrs05pp\MP502393 /a C:\imp.dat or run the script I have the error message. Thank you ! Patr...
by stinger
Mon May 15, 2006 2:01 pm
Forum: Technical / Scripting
Topic: Network printer settings
Replies: 1
Views: 3300

Network printer settings

Hello Marcus,
I have run the script from the office with the error message.

Thank you !

Patrice
by stinger
Fri May 12, 2006 1:48 pm
Forum: Technical / Scripting
Topic: Printer Settings
Replies: 7
Views: 9808

Thank you Again, I'm actually connected twru a VPN connection when I'm working from home witch it is the case now. With my local printer, Adobe PDF, I'm able to apply the solution. rundll32 printui.dll,PrintUIEntry /Ss /n "Adobe PDF" /a "c:\imp_PDF.dat" rundll32 printui.dll,PrintUIEntry /Sr /n "Adob...
by stinger
Fri May 12, 2006 12:42 pm
Forum: Technical / Scripting
Topic: Printer Settings
Replies: 7
Views: 9808

Thank you for your answer. This is great.
I was able to produce the .dat file but was not for the second part of Marcus solution. When I execute the script the printer alert box show the message Impossible to finish the task.
Any clue why.
Thank you again!
by stinger
Thu May 11, 2006 3:03 pm
Forum: Technical / Scripting
Topic: Printer Settings
Replies: 7
Views: 9808

Printer Settings

When I logon at the office network printers are added to group printer and the default printer has a duplex setting at True.
The problem is that I have to reset it manually to print my printing project on one page-side only.
Do you have a VBS solution to change the duplex setting to off.

Thank you !
Sign up to our newsletter for free automation tips, tricks & discounts