Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use random signatures in MT-NewsWatcher Apps
MT-NewsWatcher (MTNW) allows only one signature per personality. This AppleScript will allow you to have a random script in each message -- however, you must manually run the script for each message.
property theFile : missing value
tell application "MT-NewsWatcher"
  try
    set msg to message window 1
    if theFile is missing value then set theFile to choose file with prompt "Choose the signatures file."
    set sig to some paragraph of (read theFile)
    set the signature of msg to the sig
  on error
    display alert "No outgoing message" message "You must have an outgoing message window open." as warning
  end try
end tell
Before running the script, create a file containing the sigs you wish to use. Place one sig on a line; multi-line sigs are not supported. Do not leave any blank lines in the file.

The first time you run the script, it will ask you to locate the sig file (also after any editing). After that, if there is an outgoing message window open, there is no other user interface -- it chooses a sig and places it in the outgoing message. Otherwise, it alerts you that you need to have an outgoing message window open.

I compiled the script as a script file, not an application file, and placed it in ~/Library » Scripts » Applications » MT-NewsWatcher. I can then access it from the AppleScript menu in the menu bar whenever MTNW is the frontmost application.

[crarko adds: I haven't tested this one.]
    •    
  • Currently 2.50 / 5
  You rated: 1 / 5 (14 votes cast)
 
[4,367 views]  

Use random signatures in MT-NewsWatcher | 0 comments | Create New Account
Click here to return to the 'Use random signatures in MT-NewsWatcher' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.