2012-10-19, 14:06
do I use Task Scheduler only for my remote tool IRtrans.exe?! Or should I do that for xbmc.exe & IRtrans.exe?!
Thaks for your support!!!
Thaks for your support!!!
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
#Persistent
#SingleInstance
Process, Exist, JoyToKey.exe
If (ErrorLevel = 0)
{
Run, C:\jtk374en\RunJTK.bat, , Hide
}
Else
{
}
if WinExist("ahk_class eHome Render Window")
WinActivate
else
run, C:\Windows\ehome\ehshell.exe /url:windowsmediacenterapp:{e6f46126-f8a9-4a97-9159-b70b07890112}\{982ea9d3-915c-4713-a3c8-99a4688b7c59}?EntryPointParameters=
WinWait, ahk_class eHome Render Window
WinWaitClose, ahk_class eHome Render Window
WinActivate ahk_class XBMC
Process, Close, JoyToKey.exe
ExitApp
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
#Persistent
#SingleInstance
if WinExist("ahk_class CUIEngineWin32")
WinActivate
else
run, C:\Program Files (x86)\Steam\Steam.exe -silent steam://open/bigpicture
WinWait, Steam
WinWaitClose, Steam
WinActivate, XBMC
ExitApp
(2010-05-18, 21:12)Robbio85 Wrote: I have it working in Windows 7 Ultimate using a local policy that only applies to my user account. The policy tells Windows to use XBMC as my shell instead of Explorer (so there's no start menu, just a wallpaper). This way XBMC is instantly launched upon (automatic) user log in.
Step 2 only works on Windows 7 Ultimate, Enterprise and Professional! (The group policy object editor is not available in other versions, thanks M$)
1. Setting up your user account to log in automatically
- Log in as administrator.
- Open the start menu, and type in the search box: netplwiz <ENTER>.
- Uncheck Users must enter a user name and password to use this computer and hit Apply.
- A window will pop up asking for the user name and password of the user account which should log in automatically. Supply all the information and hit OK.
Next time you restart, the account selected in step 1 will log on automatically. Now you can setup this account to use XBMC as shell instead of Explorer:
2. Set XBMC as shell for a specific user account
- Log in as administrator.
- Open the start menu, and type in the search box: mmc <ENTER>.
- Choose File -> Add/Remove Snap-in....
- Select Group Policy Object Editor and hit Add.
- In the wizard that pops up, hit Browse..., go to tab Users, select your user account (the one that you set up to log on automatically in step 1) and hit OK.
- Make sure that the checkbox in the wizard is Unchecked, and hit Finish.
- Hit OK in the Add/Remove Snap-ins window.
- In the User Configuration -> Administrative Templates -> System folder, open Custom User Interface.
- Select Enabled and enter the full path (including XBMC.exe and any switches that you may use) in the Interface file name textbox.
- Hit OK and reboot your system. It should now log in and start XBMC automatically without showing the start menu and icons first
(2013-09-20, 16:00)bambam82 Wrote: I've been using the EventGhost solution to start up XBMC. This is working as expected.Go to Control Panel\Hardware and Sound\Power Options\Edit Plan Settings and click on "change advanced power settings". In there make sure "require a password on wakeup' is set to NO(plugged in)
Though, I'm running windows 7 as multi-user, using XBMC as a standard user and another one as admin.
Whenever i come back from suspend, i have to press a key to log in again. I'd like this to be automatic. Is there a way to 'fix' this behaviour?
note, i have the automatic logon already enabled and this works for the first log on. Though, after suspend it isn't doing the same.