[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Starting XAP Apps in order
- Subject: Starting XAP Apps in order
- From: "Dean Smith" <ukha@xxxxxxxxxxxxxxx>
- Date: Sun, 13 Nov 2005 17:55:36 -0000
Just thought I'd share my solution to ensuring my xAP applications started
after the Hub Service. Various testing showed it was indeed taking a good
while to start the hub, in fact it could be up to 30 seconds after apps in
the start-up folder had initialised (!) before the hub was ready.
I moved all the XAP relevant shortcuts from the Startup folder to a new
xAPStartup folder.
And created the following batch file (xAP-Startup.cmd) in the Startup
folder
for the auto-logon user ("Homeseer" in my case)
net start xAPHubService
for %%f in ("C:\Documents and Settings\Homeseer\Start
Menu\Programs\xAPStartup\*.lnk") DO start "XAP Start"
"%%f"
1st line starts (and importantly waits) for the Hub to start.
The second goes through all the shortcuts in the new folder and launches
them. By using the "for" command, any shortcut can be
added/removed from the
folder without having to manually edit the Batch file.
Dean
xAP_Automation Main Index |
xAP_Automation Thread Index |
xAP_Automation Home |
Archives Home
|