|
Navigation: Plugin Editor > Plugin Aufbau > Aktionen > Process |
|
actiontype= proc
ActionTYPESPECIFIC = KILL|CREATE|CREATEANDWAIT
Falls CREATE, dann CREATE|FILEPATH
Startet den Prozess und führt Folgeaktionen sofort aus
Beispiel:
ACTION1=proc|CREATE|%OWN%\Signatur.exe
Startet die Datei Signatur.exe, die sich im Anwendungspfad befinden muss. Eine Folgeaktion wird sofort ausgeführt.
Falls CREATEANDWAIT, dann CREATEANDWAIT|FILEPATH
Beispiel:
ACTION1=proc|CREATEANDWAIT|%OWN%\Signatur.exe
Startet die Datei Signatur.exe, die sich im Anwendungspfad befinden muss. Eine Folgeaktion wird erst ausgeführt, wenn Signatur.exe beendet wurde.
Falls KILL, dann KILL|(HASH|FILENAME|FULLPATH)|(<Hashwert>,<DateinameOhnePfad>,<Dateiname mit Pfad>)
Beispiel:
ACTION1=proc|KILL|HASH| 4ADCFFBAF057D719E58F3BCF47EACB314ADCFFBAF057D719E58F3BCF47EACB31
Killt den Prozess, dessen Datei den Hashwert 4ADCFFBAF057D719E58F3BCF47EACB314ADCFFBAF057D719E58F3BCF47EACB31 liefert.
Die Methode HASH ist sehr genau. Sie stellt sicher, dass ein genaues Abbild der Ausgangsdatei berücksichtigt wird. Dabei ist es gleich, wenn die ausführbare Datei umbenannt wurde. Wichtig ist lediglich der Inhalt der ausführbaren Datei.
Beispiel:
Das Beispiel ActionScript:
- Startet Notepad im Windows Verzeichnis, wartet dabei nicht auf das Beenden des Prozesses.
- Startet Calc im Systemverzeichnis und wartet darauf, dass der Taschenrechner beendet wird
- Sobald Calc beendet wird, wird Notepad automatisch beendet
[1]
Name=Kill Notepad
Parent=System
ShortHelp=Kill NotePad
Symbol=Dateisuche.ico
action1=proc|CREATE|%WINDIR%\notepad.exe
action2=proc|CREATEANDWAIT|%SYSTEM%\calc.exe
action3=Proc|KILL|FILENAME|notepad.exe
Seitenadresse: http://www.ArchiCrypt.com/shredder5/index.html?proc.htm