April 11, 200916 yr I'm still trying to wrap my head around this new Script Trigger feature, hopefully someone can point me in the right direction. I need there to be some type of audible cue when a field value changes, whether it be some sort of audio file playing, or just the "beep" command. I'm not picky as to how it does it - as long as it does it. Cheers, Matt
April 11, 200916 yr I'm assuming that you do not want a beep if the user enters the field, changes the value to something else and then changes it back to the original value. So, I'd write two scripts. The first simply captures the value in the field into a $$var. This runs as an OnObjectEnter trigger. The second script, compares $$var to the field value. If they don't match, it beeps (or shows a dialog, whatever). This script runs OnObjectSave.
April 12, 200916 yr Author I assume that'd only work on the end of the person who changes the value. Probably the easiest way to think of it is that I'd like to to work like your audio notifications would work in say, your email client. So you have 0 new messages, but when new messages changes to 1, it makes a sound. That's kind of what I'm trying to do. I'm trying to come up with a solution for a contracting company, and when a new job is entered in the system(by a receptionist for example), the new job value changes from 0 to 1 (for example), and a notification sound is made (on all other systems).
April 13, 200916 yr Just brainstorming... Is there a next step after a job is created that would change its status? For example, receptionist adds new job. The next step is to review the job record and approve it. If this is a reasonable scenario, you could simply have an ApprovedDate field in Jobs. Then, to "broadcast" unapproved jobs, you could have a portal on your Main Menu to unapproved jobs. You could wire into a navigation script a "beep" if there are any unapproved jobs. In my experience, users navigate around a lot, if only from list to form. So if you have a "beep" subscript that's called by each nav, you'd achieve the system-wide alert.
April 14, 200916 yr Author That would likely work, good thinking! I'll give it a shot. Thanks again, Matt
Create an account or sign in to comment