Jump to content

Recommended Posts

Posted

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"
  • Moderators
Posted

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.

Posted

This is an imature script we put on a couple of computers at work and I still have a job!

Opt('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
Posted
Posted

Thinking about it you probably could but you'd have to reshack explorer

You 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.

Posted

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"
Posted

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

Posted

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

Posted

Open explorer in reshacker, navigate to stringtable resources, and select resource id 38. should look something like this ::

STRINGTABLE

LANGUAGE 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.tmp

Modify string ID 595 to whatever you wish. and execute ::

ResHacker.exe -addoverwrite "...\explorer.exe","...\myExpl.exe","modstrtbl.tmp",STRINGTABLE,38,1033

Look above for how to change shell.

Respect

wtfpl-badge-1.png

  • 3 weeks later...
Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...