Sign in to follow this  
Followers 0
kenbo

Control panel

6 posts in this topic

;)

I have been playing about with this scripting tool (AUTOIT 2 /3) on and off for a while. Using ver 3 at the moment, I would like to know if any of you clever people out can help with 2 things.

1) using the "send" command I need to Switch the XP control panel to to Classic and also check

and carry on to running the scripts?

2) Secondly is there a keyboard shortcut to XP "Taskbar and Start Menu" ?

3) Lastly how can I have a script run once for a every user who login to the machine for the first time? ( I no of Active setup).

regards

:P

Share this post


Link to post
Share on other sites



Apparently if you change the registry value

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

"ForceClassicControlPanel"=dword:00000001 then this forces classic view

"ForceClassicControlPanel"=dword:00000000 will switch it back to crappy XP view, you can change the registry with AutoIT or you could switch to the view you want and export the reg key and just run it in as part of your script

Share this post


Link to post
Share on other sites

Apparently if you change the registry value

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

"ForceClassicControlPanel"=dword:00000001 then this forces classic view

"ForceClassicControlPanel"=dword:00000000 will switch it back to crappy XP view, you can change the registry with AutoIT or you could switch to the view you want and export the reg key and just run it in as part of your script

Thanks Chris I will try that. I,m still working the script so WHen it's complete will send you a copy to have a look.

thank you

Share this post


Link to post
Share on other sites

...I need to Switch the XP control panel to to Classic...

...but why do you need to do this?

If it is because you like the classic look - then follow ChrisL's advice.

If it is because it is easier to send keys to that style of window - then might I suggest another approach:

Run("rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0","",@SW_HIDE)
You can replace "sysdm.cpl" file with the CPL file of interest.

You can search your system for the CPL files available.

You can search this site http://vbnet.mvps.org/index.html?code/system/controlpnl3.htm for more info on how to open some CPL files to a specific tab.

...Lastly how can I have a script run once for a every user who login to the machine for the first time?

I'm sure that there is a way to do it via the registry for each new user and RunOnce... maybe someone else can chime in.

later....


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

...but why do you need to do this?

If it is because you like the classic look - then follow ChrisL's advice.

If it is because it is easier to send keys to that style of window - then might I suggest another approach:

Run("rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0","",@SW_HIDE)
You can replace "sysdm.cpl" file with the CPL file of interest.

You can search your system for the CPL files available.

You can search this site http://vbnet.mvps.org/index.html?code/system/controlpnl3.htm for more info on how to open some CPL files to a specific tab.

I'm sure that there is a way to do it via the registry for each new user and RunOnce... maybe someone else can chime in.

later....

It's because I need to access the properties of the "Taskbar and Startmenu" I 'm just using simple "send" Commands to this scripts.

Chris, yeah man that worked fine.

thanks people.

peace out

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0