Jump to content
The Uniform Server Community

UniTray as a startup process?


matsuka
 Share

Recommended Posts

I start up with a link to the following .vbs file in my startup group (call it anything.vbs, and put it in the uniserver folder):

' Name: Start MS-DOS File
' By: The Uniform Server Development Team
' Edited Last By: AlleyKat
' Comment: Re-Arranged everything to look nicely
' Auto start of MySQL || 9/8/04 AlK

Dim WSHShell, dir, fso, f1
Set fso = CreateObject("Scripting.FileSystemObject")
Set WSHShell = WScript.CreateObject("WScript.Shell")

WSHShell.run "diskw\plugins\UniTray\UniTray.exe -scriptfile=diskw\plugins\UniTray\UniTray.ini",0,0


WSHShell.run "Start.bat W mysql",0,0
' --- now give it 10 sec to start the servers before starting browser (edit this to fit)
WScript.sleep(10000)

' --- If you do not want to open default browser at server start - Comment next line
WSHShell.run "http://localhost"

Note that you may have the unitray files in another location, etc.

Link to comment
Share on other sites

Well that should do too.. or adding:

 

start diskw/plugins/UniTray/Start UniTray.bat

 

I have not tested this, but it should work. Please also revise the names of the files and folders.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...