Supportnet Computer
Planet of Tech

Supportnet / Forum / Skripte(PHP,ASP,Perl...)

VBscript





Frage

Gibt's eine Möglichkeit die aktuell bereits aktiven Anwendungen unter Windows (95/98/ME) in VBscript abzufragen ggf. mit "Fenster-Status". Habe nichts gefunden. Selbst das alte Winword 6.0 konnte das!

Antwort 1 von struppi

Hallo,
Dann benutze doch Word über das VBS..

Beispiel:

set Word = CreateObject("word.Application")
word.visible = false

for each t in  word.tasks
liste = liste & t.name & vbcrlf
next
'set zon = word.tasks(8)
'Msgbox zon.creator

Msgbox Liste
with  word.system
     Info = "Prcessor :" &  .ProcessorType & vbcr _
          & "Standort :" &  .Country & vbcr _ 
          & "ProcessNummer :" &  .Creator & vbcr _ 
          & "FreeSpace :" &  .FreeDiskSpace \ 1048576 & vbcr _ 
          & "Horizontal :" &  .HorizontalResolution & vbcr _                 
          & "Language :" &  .LanguageDesignation & vbcr _ 
          & "OperatingSystem :" &  .OperatingSystem & vbcr _ 
          & "Vertikal :" &  .VerticalResolution & vbcr
         






end with
Msgbox info
word.quit 

gruß struppi


Ich möchte kostenlos eine Frage an die Mitglieder stellen:


Ähnliche Themen:


Suche in allen vorhandenen Beiträgen: