Systray Gear icon adjustment

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
BlackWisdom
Pro Scripter
Posts: 58
Joined: Thu Oct 16, 2003 12:53 am

Systray Gear icon adjustment

Post by BlackWisdom » Sun Jan 15, 2006 5:13 am

Hi guys

I have read several post and tried several things to no avail, and am a bit confused. I want to completely hide the gear icon so that it never shows. Is this option for command line only?
If you have a compiled script (like the one below) what parameters can be used so that there is not even a momentary blink of a gear icon? Thanks in advance.

Let>VBS_TIMEOUT = 60000
VBSTART
Counter = 1
destfolder = "CDCount"
srcfolder = "BackTemp"
cdfolder = "CD" & Counter


'Dim filesys, demofolder, subfol, folcoll, folist, FileObj,oFS, SubFolder, srcfolder, tgtfolder,
Set filesys = CreateObject("Scripting.FileSystemObject")
Set demofolder = filesys.GetFolder(destfolder)
Set folcoll = demofolder.SubFolders
For Each SubFolder in folcoll
Counter = Counter + 1
Next


tgtfolder = "BackTemp"
tmpfolder = "CDCount"

'Lets rename the BackTemp folder with the CD structure to the next CD number available

filesys.MoveFolder srcfolder, "CD" & Counter


'Now lets move the new CD folder with the CD structure to the CDCount folder as a subfolder

filesys.MoveFolder "CD" & Counter , destfolder & "\" & "CD" & Counter

'lets generate a tag file indicating this CD session was successful

Set filetxt = filesys.CreateTextFile("CDMergeSessionComplete.txt", True)

VBEND

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Sun Jan 15, 2006 8:51 am

When compiling the macro add the following to the "Include Parameters" field:

/NOSYSTRAY

Or add /NOSYSTRAY when running the macro/exe:

macro.exe /NOSYSTRAY
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

BlackWisdom
Pro Scripter
Posts: 58
Joined: Thu Oct 16, 2003 12:53 am

continuation

Post by BlackWisdom » Tue Feb 21, 2006 8:30 am

Hi Guys

Recently I have been trying very hard not ask a question that staring me in the face - in the help files or a forum topic. - This is a continuation of the above question. I have searched and searched and the only thing I can find on the /NOSYSTRAY option is command line processing. mtettmar, I know you said :
When compiling the macro add the following to the "Include Parameters" field:

but I dont see the option your speaking of. Once you click on the compile icon or "make exe" from the tools menu - the exe file is created. What am I missing...???

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: continuation

Post by Marcus Tettmar » Tue Feb 21, 2006 8:39 am

BlackWisdom wrote:Once you click on the compile icon or "make exe" from the tools menu - the exe file is created. What am I missing...???
If that is the case you have a version earlier than 7.4. In 7.4 we introduced compiler options. When you compile a macro in 7.4 or later you get this box:

Image

Help on this can be seen at:
http://www.mjtnet.com/OnlineHelp/hpad1750.htm

Since you can compile you must have 7.1 or later. In which case you can download the 7.4 update for free.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

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