kenbo Posted October 16, 2005 Share Posted October 16, 2005 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 Link to comment Share on other sites More sharing options...
ChrisL Posted October 16, 2005 Share Posted October 16, 2005 Start menu is Ctrl and ESC.. dont know about the rest [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
ChrisL Posted October 16, 2005 Share Posted October 16, 2005 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 [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
kenbo Posted October 16, 2005 Author Share Posted October 16, 2005 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 scriptThanks 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 Link to comment Share on other sites More sharing options...
herewasplato Posted October 16, 2005 Share Posted October 16, 2005 ...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] Link to comment Share on other sites More sharing options...
kenbo Posted October 16, 2005 Author Share Posted October 16, 2005 ...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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now