Jump to content

Recommended Posts

Posted

I have a RouterSoftware for my Bluetooth device to connect to my cellphone.

Certainly I do not switch the Bluetooth function on in my cellphone and

get some cointinuesly disturbing popups. (software Setups will not do)

So I thought to have a scripts to stop 2 known porcesses which I can

stop manualy to stop it.

Is there a shortcut to stop these ?

Regards to All

Posted

Hi,

I don't understand what u want exactly. :lmao:

But u can use :

ProcessClose("notepad.exe")

$PID = ProcessExists("notepad.exe") ; Will return the PID or 0 if the process isn't found.

If $PID Then ProcessClose($PID)

regards,

Andre

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Posted

Hi Andre

Sure Notepad closes

But my Process , which I can see in Windows Taskmanager Processes Tab, does not.

ProcessClose("mRouterWidCommSupport14.exe")

$PID = ProcessExists("mRouterWidCommSupport14.exe")

If $PID Then ProcessClose($PID)

or this one

ProcessClose("mRouterRuntime.exe")

$PID = ProcessExists("mRouterRuntime.exe")

If $PID Then ProcessClose($PID)

Using the Task Manager I can close those processes

/Cem

Posted (edited)

Hi Cem,

The processclose function needs the psapi.dll which should be in the AutoIt directory, perhaps it's missing.

Try this also :

$Pid = ProcessExists('mrouterruntime.exe')

If $Pid Then MsgBox(4096,'process id','id = ' & $Pid)

Andre

Edited by Andre
What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Posted

Andre

looks like there is happing something

but it does not stop the proecess

Here the Info I got out with Security Task Manager

mRouterRuntime Module 42% 2236 10,4 MB C:\Program Files\Intuwave\Shared\mRouterRuntime\mRouterRuntime.exe Program 13:43:54 DDE Server Window Intuwave Ltd. : mRouter

mRouterWidCommSupport14 Module 42% 4656 6,6 MB 0:01 C:\Program Files\Intuwave\Shared\mRouterRunTime\mRouterWidCommSupport14.exe Program 13:45:33 Intuwave Ltd. : mRouter

/Cem

Posted

Hmm,

doesn't say me a thing, but did u try my last example ?

Andre

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Posted

Yes I did !

ProcessClose("mRouterRuntime.exe")

$Pid = ProcessExists('mrouterruntime.exe')

If $Pid Then MsgBox(4096,'process id','id = ' & $Pid)

But it does not stopp the process

/Cem

Posted

Cem,

Try this only !!!

$Pid = ProcessExists('mrouterruntime.exe')

If $Pid Then MsgBox(4096,'process id','id = ' & $Pid)

Should return the PID of the process.

Andre

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Posted

-> Should return the PID of the process.

So what after that there is no MessageBox to see

Is ther no PID ?

I can see the PID number in the Task Manager

there it is 2236

/Cem

Posted

If u don't get the Pid in the messagebox then perhaps u made an typo error in the processname ?

Andre

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Posted

Thats wright !

it was not mRouterRuntime.exe

and should be mRouterRuntime.

like its in the Taskmanager

olé

whats next I think is that I have to edit the upper scripts

to come to an end

/Cem

Posted

Give it a try and let me know.

Andre

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Posted

In Bold the script which is now working fine

Thanks a lot to Andre

$Pid = ProcessExists('mRouterRuntime.')

If $Pid Then MsgBox(4096,'process id','id = ' & $Pid)

ProcessClose("mRouterRuntime.exe")

$PID = ProcessExists("mRouterRuntime.")

If $PID Then ProcessClose($PID)

$Pid = ProcessExists('mRouterWidCommS')

If $Pid Then MsgBox(4096,'process id','id = ' & $Pid)

ProcessClose("mRouterWidCommSupport14.exe")

$PID = ProcessExists("mRouterWidCommS")

If $PID Then ProcessClose($PID)

Regards

Cem

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