After hours and hours spent, I've finally found a working solution for this problem!
I have tried all the methods with putting a XBMC lnk into Windows 7 Autostart-folder, scheduling activites, autostart using Eventghost etc etc. with all different results but none of them working OK.
When I use the built in Windows Autostart-folder method, XBMC starts in fullscreen but in the background. I need to click with my mouse to bring XBMC "in front" to then be able to use my remote to control XBMC via Infra Red. (Same with scheduled activities)
When I use the Eventghost method, XBMC launches in fullscreen but then minimizes to Taskbar. Same problem here, need to use my mouse to get XBMC in front.
The problem is that other startup programs is starting
after Windows 7 has started XBMC, which brings XBMC to background.
So the problem is, I need to delay XBMC's startup to make it start as the last program so it won't get into background.
And I used this little Visual basic-script to complete that;
Open Notepad and insert the following code.
Code:
Set WshShell = WScript.CreateObject("WScript.Shell")
delayseconds = 5
delayseconds = delayseconds *1000
wscript.sleep delayseconds
wshshell.run """C:\Program\XBMC\XBMC.lnk"""
delayseconds is the variable that holds the number of seconds you want to delay the startup-time. I'm currently using 5 seconds which seems to works fine for Windows 7. You can change it to whatever you want.
"C:\Program\XBMC\XBMC.lnk" is the shortcut that shall be started after 5 seconds. The reason why I'm using a .lnk file insted of the xbmc.exe file is because .lnk file has the target C:\Program\XBMC\XBMC.exe -fs , which -fs makes XBMC to boot into fullscreen.
Save your notepad-document as xbmc.vbs and put it into your Autostart folder. Make a shortcut with the target C:\Program\XBMC\XBMC.exe -fs and put into the XBMC-root folder, and then you're done!
I hope this may help some of you guys having trouble with launching XBMC into fullscreen straight after boot.