I have a need to manually select to over ride send email or not. It would be nice feature to have something that you could just activate to send email or not. In another words with a button to activate the script or not.
I realize you can create a DWS script, on days, times, etc... But unfortunately that script would execute everytime a call comes in.
I would like to have something to overide the script such as a master button press enable/disable so the scripts to send the email or not.
I'm sure there would be ways around this with DWS. But a quick button click would be greate.
Appreciate any input on this.
JT
On or Off Selection button to send email or not from script.
Re: On or Off Selection button to send email or not from scr
Hello JT,
Thank you for sharing your idea. To clarify, are you asking for a button or something similar that will enable or disable a particular script? Or all scripts? Or the "send mail" command? Or the "send mail" command in a particular script?
I assume that you're not looking for a confirmation window at the start of a script that asks whether you want to run the script...
I don't think there's a way to do what you're asking right now, but once I better understand it, I can think about how it might fit into a future version.
Finest regards,
Bill Root
Ascendis Software
Thank you for sharing your idea. To clarify, are you asking for a button or something similar that will enable or disable a particular script? Or all scripts? Or the "send mail" command? Or the "send mail" command in a particular script?
I assume that you're not looking for a confirmation window at the start of a script that asks whether you want to run the script...
I don't think there's a way to do what you're asking right now, but once I better understand it, I can think about how it might fit into a future version.
Finest regards,
Bill Root
Ascendis Software
Paging options
Sorry for not being that informative to my original wish request.
What would be nice, is to have a dialog box come and be able to select a start time and end time and what days of the week, you wish the paging options (default) be active.
I hope this explains it better.
Thanks! Great product.
JT
What would be nice, is to have a dialog box come and be able to select a start time and end time and what days of the week, you wish the paging options (default) be active.
I hope this explains it better.
Thanks! Great product.
JT
Re: Paging options
Hi JT,
Thanks for the clarification. I added this to the requested features list.
For now, you can use the following script and change the settings in the USER PARAMETERS section:
Paste the script into the Script Editor window to customize and use it. The Script Editor is only available for 'Advanced' actions. If you have any questions, please ask.
Finest regards,
Bill Root
Ascendis Software
Thanks for the clarification. I added this to the requested features list.
For now, you can use the following script and change the settings in the USER PARAMETERS section:
Code: Select all
/////////////////////////////////////////////////////////////////////////////
// This script sends email during the specified times and days
//
// Change values in USER PARAMETERS section as needed. You must at least
// change FROM_EMAIL and TO_EMAIL.
//
// Please make sure your mail settings are correct on the Mail page of the
// Options window.
//
// 02/13/05 WTR - created
/////////////////////////////////////////////////////////////////////////////
//LANGUAGE=DWS
/////////////////////////////////////////////////////////////////////////////
// CONSTANTS
//
// Don't change this section
/////////////////////////////////////////////////////////////////////////////
const SUNDAY = 1;
const MONDAY = 2;
const TUESDAY = 3;
const WEDNESDAY = 4;
const THURSDAY = 5;
const FRIDAY = 6;
const SATURDAY = 7;
/////////////////////////////////////////////////////////////////////////////
// USER PARAMETERS
//
// Change these values to match your needs
/////////////////////////////////////////////////////////////////////////////
// mail will be sent FROM this address
const FROM_EMAIL = 'myemail@myisp.com';
// mail will be sent TO this address
const TO_EMAIL = 'mycellphone@mycellularprovider.com';
// mail will be sent on START_DAY thru STOP_DAY
const START_DAY = MONDAY;
const STOP_DAY = FRIDAY;
// mail will be sent on START_TIME thru STOP_TIME
const START_TIME = '8 am';
const STOP_TIME = '5 pm';
/////////////////////////////////////////////////////////////////////////////
// CODE
//
// Don't change this section
/////////////////////////////////////////////////////////////////////////////
if (DayOfWeek(Date) >= START_DAY) and (DayOfWeek(Date) <= STOP_DAY) and
(Time >= StrToTime(START_TIME)) and (Time <= StrToTime(STOP_TIME)) then
begin
SendMail(
FROM_EMAIL,
TO_EMAIL,
'Call from ' + CallInfo.Name + ' at ' + CallInfo.Number,
'Call received on line ' + CallInfo.Line);
end;
Finest regards,
Bill Root
Ascendis Software