MSFN Forum: XP Command Line Visual Effects - MSFN Forum

Jump to content



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

XP Command Line Visual Effects Rate Topic: -----

#1 User is offline   StormLogiX 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 09-November 04

  Posted 18 November 2004 - 09:07 PM

I have written a small tool to select the Visual Effects Performance Options from the "System Options" control panel through command line.
Written with AutoIt3. The .au3 source code provided.

I'm talking about the visual effects settings which can be set by:
My Computer --> Right click, Properties --> System Options --> Advanced --> Visual Effects Settings.

There you can choose from:
  • "Let Windows choose what's best"
  • "Adjust for best appearance"
  • "Adjust for best performance"
  • "Custom"
The advantage of this is that it applies all settings right away without the need of rebooting first and the most important: no stupid .reg files with hundreds of lines spread all over registry in HKCU or HKLM or wherever and nobody really knows if it's working or not!!

So here it is:

XP Command Line Visual Effects

Usage:
visualeffects.exe <choice> [/titles="Title1";"Title2"] [/silent[=##]]

Choices:
   /auto                      select "Let Windows choose what's best"
   /appearance                select "Adjust for best appearance"
   /performance               select "Adjust for best performance"
   /custom=#########          select "Custom" (where # is 0 or 1 for each option, max 16 options)

Other Parameters:
   /titles="Title1";"Title2"  Specify the title of "System Properties" and "Performance
                              Options" of your language's Windows.
   /silent[=##]               Don't ask, just autodetect.
                              [Optional: timeout in seconds before continuing
                              (default = 1)].

Note:
German or English windows will be detected automatically.
All other languages must specify the title of "System Properties" and "Performance Options" of their language's Windows otherwise the script will try to autodetect the right windows' titles and ask for confirmation. Optionally you can provide /silent so no confirmation will be asked.

Examples:
   visualeffects.exe /custom=000101001
      --> select "Custom" with specified options (the rest of options will be asumed 0)
   visualeffects.exe /appearance /titles="Systemeigenschaften";"Leistungsoptionen"
      --> example for providing titles, in this case for German windows
   visualeffects.exe /performance /silent
      --> select "best performance" for any language's Windows without confirming (hopefully)



Have fun with it. :)
Hope it really works on every language Windows. Never tested it.

I recommend starting it with WIHU at RunOnceEx. Works perfectly for me.



Note:
This is another similar tool I found in this forum "VisualEffectsChangerXP" by smc1979.
http://www.msfn.org/board/index.php?showtopic=30078&st=0
My personal opinion: don't like that it needs an .ini file and basically just sets some registry and hence must reboot afterwards to take effect.
But interesting to read.



StormLogiX
© 1977

Attached File(s)




#2 User is offline   StormLogiX 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 09-November 04

Posted 18 November 2004 - 09:46 PM

Here's a screenshot

Attached File(s)



#3 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 18 November 2004 - 10:05 PM

looks well done.. ill test it now :)

EDIT: tested, i like it, BUT.. is there a way u can suppress the window popups?
so it doesnt open system properties window

#4 User is offline   StormLogiX 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 09-November 04

Posted 19 November 2004 - 09:34 AM

Quote

tested, i like it, BUT.. is there a way u can suppress the window popups?
so it doesnt open system properties window

Thanks that you liked it, and... nope, there isn't. I can hide it once it pops up but that will just flash the window for a few millisecond before hiding it, so it's no use. just the same as now.

But if someone can enhance my AutoIt3 script you're welcome :)


But looking at the option window, doing all the check box custom settings all by itself and automatically closing all windows afterwards... I find it cute :lol:

#5 User is offline   dthrckt 

  • Group: Members
  • Posts: 1
  • Joined: 20-April 09

Posted 20 April 2009 - 06:34 AM

i don't know about cute, but it works, thanks

#6 User is offline   gregh82 

  • Group: Members
  • Posts: 2
  • Joined: 04-October 09

Posted 04 October 2009 - 05:01 AM

Sorry to sound like a noob but will this work on computer that have already being setup and have users already log-on? Or does this only work when installing windows for teh first time?

Im going CRAZY trying to find a solution that will disable these visualeffects for machines that are already set-up.

cheers

#7 User is offline   --=ddSHADOW=-- 

  • --=ddSHADOW=--
  • PipPip
  • Group: Members
  • Posts: 209
  • Joined: 08-August 04

Posted 05 October 2009 - 06:52 AM

VERY NICE
@mods STICKY this topic

my setup

REG ADD %KEY%\000 /VE /D "Setting visual effects..." /f
REG ADD %KEY%\000 /V 1 /D "%systemdrive%\install\VisualEffects\visualeffects.exe /custom=0000000000110011 /silent" /f

#8 User is offline   MXM 

  • Group: Members
  • Posts: 2
  • Joined: 26-January 10

  Posted 26 January 2010 - 05:32 PM

View Postgregh82, on Oct 4 2009, 05:01 AM, said:

Sorry to sound like a noob but will this work on computer that have already being setup and have users already log-on? Or does this only work when installing windows for teh first time?

Im going CRAZY trying to find a solution that will disable these visualeffects for machines that are already set-up.

cheers



i am at this same point, can any1 tell if this works with pcs that have already created accounts? any special indication?

Thanks!

^

wel i just gave it the shot and it worked.... now wondering if it works on Vista.... hey is the author of this still around? pls msgme.

the line that works good enough for me is

................exe /performance /silent[1]

peace.

This post has been edited by MXM: 27 January 2010 - 01:27 PM


#9 User is offline   stockwel 

  • Group: Members
  • Posts: 1
  • Joined: 04-January 12
  • OS:none specified
  • Country: Country Flag

Posted 05 January 2012 - 09:50 AM

Thanks fr your great work! All is working well except my dialog box is not automagically closing after making my custom setting changes. Is this expected behavior or am I missing a setting. My .cmd file contains the following:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\000 /VE /D "Setting visual effects..." /f
REG ADD %KEY%\000 /V 1 /D "%windir%\system32\visualeffects.exe /custom=00000000001 /silent" /f


Thanks once again,
Andrea

#10 User is offline   up2late 

  • Group: Members
  • Posts: 1
  • Joined: 26-January 12
  • OS:none specified
  • Country: Country Flag

Posted 26 January 2012 - 02:13 PM

View Poststockwel, on 05 January 2012 - 09:50 AM, said:

Thanks fr your great work! All is working well except my dialog box is not automagically closing after making my custom setting changes. Is this expected behavior or am I missing a setting. My .cmd file contains the following:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\000 /VE /D "Setting visual effects..." /f
REG ADD %KEY%\000 /V 1 /D "%windir%\system32\visualeffects.exe /custom=00000000001 /silent" /f


Thanks once again,
Andrea



Mine seems to do something similar. Once it's set, the device works as expected. When rebooted and it runs again, it brings up the system properties and hangs. If I go in and change the value, then reboot, it works.

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