Write to Windows event log: Difference between revisions
Content added Content deleted
(Added Wren) |
Alextretyak (talk | contribs) (Added 11l) |
||
Line 4: | Line 4: | ||
Write script status to the Windows Event Log |
Write script status to the Windows Event Log |
||
<br><br> |
<br><br> |
||
=={{header|11l}}== |
|||
{{trans|C}} |
|||
<lang 11l>:start: |
|||
I :argv.len != 5 |
|||
print(‘Usage : #. < Followed by level, id, source string and description>’.format(:argv[0])) |
|||
E |
|||
os:(‘EventCreate /t #. /id #. /l APPLICATION /so #. /d "#."’.format(:argv[1], :argv[2], :argv[3], :argv[4]))</lang> |
|||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |