Read all event logs, if new events - copy to clipboard
Top  Previous  Next


// Read new events from the event log on \\EDU12, \\EDU13 and \\EDU14
// If new events:
//   Copy the event ID:s to the clipboard

[Settings_Begin]
FileType=NTreport
NTinfo.Name.All.Rows=Yes
NTinfo.Event.Log=Yes
NTinfo.Event.Log.Log=*ALL*
NTinfo.Event.Log.Date=*NEW*
NTreport.Delimiter=,
[Settings_End]

[Machines_Begin]
\\EDU12
\\EDU13
\\EDU14
[Machines_End]

[Batch_Begin]
Clear.Window Main
Get.Data *LIST*
If Main
Write.Clipboard Main ; %col7%
Endif
[Batch_End]