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: Event Triggering in Windows --anybody know how to do it.

01 Dec 2011   #1

W7 X-64 RTM,SUSE 11.1, XP PRO SP3 as a VM, VMware ESXi
 
 
Event Triggering in Windows --anybody know how to do it.

Hi all
It's AGES and AGES since I did any programming -- but is it possible to run some sort of script / program when say a user defined event occurs. I know most OS'es have some sort of event triggering mechanism but getting at it is the problem.

This sort of stuff is second nature in Linux but how to do it in Windows ??

It MUST be possible --for example you can set the system to play sounds on a whole series of events such as when Mail arrives or when you start / finish navigation. This says to me that there must be some sort of event triggering mechanism -but whether it's acessible via an API ??.

I don't really want to do a whole load of C++ -- probably wouldn't know how to anyway -- just a simple method (if there is one).

Cheers
jimbo

My System SpecsSystem Spec
01 Dec 2011   #2

MS Windows 7 Ultimate 64-bit SP1
 
 

Windows Control Panel Sound applet has some sort of this feature built in.

Open Control Panel - Sound - Sounds. This section has a limited set of events. I am not sure whether it is possible to add new events to this list.

You can also see the excellent tutorial on Sounds Change by Brink.

Some of our learned members should be able to throw some light on the programming part.
My System SpecsSystem Spec
01 Dec 2011   #3

Windows 7 X64 Professional
 
 

Quote   Quote: Originally Posted by jimbo45 View Post
Hi all
It's AGES and AGES since I did any programming -- but is it possible to run some sort of script / program when say a user defined event occurs. I know most OS'es have some sort of event triggering mechanism but getting at it is the problem.
Don't know if this is the kind of thing you're looking for but, maybe try the Task Scheduler. For example, I have a task set up to launch Pandora Radio at a specific time as an alarm clock.

Quote:
It MUST be possible --for example you can set the system to play sounds on a whole series of events such as when Mail arrives or when you start / finish navigation.
I use Thunderbird as my email client and you can set it up to "announce" when mail arrives in your in box. This is done within Thunderbird's preference settings. I also use Firefox as my browser. I use an add-on called Navigational Sounds that gives Firefox the same navigation sounds as Internet Explorer.

None of this is probably relevant to what you are trying to do though.
My System SpecsSystem Spec
.


03 Dec 2011   #4

Win 7 Ulitimate x64 - Signature Edition
 
 

I don't know how to set a trigger event, but I can get you to the Event Viewer, maybe it will help.
Just type "event viewer" in the Start button search box, click on event viewer.
My System SpecsSystem Spec
04 Dec 2011   #5

MS Windows 7 Ultimate 64-bit SP1
 
 

Darcy, the event viewer you mention is a windows log for all the events which includes information, warnings and critical errors which occur on windows and these logs are used for debugging the problems.

What the OP asking is for a event activated programs or scripts, which are fired upon certain events selected by the user. The Windows Event Viewer can not be of any help in this issue.
My System SpecsSystem Spec
04 Dec 2011   #6

 
 

In Windows Task Scheduler, you can get a "trigger" for your started event. There are 3 pulldown menus. First is "start task on sched", "at startup", "at idle" and one is "ON AN EVENT". Once you select that, then the next pulldown is the category of types of events, and once you select one of those, then the 3rd pulldown has subcategories.

I've never tried this, but it's pretty robust.
My System SpecsSystem Spec
04 Dec 2011   #7

Windows 7
 
 

My System SpecsSystem Spec
05 Dec 2011   #8

W7 X-64 RTM,SUSE 11.1, XP PRO SP3 as a VM, VMware ESXi
 
 

Hi all
Thanks for the suggestions -- I'll try these later and let you know the outcomes.
Thanks
jimbo
My System SpecsSystem Spec
Reply

 Event Triggering in Windows --anybody know how to do it.





Thread Tools



Similar help and support threads for2: Event Triggering in Windows --anybody know how to do it.
Thread Forum
Triggering a Scheduled Task Software
BSOD can't pinpoint what is triggering it BSOD Help and Support
Event 1001 BugCheck Event 41 Kernel-Power Event 4 k57nd60a BSOD Help and Support
WHEA-Logger event 18/19 errors in Event Viewer (W7 Home Premium) Hardware & Devices
Solved Event Viewer Error Message Event ID10 - How to get rid of it? BSOD Help and Support
Lid closure not triggering sleep or hibernate on laptop General Discussion
Event 18 WHEA-Logger Error in Event Viewer Hardware & Devices

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 10:30 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