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
rnewman

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
rnewman

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
Thread Forum
Task scheduler: trigger on screensaver event possible?
I got task scheduler to run a sync utility when the (on idle) trigger occurs. However, it would trigger while I am watching a full screen movie or video and exit out. Is there anyway to fix this? If not, I noticed my screen saver doesn't get initialize while watching a movie or video in full...
Performance & Maintenance
Task Schedule err msg: corrupted task image
I don't use Task Scheduler at all and I've seen this err msg before, so I've never bothered to clean that up. But now I want to do that. The err messages are many, each one popping up with a different task name. But eventually the long string of popups end. You have to click the OK button...
Software
Is there a trigger for a task schedule to shutdown
I want to ensure that when I shutdown certain critical files have been copied to an alternate location. I have viewed a great number of tips and tutorials which show how to create a shutdown task. eg...
Performance & Maintenance
Task Scheduler recognizes only first trigger
Hi, the problem is if I create a new task for the task scheduler which is having multiple triggers, only the first entered trigger is recogized and used. E.g., I have two weekly triggers to execute a program. The first selects Mon, Tue, Wed, Thu, and Fri to run the program. The second...
Performance & Maintenance
schedule a task to trigger on firefox's launch
I want to schedule a task to launch when I open Firefox 3.6.4, but I can't understand the options that I need to change. Can someone give me directions as to where I can find the menu option to use Firefox as the trigger (see menu below to see where I was searching for FF)?
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 03:13.
Twitter Facebook Google+