Ascendis Caller ID beta version 2.0.1.10 now available

Discussion of Ascendis Caller ID 2 BETA VERSION software only! This includes problem reports and general questions on the operation of new features of the BETA software.
Post Reply
Bill Root
Site Admin
Posts: 1025
Joined: Mon Jan 19, 2004 1:29 pm
Location: Perrysburg, OH
Contact:

Ascendis Caller ID beta version 2.0.1.10 now available

Post by Bill Root »

Version 2.0.1.10 includes the following changes from the previous release:

- added Off Hook Time setting to Advanced Device Properties window
- always enable "Advanced" button on Devices page of Options window
- fixed problem introduced in 2.0.1.9 when running on system with no sound devices

As always, bug reports and feedback are appreciated.


You can download this version here:
http://ascendis.com/callerid/CallerID_Beta_Setup.exe

The beta page is available here:
http://ascendis.com/callerid/beta.php
ATCtech
Posts: 16
Joined: Thu Nov 18, 2004 11:21 am

Fonts in display window

Post by ATCtech »

Hi Bill,

I just upgraded from 1.9 to the latest 2.0.1.1 beta release to see the differences/improvements and right out of the gate noticed that I can no longer set different font sizes/colours for the name and number fields in the display box. I've always had the name field larger than the number, and the time/date would be considerably smaller still. Version 2 sets the entire display window to the style/size of font as one item. Is this a known problem or something that was intentionally dropped?

Thanks,

Bob
Bill Root
Site Admin
Posts: 1025
Joined: Mon Jan 19, 2004 1:29 pm
Location: Perrysburg, OH
Contact:

Re: Fonts in display window

Post by Bill Root »

Hi Bob,

In the process of making the display more customizable, some previously easy changes are now less convenient. The display is now generated from an HTML-based file named "Display.dwshtml" in the Ascendis Caller ID program folder. If you know HTML you can change the font size of the elements you want, and much more.

Here is a variation of the default Display.dwshtml with a larger font size for the name, and a smaller one for the time and date:

Code: Select all

<html>
 <head>
  <title>Ascendis Caller ID Display Template</title>
  <style>
    body &#123;###FONT_STYLE###&#125;
  </style>
 </head>

 <body style="margin&#58; 0px;">
  <table width = "100%" Xborder="1">
   <tr>
    <td valign="top">
     <table xborder="1" xwidth="30%" style="font-size&#58; 50%">
      <tr>
       <td>
        <%
          if &#40;CallCount > 0&#41; then 
            Send&#40;CallInfo.CallBeganDateStr&#41;
          Else
            Send&#40;'&nbsp;'&#41;;
        %>
       </td>
      </tr>
      <tr>
       <td>
        <% 
          if &#40;CallCount > 0&#41; then 
            Send&#40;StringReplace&#40;CallInfo.CallBeganTimeStr, ' ', '&nbsp;', True, False&#41;&#41;
          Else
            Send&#40;'&nbsp;'&#41;;
        %>
       </td>
      </tr>
      <tr>
       <td style="font-size&#58; 60%">&nbsp;</td>
      </tr>
      <tr>
       <td VALIGN="BOTTOM"><% Send&#40;IntToStr&#40;NewCallCount&#41; + '&nbsp;New&nbsp;Calls'&#41;; %></td>
      </tr>
     </table>
    </td>

    <td width="100%" valign="top">
     <table xborder="1" width="100%" valign="top" style="font-size&#58; 100%; text-align&#58; center">
      <tr>
       <td style="font-size&#58; 125%"><% 
        If &#40;CallInfo.Company = ''&#41; or &#40;CallInfo.Company = CallInfo.Name&#41; then
          Send&#40;CallInfo.Name&#41;
        else
          Send&#40;CallInfo.Name + ' from ' + CallInfo.Company&#41;;
        %></td>
      </tr>
      <tr>
       <td><% Send&#40;CallInfo.Number&#41;; %></td>
      </tr>
      <tr style="font-size&#58; 75%">
       <td><% 
        if &#40;CallInfo.City <> ''&#41; and &#40;CallInfo.State <> ''&#41; then
          Send&#40;CallInfo.City + ', ' + CallInfo.State&#41;
        else if CallInfo.City <> '' then
          Send&#40;CallInfo.City&#41;
        else if CallInfo.State <> '' then
          Send&#40;CallInfo.State&#41;;
       %></td>
      </tr>
     </table>
    </td>

     <%
      if CallInfo.PicturePathname <> '' then
      begin
        Send&#40;'<td style="align&#58; center">' + #13#10&#41;;
        Send&#40;'<img ALIGN="RIGHT" src="' + CallInfo.PicturePathname + '">' + #13#10&#41;;
        Send&#40;'</td>' + #13#10&#41;;
      end;
     %>
   </tr>
  </table>
 </body>
</html>
To use it, first copy your existing Display.dwshtml to something else, perhaps Default Display.dwshtml. Then paste the above code into Display.dwshtml, replacing the current contents. If you have a file comparison utility you will see I only made two changes:

Code: Select all

13c13
<      <table xborder="1" xwidth="30%" style="font-size&#58; 75%">
---
>      <table xborder="1" xwidth="30%" style="font-size&#58; 50%">
46c46
<        <td><% 
---
>        <td style="font-size&#58; 125%"><% 
(This is a Unix diff report.)

You can see that I decreased the font size of the time/date section from 75% of the specified font to 50%. I also increased the font size of the name section to 125% of the configured font size.

If the new code above is not quite what you want and you don't feel comfortable making the changes, let me know and I'll tweak it for you.

Finest regards,
Bill Root
Ascendis Software
ATCtech
Posts: 16
Joined: Thu Nov 18, 2004 11:21 am

Post by ATCtech »

Thanks Bill, that gives me some options to get it very close to what we were used to with 1.x. Version 2 is working well so far!

Regards,

Bob
Post Reply