Posts

Showing posts from December 15, 2018

How to compute center of gravity of trapezoid

Image
up vote 0 down vote favorite Hot to compute the mediana / center of gravity of trapezoid in analytical geometry? Greetings from Poland! geometry share | cite | improve this question edited Nov 28 at 2:17 Rócherz 2,741 2 7 21 asked Nov 28 at 2:15 DaveG 1 1 30;1? Is the 1 corr

Accessing results of event viewer value query in task scheduler action

Image
up vote 0 down vote favorite I'm trying to implement a scheduled task in Windows 10. The task is triggered by multiple events, I want to pass the event ID that triggered the task to the action. So I have the following value query: <ValueQueries> <Value name="eventID">Event/System/EventID</Value> </ValueQueries> And the arguments in the ExecAction: <Arguments>--event $(eventID)</Arguments> But when the task is triggered, I get an error code: 2147942409 Translating that to Hex is 0x80070009. Windows error? "Storage control block address is invalid" ? I don't understand what it's trying to tell me? The task executes fine without the $(eventID) on the command line (just doesn't do anything useful).