Run complied exe in silent mode

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
vkhosla
Newbie
Posts: 1
Joined: Tue Nov 18, 2003 8:22 pm

Run complied exe in silent mode

Post by vkhosla » Tue Nov 18, 2003 8:25 pm

I have just downloaded the Pro version of MS. I want to run my compiled exe in silent mode. Is this possible? Is there a command line switch? Your help would be much appreciated.

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Wed Nov 19, 2003 7:39 am

Hi,

Use -HIDE and -NOSYSTRAY
MJT Net Support
[email protected]

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed Nov 19, 2003 3:37 pm

Does this:
Use -HIDE and -NOSYSTRAY
mean that we can use any macro scheduler command line switch with a compiled script?

Obviously there would be no sense to call a script file or the editor

So I can either make an icon or a batch file and add those paramaters when the compiled file is called up?

If yes, then that means I can now have logging?

And I can also pass in variable parameters?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Wed Nov 19, 2003 4:07 pm

Yes,

This has always been the case. All (relevent) switches should work. Use /LOGFILE=logfilename with compiled EXEs.
MJT Net Support
[email protected]

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed Nov 19, 2003 5:20 pm

Don't know why I never tried that before! Silly me :oops:

That's why I am here very day, always picking up something new. :!:

Thanks for the extra tools. :D
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

mmorrison
Newbie
Posts: 13
Joined: Thu Apr 14, 2005 7:15 pm
Location: Arkansas

Post by mmorrison » Thu Apr 14, 2005 7:35 pm

Taking this a step further... is there any way to create a compiled macro that will run as if /HIDE /NOSYSTRAY switches were used, without having switches in the shortcut. (say we just click on the EXE - no switches possible... but I want it to run 'stealth' by default)

If there's no way to add something from within the macro (because the run-time has already started by that time), could that be an option when compiling?

Compile:
[ ] Hide Window
[ ] No Systray
[ ] Logfile = ________________

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Fri Apr 15, 2005 2:58 pm

support wrote:Use /LOGFILE=logfilename with compiled EXEs.
Thank you, thank you, I really needed that :D

multifix
Newbie
Posts: 8
Joined: Mon Mar 28, 2005 4:17 pm
Location: Florida

Post by multifix » Thu Apr 21, 2005 7:21 pm

Ok, the previous message train just blew past me (confused) but here’s what I would like to do:-
I have Macro Scheduler icon in the system tray. There are scripts that call compiled macros. These compiled macro now cause another Macro Scheduler icon to appear in the system tray. How do I prevent a second icon from appearing ?
Thanks


Kris
Kris

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Thu Apr 21, 2005 8:05 pm

Add /NOSYSTRAY /HIDE to the command line:

Run>macro.exe /NOSYSTRAY /HIDE
MJT Net Support
[email protected]

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts