PMS32 Online- Hilfereferenz

MY.SYSTEMS.WSHELL

WShell - Windows System Objekt


Hilfe: Windows Shell Funktionen
Windows System Objekt


Code: Windows Shell Funktionen
*/ Kurzbeispiel für den Zugriff auf diese Struktur
*/ Der Zugriff erfolgt über: My.Systems.WShell
*/ Wird dieses Objekt in einem REPLACE oder einer Schleife SCAN ... ENDSCAN | FOR ... NEXT benötigt
*/ so sollte vor der Schleife die Objektstruktur in eine Variable geholt werden!
*/ Die Ausführungsgeschwindigkeit wird dadurch sehr vergrößert!
*/ Beispiel:
*/ Definieren einer LOKALEN Variablen
LOCAL loWShell AS My.Systems.WShell
*/ Setzen der Variablen
loWShell = My.Systems.WShell
*/ Jetzt erst die Schleifen durchlaufen... man beachte ALL, dass können ne Menge Sätze sein...
REPLACE ALL Feldname1 WITH loWShell.Function1(),Feldname2 WITH loWShell.Function1(), ...
*/ Oder in einer Schleife...
SCAN
	lvValue = loWShell.Function(Alias.Spalte) + 25
	lvValue = loWShell.Function2(m.lvValue)
	REPLACE Feldname WITH m.lvValue,...
ENDSCAN
*/ Es sind auch geschachtelte Aufrufe möglich...

Memberliste von WShell


Liste der Methoden von WShell


AppActivate() - WShell Method or Property


Hilfeinformation

Aufrufinformation
Variant = My.Systems.WShell.AppActivate(App as Variant,Wait as Variant)
Variant = My.Systems.WShell.AppActivate(App,Wait)
Codeinformation


CreateShortcut() - WShell Method or Property


Hilfeinformation

Aufrufinformation
Variant = My.Systems.WShell.CreateShortcut(PathLink as String)
Variant = My.Systems.WShell.CreateShortcut(PathLink)
Codeinformation


Exec() - WShell Method or Property


Hilfeinformation

Aufrufinformation
Variant = My.Systems.WShell.Exec(Command as String)
Variant = My.Systems.WShell.Exec(Command)
Codeinformation


ExpandEnvironmentStrings() - WShell Method or Property


Hilfeinformation

Aufrufinformation
Variant = My.Systems.WShell.ExpandEnvironmentStrings(Src as String)
Variant = My.Systems.WShell.ExpandEnvironmentStrings(Src)
Codeinformation


LogEvent() - WShell Method or Property


Hilfeinformation

Aufrufinformation
Variant = My.Systems.WShell.LogEvent(Type as Variant,Message as String,Target as String)
Variant = My.Systems.WShell.LogEvent(Type,Message,Target)
Codeinformation


Popup() - WShell Method or Property


Hilfeinformation

Aufrufinformation
Variant = My.Systems.WShell.Popup(Text as String,SecondsToWait as Variant,Title as Variant,Type as Variant)
Variant = My.Systems.WShell.Popup(Text,SecondsToWait,Title,Type)
Codeinformation


RegDelete() - WShell Method or Property


Hilfeinformation

Aufrufinformation
Variant = My.Systems.WShell.RegDelete(Name as String)
Variant = My.Systems.WShell.RegDelete(Name)
Codeinformation


RegRead() - WShell Method or Property


Hilfeinformation

Aufrufinformation
Variant = My.Systems.WShell.RegRead(Name as String)
Variant = My.Systems.WShell.RegRead(Name)
Codeinformation


RegWrite() - WShell Method or Property


Hilfeinformation

Aufrufinformation
Variant = My.Systems.WShell.RegWrite(Name as String,Value as Variant,Type as Variant)
Variant = My.Systems.WShell.RegWrite(Name,Value,Type)
Codeinformation


Run() - WShell Method or Property


Hilfeinformation

Aufrufinformation
Variant = My.Systems.WShell.Run(Command as String,WindowStyle as Variant,WaitOnReturn as Variant)
Variant = My.Systems.WShell.Run(Command,WindowStyle,WaitOnReturn)
Codeinformation


SendKeys() - WShell Method or Property


Hilfeinformation

Aufrufinformation
Variant = My.Systems.WShell.SendKeys(Keys as String,Wait as Variant)
Variant = My.Systems.WShell.SendKeys(Keys,Wait)
Codeinformation


Liste der Properties von WShell


CurrentDirectory - WShell Method or Property


Hilfeinformation

Aufrufinformation
String = My.Systems.WShell.CurrentDirectory
Codeinformation


Environment - WShell Method or Property


Hilfeinformation

Aufrufinformation
Dispatch#IWshEnviron = My.Systems.WShell.Environment
Codeinformation


SpecialFolders - WShell Method or Property


Hilfeinformation

Aufrufinformation
Dispatch#IWshCollect = My.Systems.WShell.SpecialFolders
Codeinformation


Siehe auch : Hauptmenü /  Hauptindex /  Such Index /  Cursor Index /  Programm Module /  Tabellen Index /  Tabellenmodule /  Masken Index /  Programmcode Index /  Servicepacks /  My.Struktur /  Funktionen /  Sonstiges Index

Lokale Benutzerhilfe : Meine eigene Hilfe /  Zurück zur PMS32 - Hilfe


Dateiversion:1.0.04#3648 - H.U.DD#SSFF 02.12.2022  Senden Sie Ihren Kommentar zu diesem Thema an das Entwicklungsteam von PMS32  Weitere Informationen finden Sie unter der aktuellen PMS32 WEB-Hilfe
Die Informationen dieser Mitteilung sind vertraulich und nur für Sie bestimmt. Unbefugtes Weiterleiten,  Veröffentlichen, Kopieren usw. sind untersagt und werden gerichtlich verfolgt.  © PMS Compelec GmbH 2022 ® el-Projekt