MSFN Forum: Req : Memorise selections - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Req : Memorise selections Rate Topic: -----

#1 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 26 September 2004 - 10:16 AM

Yes, me again :P

Still in implementing tweaks, so I've put some default selections in wihu that other users won't like.

Changing default selections in an ini file of hundreds tweaks could be a little pain.

What about a boutton to save the selections in the ini file ?


This could allow users to set their parameters easilly by running wihu a 1st time before doing unattended install. :)


#2 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 26 September 2004 - 10:24 AM

I would use 2 different ini files for this purpose.
because selection could be test.eval.x dependent, which could make trouble. I had also to memorize each test.x.n and test.eval.x.

Benjamin

#3 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 26 September 2004 - 11:05 AM

Yes of course 2 ini would do it, the purpose was to minimise users efforts, but I realise that the mecanism to memorise each selected.x + tests could be a real pain.

Thanks anyway

XPect

#4 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 26 September 2004 - 11:23 AM

But what I could do is to create a menu which conatin each ini file in WIHU directory where the user can select the appropriate one.

Benjamin

#5 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 26 September 2004 - 11:49 AM

No, I don't think it will do the work

I'll give you the begining of my ini for example:

Quote

[Environment]reg  = %curdir%\regtweaks
apps  = %curdir%\Apps

[settings]
dimension.update = 0
dimension.width  = 80%
dimension.height = 80%
SplitterPos = 20

[Note - Disabled tweaks are already applied or not applicable to your system]
selected = 0
disabled = 1

[Sec - Security]
collapsed = 0

description.0 = Clear recent documents on exit
command.0 = cmd.exe /c @echo Fait
test.0.0 = HKCU:Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ClearRecentDocsOnExit?=1
test.eval.0 = 0
Disabled.0 = if.true
Selected.0 = if.false
help.0  = %Reg%\test.rtf


[UI - User Interface]
collapsed = 0

description.0 = Context menu (Right click)
command.0 = *
selected.0 = 1

description.0.0 = Add "Copy To" to Context Menu options [Not selected by default]
command.0.0 = regedit /s %reg%\UI-ContextMenu-CopyTo.reg
test.0.0.0 = HKLM:SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To\?={C2FBB630-2971-11D1-A18C-00C04FD75D13}
test.eval.0.0 = 0
disabled.0.0 = if.true
selected.0.0 = 0

description.0.1 = Add "Move To" to Context Menu options [Not selected by default]
command.0.1 = regedit /s %reg%\UI-ContextMenu-MoveTo.reg
test.0.1.0 = HKLM:SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To\?={C2FBB631-2971-11D1-A18C-00C04FD75D13}
test.eval.0.1 = 0
disabled.0.1 = if.true
selected.0.1 = 0

description.0.2 = Add "Send To" to Context Menu options [Selected by default]
command.0.2 = regedit /s %reg%\UI-ContextMenu-MoveTo.reg
test.0.2.0 = HKLM:SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Send To\?={7BA4C740-9E81-11CF-99D3-00AA004AE837}
test.eval.0.2 = 0
disabled.0.2 = if.true
selected.0.2 = if.false

description.0.3 = Associate unknown files with notepad
command.0.3 = regedit /s %reg%\UI-ContextMenu-UnknownFiles.reg
test.0.3.0 = HKLM:SOFTWARE\Classes\*\Shell\open\command\?=notepad.exe %1
test.eval.0.3 = 0
disabled.0.3 = if.true
selected.0.3 = if.false

In this file, I've chosed that "Copy To" and "Move To" are not selected by default while "Send To" is selected.
But another user will prefer other options, so he will have to change the ini file.
The problem come from the fact that I will have more than 100 tweaks, so for a user not familiar with wihu, it would be a pain to edit.

And I can't prepare as many ini as users :D

So if you have any idea to simplify this, I'll take :thumbup

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy