Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: need task schedule with event data, not just ID for trigger

22 Apr 2014   #1

win7 home premium 64 bit
 
 
need task schedule with event data, not just ID for trigger

I need to differentiate two tasks that use the same event ID but data is different.
Any suggestions?
Thanks,
Ray


My System SpecsSystem Spec
.

22 Apr 2014   #2

win7 home premium 64 bit
 
 

Here are the two events:
1.
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="AudioSwitcher" />

<EventID Qualifiers="0">1</EventID>

<Level>4</Level>

<Task>0</Task>

<Keywords>0x80000000000000</Keywords>

<TimeCreated SystemTime="2014-04-22T13:38:47.000000000Z" />

<EventRecordID>40684</EventRecordID>

<Channel>Application</Channel>

<Computer>TCVBD-2900-X4</Computer>

<Security />

</System>


- <EventData>
<Data>Speakers</Data>

</EventData>


</Event>

2.


<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="AudioSwitcher" />
<EventID Qualifiers="0">1</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-04-22T13:18:28.000000000Z" />
<EventRecordID>40679</EventRecordID>
<Channel>Application</Channel>
<Computer>TCVBD-2900-X4</Computer>
<Security />
</System>
- <EventData>
<Data>Headset Earphone</Data>
</EventData>
</Event>


I tried this xml filter:
<QueryList>
<Query Id="0" Path="Application">
<Select Path="Application">*[EventData[Data='Headset Earphone']]</Select>
<Select Path="Application">*</Select>
</Query>
</QueryList>
but it seems there was no filter
Help!
Thanks,
Ray
My System SpecsSystem Spec
Reply

 need task schedule with event data, not just ID for trigger




Thread Tools



Similar help and support threads for2: need task schedule with event data, not just ID for trigger
Thread Forum
Task Scheduler recognizes only first trigger Performance & Maintenance
Solved Task scheduler: trigger on screensaver event possible? Performance & Maintenance
Trigger shadow copies onec file is open (not calendar-based schedule) Backup and Restore
Help with using idle trigger in Win Task Scheduler Performance & Maintenance
schedule a task to trigger on firefox's launch Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:25 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33