Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 05:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



winxp shutdown msg + abort (autoit?)

Discussion on winxp shutdown msg + abort (autoit?) within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2004
Posts: 1,460
Received Thanks: 70
winxp shutdown msg + abort (autoit?)

Hey, i´m searching for some hints to solve the following problem:
Everytime i click on start -> Shutdown, the shutdown progress should abort and a message like "bla bla do you rly rly ryl want to shutdown ?" should appear.


Is there any way to use Autoit like p.e.:
$start_button_coordinates = 534,234,234,234
function = "abbort shutdown and popup the meassage"
onclick($start_button_coordinates,function)

thanks in advance
Mizu is offline  
Old 07/02/2008, 11:58   #2
 
elite*gold: 0
Join Date: Nov 2007
Posts: 439
Received Thanks: 75
Dont know how to use this with au3 and dont know if its possible... , but u can try with a mousehook and a special region of shutdownbutton
wadimwadim is offline  
Old 07/02/2008, 18:31   #3
 
elite*gold: 0
Join Date: Jan 2007
Posts: 1,753
Received Thanks: 443
simply write a script which asks for it name it shutdown.exe
and rename the original one to shutdown_orig.exe

and then place your script @windows dir

e.g.

Code:
$return = msgbox(4,"Shutdown","Do you realy want to shut down Your system?")
if $return = 6 then run(@windowsdir&"\system32\shutdown_orig.exe -s")
exit
should work @ xp
sometimes windows deletes your script and replaces it with the original shutdown.exe

in this case u have to rename all shutdown.exe in the whole windows dir (system32 & dllcache and so on)

maybe this helps u

bzw i hate english xD
Azunai is offline  
Old 07/03/2008, 11:56   #4
 
elite*gold: 0
Join Date: Apr 2004
Posts: 1,460
Received Thanks: 70
shutdown.exe will be replaced at every startup, so nogo ^^
i disabled the shutdown via regestry and wrot a little shutdown script myself so this prob is solved ^^

PHP Code:
#include <GUIConstantsEx.au3>

Opt('MustDeclareVars'1)

Feierabend()

Func Feierabend()
    
Local , , , , , 
    
GUICreate("Feierabend",320,100

    
Opt("GUICoordMode"2)
     = 
GUICtrlCreateButton("Herunterfahren"1030100)
     = 
GUICtrlCreateButton("Abmelden"0, -1)
     = 
GUICtrlCreateButton("Neustart"0, -1)
     = 
GUICtrlCreateButton("Abbrechen", -100, +2)
     = 
GUICtrlCreateButton("mTime starten", -300, -1)
    
GUISetState()   
     
MsgBox(0'mTime''mTime eingetragen?'


    While 
1
         
GUIGetMsg()
        
Select
            
Case  = 
                
ExitLoop
            
Case  = 
                
Run('shutdown.exe -s -f')    
            Case  = 
                
Run('shutdown.exe -l')      
            Case  = 
                
Run('shutdown.exe -r -t 00')         
            Case  = 
                Exit 
1
            
Case  = 
                
Run('mtime/Mtime2008Desktop_Client.exe')
                Exit 
1
        EndSelect
    WEnd
EndFunc 
Mizu is offline  
Old 07/03/2008, 12:06   #5
 
elite*gold: 0
Join Date: Nov 2007
Posts: 439
Received Thanks: 75
wozu brauchst du das eigentlich?
wadimwadim is offline  
Old 07/03/2008, 15:36   #6
 
elite*gold: 0
Join Date: Jan 2007
Posts: 1,753
Received Thanks: 443
wtf da is er deutsch xD
Azunai is offline  
Old 07/07/2008, 13:07   #7
 
elite*gold: 0
Join Date: Apr 2004
Posts: 1,460
Received Thanks: 70
Quote:
Originally Posted by wadimwadim View Post
wozu brauchst du das eigentlich?
Weils mein cheffe so will ^^
Mizu is offline  
Reply


Similar Threads Similar Threads
[AutoIt]Shutdown-Bot
03/09/2010 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 5 Replies
hier ist etwas neues von mir :D ES IST EIN SINNLOSER BOT!! xD ER FÄHRT DEN PC NACH DER ANGEGEBENEN ZEIT HERRUNTER!!! VLLT KANN ES JMD GEBRAUCHEN SO ZUM BOTTEN ALGEMEIN
SP3 winXP da
05/02/2008 - Off Topic - 30 Replies
Jap endlich is die vollversion des service pack 3 für windows xp erhältlich. Wer sie noch nicht hat, viel spass damit. Ist zwar nur ne sammlung von alles patches aber wird sicher trotzdem was bringen. Wer sie noch nicht hat ... Windows XP - Service Pack 3 - Download - CHIP Online
Abbrechen der Flugroute/Abort the flightpath
05/03/2006 - WoW Exploits, Hacks, Tools & Macros - 0 Replies
Mit 1.10 wurde ja die schöne Funktion eingeführt das wenn man über mehre Flugpunkte an sein Ziel muss, WoW automatisch die Zwischenstationen überfliegt. Ein Bsp.: Wenn ihr gerade auf dem Weg von Orgrimmar nach Sillithus seit und auf einmal euch einfällt das ihr ja nochmal in Tanaris Stop machen wollt...Dann loggt euch einfach aus und wieder neu ein...schon stoppt ihr an dem nächsten Flugpunkt. Im Grunde ganz einfach nach einem Relog vergisst WoW die komplette Route und merkt/führt aus die...
L2Walker attack and abort
08/31/2005 - Lineage 2 - 5 Replies
L2walker is working fine except that he in combat mode selects a target walks a bit stops selects another target, stops selects another target, without attacking one of them.. could somebody please help me with this bug?



All times are GMT +1. The time now is 05:34.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.