home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
scriptedlogon
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="reagan+carter" data-source="post: 326656" data-attributes="member: 24635"><p>hey</p><p></p><p>I guess you need a script compatible with scriptedlogon. Here are the lines you should put into a text file in order to do the job:</p><p>[CODE]run "c:\program files\MediaPortal\Mediaportal.exe"</p><p>run async rundll32.exe shell32.dll,SHExitWindowsEx 4[/CODE]</p><p>the first line says that you want to run MediaPortal (located in the c:\program files\MediaPortal directory) and wait till it terminates</p><p>the second line executes some internal Windows functions that will shut down the OS. If Windows doesn't want to properly stop then try to replace the number 4 by 8 for instance.</p><p></p><p>Then log into your "vintage" account and open regedit, go to the HKEY_Current_User\Software\Microsoft\Windows NT\CurrentVersion\Winlogon key, create (or modify, if it already exists) a String value named "Shell" and put in the corresponding data field the following sentence:</p><p>[CODE]"c:\program files\MediaPortal\scriptedlogon.exe" "c:\program files\MediaPortal\script_to_parse.txt"[/CODE]</p><p>replace c:\program files\MediaPortal by the actual path of each file and script_to_parse.txt by the name of the text file that contains the script written above</p><p></p><p>Here you are.</p><p></p><p>If you want to remove or modify this script at logon, just use your other account.</p></blockquote><p></p>
[QUOTE="reagan+carter, post: 326656, member: 24635"] hey I guess you need a script compatible with scriptedlogon. Here are the lines you should put into a text file in order to do the job: [CODE]run "c:\program files\MediaPortal\Mediaportal.exe" run async rundll32.exe shell32.dll,SHExitWindowsEx 4[/CODE] the first line says that you want to run MediaPortal (located in the c:\program files\MediaPortal directory) and wait till it terminates the second line executes some internal Windows functions that will shut down the OS. If Windows doesn't want to properly stop then try to replace the number 4 by 8 for instance. Then log into your "vintage" account and open regedit, go to the HKEY_Current_User\Software\Microsoft\Windows NT\CurrentVersion\Winlogon key, create (or modify, if it already exists) a String value named "Shell" and put in the corresponding data field the following sentence: [CODE]"c:\program files\MediaPortal\scriptedlogon.exe" "c:\program files\MediaPortal\script_to_parse.txt"[/CODE] replace c:\program files\MediaPortal by the actual path of each file and script_to_parse.txt by the name of the text file that contains the script written above Here you are. If you want to remove or modify this script at logon, just use your other account. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
scriptedlogon
Contact us
RSS
Top
Bottom