Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Problems with the way Windows handles processess.

05 Apr 2014   #1
meb

Win 7 64x
 
 
Problems with the way Windows handles processess.

Well here they are, I'm a little hard of english; but I tried to phrase them the best I could:
In Windows 7 Ultimate 64X is their anyway to have another follow in the foot steps of 'explorer.exe' i.e. meaning that it will start or restart another whens starts.


I run an auto text completion program; every so often it goes idle and I have to manually end the process and restart it.. Is their anyway to have the operating system do for me?



Sincerely,
Matthew Edward Becker




My System SpecsSystem Spec
.

05 Apr 2014   #2
nooruddin76

Windows 7 Home Premium
 
 

My System SpecsSystem Spec
05 Apr 2014   #3
MilesAhead

Windows 7 32 bit
 
 

The code is untested. The way it should work is you click on the window of the program you wish to kill and restart to make it the active window. Then press hotkey Control Shift F12. Of course the program must be running in the tray to catch the hotkey press. You should be prompted you wish to restart the program. If you click Yes the program is closed. After 3 seconds it is run. There won't be any command line arguments as they cannot be gotten consistently enough to depend on that behavior.

Anyway give the script a try. The atatched file MilesAhead.ahk should be in the same folder as this script. Save this script with an ahk extension. Maybe Restart.ahk

Go to AutoHotkey for free ahk tools.

Code:
#Include MilesAhead.ahk
ppath := ""
pname := ""
;for now use Control Shift F12 as hotkey
^+F12::
ppath := WinGetProcessPath("A")
if (ErrorLevel)
{
  SoundPlay,*16
  return
}
pname := _FileName(ppath)
Process,Exist,%pname%
If (! ErrorLevel)
{
  SoundPlay,*16
  return
}
MsgBox,4,Application Restarter,Restart %ppath%  ??
If MsgBox Yes
{
  Process, Close,%pname%
  Sleep, 3000
  Run,%ppath%
}
return
MilesAhead.zip


My System SpecsSystem Spec
.


Reply

 Problems with the way Windows handles processess.




Thread Tools





Similar help and support threads
Thread Forum
Zzcuvlo.eve is taking up memory in processess!! what is it?
I have no idea where this came from but I do a lot of work in Photoshop, Premiere etc and I started to notice my computer started to lag as of late and I did some searching and found that in my processes "Ctrl+alt+delete) there is a whole bunch of the same process (Zzcuvlo.exe) running and taking...
General Discussion
Registry location that handles log on screen
I have some pesky co-workers who like torturing me via the remote shutdown commands, and because of Group Policy here at work I cannot go to Windows Settings > Security Settings > Local Policies > User Rights Assignments: and administratively remove the "admin" from "force shutdown from a remote...
General Discussion
lsass,exe leaking resources (handles)
I noticed yesterday extreme handle usage on my system, over 120k handles, of which 80k were due to lsass.exe which is a unkillable process. The security accounts manager service is not stoppable also which uses lsass.exe. Today after I rebooted I see its not a one off problem and its leaking...
General Discussion
Gadget handles
Is it possible to not show a gadget's handle (close, options & drag gadget pad that appear by its side on mouse-over)? I'm using a few (more or less) transparent gadgets, but the handles kind~of ruin the effect. Thanks for the help!
Gadgets
Program for watching processess,and some kind of memory
So I need a program which could be able to show me even hidden processess,and how much memory is consumed where,but don't know which one is compatible(and free if possible) I have downloaded some iso,but there was some kind of trojan inside.I estracted it and deleted later,but harm was already...
Performance & Maintenance
Resource Monitor - View Handles and Modules
How to Use Resource Monitor to View Handles and Modules in Windows 7 and Windows 8 This tutorial will show you how to use Resource Monitor to see which handles and modules are in use by a selected process that is running in Windows 7 and Windows 8. Handles are pointers that refer to system...
Tutorials

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:41.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App