zFrank Posted August 17, 2008 Posted August 17, 2008 hi, anyone knows how to change the windows start button placed at the right side of bottom? someone told me about editing of Explorer.exe to change it but i want to know if is it possible using AutoIt. i also want to know how it will work. many thanks in advance for the help! [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk"
zFrank Posted August 17, 2008 Author Posted August 17, 2008 i just want to rename it. [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk"
Moderators SmOke_N Posted August 17, 2008 Moderators Posted August 17, 2008 ControlSetText("[CLASS:Shell_TrayWnd]", "", "[CLASS:Button; INSTANCE:1]", "Name") But you'd probably have to have it in a loop. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
ChrisL Posted August 17, 2008 Posted August 17, 2008 This is an imature script we put on a couple of computers at work and I still have a job! expandcollapse popupOpt('WinTitleMatchMode', 4) HotKeySet("{F8}", '_Exit') Opt("Trayiconhide",1) $hwnd = WinGetHandle("classname=Shell_TrayWnd","Notification Area") $HwndPos=WinGetPos($hwnd) $StartX = $HwndPos[3] * 3.25 $StartY = @desktopHeight - $HwndPos[3] $CockCount = 0 _ChangeStartButton() Func _ChangeStartButton() While 1 $mpos = MouseGetPos() If $mpos[0] <= $StartX AND $mpos[1] >= $StartY Then ControlSetText($hwnd,"", "Button1", 'Cock') While $mpos[0] <= $StartX AND $mpos[1] >= $StartY $mpos = MouseGetPos() GuiGetMsg() WEnd $CockCount +=1 If $Cockcount >= 10 Then Msgbox (0,"","You love cock") $CockCount = 0 EndIf Else If ControlGetText($hwnd,"", "Button1") <> "Start" then ControlSetText($hwnd,"", "Button1", 'Start') EndIf GuiGetMsg() Wend EndFunc Func OnAutoitExit() If ControlGetText($hwnd,"", "Button1") <> "Start" then ControlSetText($hwnd,"", "Button1", 'Start') EndFunc Func _Exit() Exit 0 EndFunc [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
zFrank Posted August 17, 2008 Author Posted August 17, 2008 Thanks for reply but i dont want to hide the start button i just want to rename it like this using autoit.and/or like thisany example? [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk"
AdmiralAlkex Posted August 17, 2008 Posted August 17, 2008 Both the codes above does that, what more do you need? (ControlSetText()) .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
zFrank Posted August 17, 2008 Author Posted August 17, 2008 i just need a little example... anyone? [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk"
AdmiralAlkex Posted August 17, 2008 Posted August 17, 2008 the one by ChrisL (POST4) works just fine, why don't you use that as a base to build your own script? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
zFrank Posted August 17, 2008 Author Posted August 17, 2008 ya i know it is working fine but on next Restart... again changed to default. i want to rename it permanently without running any exe each time windows start. [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk"
ChrisL Posted August 17, 2008 Posted August 17, 2008 ya i know it is working fine but on next Restart... again changed to default. i want to rename it permanently without running any exe each time windows start.You can't I don't think [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
ChrisL Posted August 17, 2008 Posted August 17, 2008 You can't I don't thinkThinking about it you probably could but you'd have to reshack explorer [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
NELyon Posted August 17, 2008 Posted August 17, 2008 Thinking about it you probably could but you'd have to reshack explorerYou can by modifying the explorer.exe file. That's the common way of doing it. Otherwise, you'll need a script to run on Startup.
zFrank Posted August 17, 2008 Author Posted August 17, 2008 yes, but how it will work. i know it can be done using ResHacker. but how to do it using autoit? [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk"
NELyon Posted August 17, 2008 Posted August 17, 2008 Otherwise, you'll need a script to run on Startup.
zFrank Posted August 17, 2008 Author Posted August 17, 2008 i am thinking to use ResHacker like AutoIt Exe Wrapper uses but i have no idea how to do it or how it will work. [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk"
zFrank Posted August 17, 2008 Author Posted August 17, 2008 this software can rename the start button instantly forever without restarting and/or editing the explorer.exe. after renaming the start button it will remain as you will rename it. anybody have idea how it works and/or how to do it using autoit? [font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php$Life = "Happy" If @Error Then $Life = "Risk"
TehWhale Posted August 17, 2008 Posted August 17, 2008 this software can rename the start button instantly forever without restarting and/or editing the explorer.exe. after renaming the start button it will remain as you will rename it. anybody have idea how it works and/or how to do it using autoit?Maybe we should REQUOTE THIS AGAIN.Otherwise, you'll need a script to run on Startup.Without AutoIt: Reshack Explorer.exe
ChrisL Posted August 17, 2008 Posted August 17, 2008 You can't do it permanently with AutoIT, you have to use Reshack to hack explorer. You have to open Explorer.exe in Reshacker and find the Section for the Start button, change the string value. Save the file. Now you could do 1 of 2 things. First you Could replace the Explorer.exe with your newly reshacked file, so you'd need to stop explorer. rename explorer.exe explorer.old and put your newly reshacked file in it's place. Explorer.new > explorer.exe Or in the Shell section in the registry which runs Explorer as the shell you would change it to point to your new file. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon Shell="MyNewHackedExplorer.exe [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
Mobius Posted August 17, 2008 Posted August 17, 2008 Open explorer in reshacker, navigate to stringtable resources, and select resource id 38. should look something like this ::STRINGTABLELANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US{593, "Notification Area"594, "Running Applications"595, "Start"603, "The application is either too busy or unable to respond to your request to close."604, "Forcing it to close may cause that application to lose data. Do you want to force it to close?"}save this to file because I assume you are trying to automate this process!? I will call this file modstrtbl.tmpModify string ID 595 to whatever you wish. and execute ::ResHacker.exe -addoverwrite "...\explorer.exe","...\myExpl.exe","modstrtbl.tmp",STRINGTABLE,38,1033Look above for how to change shell.Respect
Erbl Posted September 4, 2008 Posted September 4, 2008 I used Reshacker to do this followed the instructions above and wasn't that successful as my Virtual PC xp stopped working, so please be careful
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