What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Calculator (v1.20.011)

[Release] Calculator (v1.20.011)
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
O.P. [Release] Calculator (v1.20.011)
It's there. Finally. After months of testing and trashing, Calculator has reached its day of final release. With proud I present you
Calculator
Version 1.20.011 FINAL

The Calculator script was made with the thought that when your discussing your math homework, you don't need calc.exe running next to it. But it was grown to a full application on its own. On the moment of writing, the script contained following features:
  • calculate an expression by typing "/calc [expression]".
  • convert a calculation to a different numeral system using "/calc [system] [expression]", e.g.: "/calc hex 8+2" will produce "A"
  • replace selected text in the typing area of the chat window with its result if it's a valid expression by pressing F5.
  • calculate the angle unit used by a trigonometric function (e.g. sine or cosine) to grads, for example.
  • open the Quick Calculator window to calculate something and then send the result to one or more contacts.
  • let the user choose how the results will be sent and enable the F5 calculating in the preferences window.
  • get documentation for the script by using the Help window
  • translate the script with a language .ini file.
  • automatically check for updates every hour.
It has only one command, which is:
code:
/calc [system] [expression]
but it accepts a variety of parameter options, which are
quote:
/calc = Opens the Quick Calculator Window
/calc 8+2 = Calculates "8+2" and returns "10"
/calc hex 8+2 = Calculates "8+2", converts it to hexadecimal and returns "A"
/calc ang deg = Sets the angle unit for trigonometric functions
/calc pref = Opens the Preferences window
/calc abt = Opens the About window
/calc help = Opens the Help window
The available systems are "dec", "bin", "hex", "sci" or "oct", their meaning is quite understandable I guess. As for the angle unit, it supports radians (rad), grads (grad) and degrees (deg). Changing the angle unit only affects trigonometric functions, so don't worry about miscalculations of 8 times 5 when you've set your angle unit to grads. ;)

To Do list:
  • let the user use numbers in different modes in the expression. (like, typing Hex(FF) would be parsed as 255) DONE!
  • add some extra functions? DONE!
  • maybe add an update checker if I left a bug in a release. :P DONE!
  • create a Help window (the "?" in the Preferences window) DONE!
  • submit it to the database before the scripting contest ends DONE!

And finally... the screenshots! :D
Changelog:
  • FINAL 1.20.011:
    • Bugfix: conversion failed when sending /calc [system] [exp]
  • FINAL 1.20.010:
    • Final release
  • PR 1.02:
    • Fixed bug causing offline contacts to appear as away in the Send Calculation window, now they just don't appear. (like I wanted)
  • PR 1.01:
    • Fixed bug causing the script to only parse 1 [calc] tag at a time
  • PR 1.00:
    • First public release
» Download Calculator 1.20.011 here! ;)

This post was edited on 12-20-2006 at 10:07 AM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
09-29-2006 09:58 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Release] Calculator (v1.20.011) - by Matti on 09-29-2006 at 09:58 AM
RE: [WIP] Calculator - by Spunky on 09-29-2006 at 11:22 AM
RE: [WIP] Calculator - by Matti on 09-29-2006 at 12:33 PM
RE: [WIP] Calculator - by markee on 09-29-2006 at 02:17 PM
RE: [WIP] Calculator - by Matti on 09-29-2006 at 04:43 PM
RE: [WIP] Calculator - by Chris4 on 09-29-2006 at 06:30 PM
RE: [WIP] Calculator - by Matti on 09-29-2006 at 06:39 PM
RE: [WIP] Calculator - by WDZ on 09-29-2006 at 06:51 PM
RE: RE: [WIP] Calculator - by Chris4 on 09-29-2006 at 06:53 PM
RE: RE: RE: [WIP] Calculator - by Jimbo on 09-29-2006 at 06:58 PM
RE: [WIP] Calculator - by prashker on 09-29-2006 at 06:56 PM
RE: [WIP] Calculator - by Chancer on 09-29-2006 at 07:50 PM
RE: [WIP] Calculator - by vaccination on 09-29-2006 at 11:35 PM
RE: [WIP] Calculator - by phalanxii on 09-30-2006 at 12:39 AM
RE: [WIP] Calculator - by alexp2_ad on 09-30-2006 at 12:43 AM
RE: [WIP] Calculator - by NanaFreak on 09-30-2006 at 01:02 AM
RE: [WIP] Calculator - by Matti on 09-30-2006 at 10:39 AM
RE: [WIP] Calculator - by Jimbo on 09-30-2006 at 10:40 AM
RE: [WIP] Calculator - by Matti on 09-30-2006 at 10:45 AM
RE: RE: [WIP] Calculator - by Jimbo on 09-30-2006 at 10:48 AM
RE: [WIP] Calculator - by Matti on 09-30-2006 at 11:40 AM
RE: [WIP] Calculator - by NanaFreak on 09-30-2006 at 12:55 PM
RE: [Pre-Release] Calculator - by Matti on 09-30-2006 at 01:10 PM
RE: [Pre-Release] Calculator - by Felu on 09-30-2006 at 01:42 PM
RE: [Pre-Release] Calculator - by duck! on 09-30-2006 at 01:47 PM
RE: [Pre-Release] Calculator - by Matti on 09-30-2006 at 01:49 PM
RE: [Pre-Release] Calculator - by alexp2_ad on 09-30-2006 at 03:35 PM
RE: [Pre-Release] Calculator - by Lourix on 09-30-2006 at 03:39 PM
RE: [Pre-Release] Calculator - by Matti on 09-30-2006 at 03:39 PM
RE: [Pre-Release] Calculator - by Shondoit on 09-30-2006 at 07:35 PM
RE: [Pre-Release] Calculator - by Spunky on 09-30-2006 at 07:45 PM
RE: [Pre-Release] Calculator - by Andrew_H on 09-30-2006 at 08:25 PM
RE: [Pre-Release] Calculator - by Spunky on 09-30-2006 at 08:31 PM
RE: [Pre-Release] Calculator - by davidpolitis on 09-30-2006 at 09:24 PM
RE: [Pre-Release] Calculator - by Zahid™ on 09-30-2006 at 09:32 PM
RE: [Pre-Release] Calculator - by vaccination on 09-30-2006 at 11:33 PM
RE: [Pre-Release] Calculator - by phalanxii on 10-01-2006 at 12:32 AM
RE: [Pre-Release] Calculator - by Matti on 10-02-2006 at 05:03 PM
RE: RE: [Pre-Release] Calculator - by CookieRevised on 10-02-2006 at 05:54 PM
RE: [Pre-Release] Calculator - by Matti on 10-03-2006 at 03:56 PM
RE: [Pre-Release] Calculator - by CookieRevised on 10-03-2006 at 06:40 PM
RE: [Pre-Release] Calculator - by Shondoit on 10-03-2006 at 06:44 PM
RE: [Pre-Release] Calculator - by CookieRevised on 10-03-2006 at 06:56 PM
RE: [Pre-Release] Calculator - by Matti on 10-04-2006 at 07:57 AM
RE: [Pre-Release] Calculator - by phalanxii on 10-05-2006 at 10:27 AM
RE: [Pre-Release] Calculator - by Matti on 10-05-2006 at 05:54 PM
RE: [Release] Calculator (v1.20.011) - by Matti on 12-20-2006 at 10:16 AM
RE: [Release] Calculator (v1.20.011) - by Plan-1130 on 02-09-2008 at 04:43 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On