NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 27 28 29 30 31 … 193 Next »
Per user override for StartFullscreen and AlwaysOnTop

 
  • 0 Vote(s) - 0 Average
Per user override for StartFullscreen and AlwaysOnTop
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#1
2012-10-18, 02:38 AM
Would it be possible to get an override for those settings on a per-user basis?

Basically something like (pseudo code):

Code:
[color=#008000]// get settings from config.xml[/color]

[color=#0000FF]bool[/color] startFullScreen = SettingsHelper.GetInstance().GetSetting([color=#FF0000]"/Settings/General/StartFullscreen"[/color], false);

[color=#0000FF]bool[/color] alwaysOnTop = SettingsHelper.GetInstance().GetSetting([color=#FF0000]"/Settings/General/AlwaysOnTop"[/color], false); [color=#008000]// Where exactly is this setting saved anyway?[/color]

[color=#008000]// get per-user override setting from the HKEY_CURRENT_USER registry if it exists or use current value if it doesn't[/color]

startFullScreen = Microsoft.Win32.[color=#0000FF]Registry[/color].GetValue([color=#FF0000]@"HKEY_CURRENT_USER\Software\NextPVR"[/color], [color=#FF0000]"StartFullScreen"[/color], startFullScreen);

alwaysOnTop = Microsoft.Win32.[color=#0000FF]Registry[/color].GetValue([color=#FF0000]@"HKEY_CURRENT_USER\Software\NextPVR"[/color], [color=#FF0000]"AlwaysOnTop"[/color], alwaysOnTop);

[color=#008000]// Apply Setting[/color]

ShowWindow(startFullScreen, alwaysOnTop);

I won't need you to set/save the per-user setting, just apply it if it exists.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#2
2012-10-18, 12:54 PM
This could be done through shortcuts with different command line options for each user.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#3
2012-10-18, 01:33 PM
Not for my purposes unfortunately. I'm replacing explorer.exe as the shell for specific users. When doing that, you cannot use shortcuts, batch files or command line arguments.

If I set NextPVR to use windowed mode for the "desktop" user, it opens in windowed mode for the shell user as well.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2012-10-18, 04:46 PM
http://wiki.xbmc.org/index.php?title=How...a_shell%29
scroll down to win7 section, it uses policy editor so only available on Enterprise, Pro, and Ultimate versions..
it allows per/user shell selection and also arguments...Big Grin
if you don't mind using policies..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#5
2012-10-18, 05:15 PM
Yeah, I'm aware of that method but I'm trying to avoid GPO since this will be set on the fly programatically. I would rather write a launcher program but even then, I would still prefer a native method of dealing with it within NextPVR.

I also detest the use of GPO on a non domain joined machines.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#6
2012-10-18, 05:16 PM
I'll be able to add something for you. I'm sick today though, so bump the thread tomorrow.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#7
2012-10-18, 05:22 PM
Sorry to hear that. This is one of those "when you get around to it" requests so just get to feeling better.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Multiple user accounts linustorvalds 3 1,499 2022-07-15, 02:08 PM
Last Post: mvallevand
  Multi-User support boringgit 0 1,354 2020-06-28, 05:49 PM
Last Post: boringgit
  User List PVR_User 4 2,237 2020-05-13, 10:45 PM
Last Post: mvallevand
  User Rename and custom notes SteveTyrakowski 5 3,499 2019-05-24, 12:05 AM
Last Post: BrettB
  More than a skin, thinking customized user interface Jakesty 2 1,854 2018-02-22, 04:26 PM
Last Post: sub
  User's Manual GWCowling323 19 8,955 2016-09-29, 11:10 PM
Last Post: johnsonx42
  User Interface improvements martinu 3 2,388 2015-10-30, 08:56 PM
Last Post: ReplayHarry
  User Interface Design issue gkreis 4 2,302 2009-04-22, 11:02 AM
Last Post: Snooze
  Navigation - from a new user imilne 0 1,403 2008-02-10, 09:46 AM
Last Post: imilne
  Non-Config override for Second Monitor display Daniel Bragg 3 1,692 2007-11-23, 03:53 AM
Last Post: Daniel Bragg

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode