marksman icon indicating copy to clipboard operation
marksman copied to clipboard

Silently Run

Open mwolfe1 opened this issue 6 years ago • 4 comments

Is there an option to get this to silently run? If not I would like to request it as a feature.

mwolfe1 avatar Feb 11 '19 17:02 mwolfe1

How silently? In my production environment, It runs through a vbs script to hide the console window. (Sorry, it's a windows limitation). If you like I can post the script here.

@danielhogg Is there a way to hide the console in C#?

velaar avatar Feb 28 '19 12:02 velaar

I mostly just want to hide the window. If you could post it that would be great.

mwolfe1 avatar Feb 28 '19 13:02 mwolfe1

Can't help but concur with velaar. vbscript is your friend for that particular task..

CCUKAaron avatar Mar 01 '19 09:03 CCUKAaron

Something as simple as:

strCommand = """\PathToMarksman\marksman.exe"""
Set objShell = CreateObject("WScript.Shell")
objShell.Run strCommand, 0, True

will do the job.

velaar avatar Mar 01 '19 16:03 velaar