Search OutlookPower's 9,066 Outlook and all-things-email article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Automatic, updating email signatures (continued)

It doesn't get much easier than that. Here's an example of what the code might look like.

Disclaimer: A trained professional did NOT write this code. By all means, attempt this at home.

RTFPath = SIGPath & "Temperature.rtf"

If CurrentTemp <> "N/A" Then
fPos = InStr(CurrentTemp, "F")
If fPos <> 0 Then
TempOnly = Mid(CurrentTemp, 1, fPos - 3)
fPos = InStr(CurrentChill, "F")
If fPos <> 0 Then
ChillOnly = Mid(CurrentChill, 1, fPos - 3)
'''''''''''''''''''''''''''''''''''''
' Do RTF signature
'''''''''''''''''''''''''''''''''''''
Temp2 = "\viewkind4\uc1\pard\qc\i\fs20 "
Temp2 = Temp2 & "Temperature " & TempOnly & "\'b0 F, Feels Like "
Temp2 = Temp2 & ChillOnly & "\'b0 F\par"
RTFStrings(2) = Temp2

Open RTFPath For Output As #intFNum

For X = 1 To 4
Print #intFNum, RTFStrings(X)
Next X
Close #intFNum
End If
End If
End If

For the people who want to know how much daylight I'm getting, I threw together a .csv file that contains sunrise/sunset data. Another little Visual Basic program reads the data for the current day and updates the Outlook signature used for new email messages. I run this as a Scheduled Task, as it only needs to be done once a day. On a new email, the recipient will see something like below.

Sunrise/Sunset data for: 09/16/2004 Sunrise: 7:30AM, Sunset: 8:16PM Total daylight: 12 hours, 46 minutes Records for this date: High 70 (1919), Low 26 (1935)

If you're reading this and say to yourself, "I wanna do what he did!" you can save yourself a lot of headaches, not to mention money, if you get your neighbor to invest in an online weather station instead of trying to do it yourself. In my particular case, the weather station already existed -- I just took advantage of it.

In all fairness to my neighbor, he's spent considerable money in keeping his weather station upgraded and operational, and for that I'm eternally grateful. Especially the times when they changed the wind chill formula (requiring an upgrade), or when I complained that his wind gauge froze up and asked if he could upgrade to a heated one. If you're successful in getting your neighbor to install an online weather station, three words of advice: BE ETERNALLY GRATEFUL!

The third question I alluded to earlier is this, and I swear I'm not making this up!

"I read once that a bald eagle snatched up a five year old girl and flew away with her. Does that happen in Alaska?"

Not wishing to let someone this gullible off so easily I replied, "Yes. It happens all the time. Five year old girls are very scarce in Alaska because bald eagles patrol the neighborhoods and hang out at gymnastic clubs and ice skating rinks, places where five year old girls are known to go."


« Previous  ·  1  ·  2  ·  3  ·  Next »
Other articles you might like
Home > Using Outlook > Contacts & Address Book (27 articles)
   Printing notes with contacts in Outlook 2007
   A very crude way to print Outlook contact pictures
   How to separate email accounts and still manage them
Home > Using Outlook > Stationery & Signatures (5 articles)
   Differentiating between internal and external emails when applying an Outlook signature
   High Impact Email 3.0 will help your email get attention
   Email stationery: bringing back branding to written communication
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent OutlookPower Articles
Removing an Office installation that doesn't want to go away
Using Office on more than one computer
How to fall back in love with your email
Where'd my To-Do Bar go?
Running auto-respond rules when Outlook is closed
Running rules when Outlook is closed
Disappearing text that's not supposed to disappear
OutlookPower News Center
ENow Announces New Exchange 2010 Monitoring and Reporting Features
Microsoft boffin wins Turing Award
Remote-Code Vulnerability Being Exploited in IE 6 and 7
Raxco Software Releases PerfectDisk 11 Disk Defrag Software
Mainsoft introduces Harmony
The Windows 7 Procrastinators
CBT Planet Set to Release New Training Courses for Microsoft Windows 7
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Make Mafia Wars an offer it can't refuse
David Gewirtz Online: CNN commentary and analysis
DominoPower: Application development, William Shatner, and the origin of the universe
-- Advertisement --

ONLINE GROUP CALENDAR - FOR UP TO 100 OF YOUR CLOSEST FRIENDS
Stay organized and in control with 24/7 access to all of your important events, projects and files --whether you're at work, at home or on the road.

You can share your calendar, projects and files so everyone in your office is up to date. Plus, search your entire group to find times when everyone is available to meet, manage company resources and much more.

Organize your entire team for as low as $9.95 per year (and yes, that's where the decimal place is supposed to be!)

Tap here to get started right away.

-- Advertisement --

Five Email Mistakes You Should Avoid
Have you ever made any of these mistakes?

  • Forgotten to send an attachment you promised in a message
  • Replied-to-all, annoying everyone
  • Forgotten to Reply-to-All, annoying everyone
  • Sent emails using the wrong email account
  • Said something you oh-so-knew-better than to say

Send Guard can keep you looking good by saving you from yourself.

Tap here to download a fully-functional 30-day trial.

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
The Power Magazine for Microsoft Outlook and Exchange Users at OutlookPower.com
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Outlook is a trademark of Microsoft Corporation.
Editor's Login