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

Pages: (5): « First [ 1 ] 2 3 4 5 » Last »
[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
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [WIP] Calculator
Sounds good. This is something I might actually make use of. Just hurry up and get a download available :p
<Eljay> "Problems encountered: shit blew up" :zippy:
09-29-2006 11:22 AM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
O.P. RE: [WIP] Calculator
quote:
Originally posted by SpunkyLoveMuff
Sounds good. This is something I might actually make use of. Just hurry up and get a download available :p
Well, I first want to make sure everything that's already in it works good, before I release it. Then, I can begin to work on the other stuff. ;)
I'm not at my own pc atm, so you'll have to wait a bit longer untill I can take some screenies. I hope to do that around 17:00 CET, and maybe I can release a first beta this evening. But don't expect too much of it yet: it's only a calculator. :P
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 12:33 PM
Profile E-Mail PM Web Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: [WIP] Calculator
quote:
Originally posted by Mattike
If the result isn't a natural number,
I think you mean integers so as to include negative numbers as well (and zero depending on your school of thought abut zero being a natural number or not).

quote:
Originally posted by Mattike
make a simple About window.
If you need any help with making windows Jay_Jay is very will to helpout, even if he only has his left hand to do it.  There might be alittle delay though as he is not at home atm, though I'm sure I canchange one of his already made ones to do what you want.

I hope we can help you out.

EDIT: Btw it sounds quite interesting :P

This post was edited on 09-29-2006 at 02:17 PM by markee.
[Image: markee.png]
09-29-2006 02:17 PM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
O.P. RE: [WIP] Calculator
quote:
Originally posted by markee
I think you mean integers so as to include negative numbers as well (and zero depending on your school of thought abut zero being a natural number or not).
What I mean is any integer which is larger or equal to 0. Sorry, I just didn't know how to mention it. ;)
quote:
Originally posted by markee
If you need any help with making windows...
It's not that I can't do it, it's just that I didn't have time for it yet. Lazy me. :P
quote:
Originally posted by markee
Btw it sounds quite interesting :P
That's what I like to hear...

Time to take some screenshots! :D (with a delay of 2 hours :dodgy:)
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 04:43 PM
Profile E-Mail PM Web Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
33 / Male / Flag
Joined: Dec 2004
RE: [WIP] Calculator
Nice, lookin' good. :)
Will save me going to Start > Programs > Accessories etc. etc.
Twitter: @ChrisLozeau
09-29-2006 06:30 PM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
O.P. RE: [WIP] Calculator
quote:
Originally posted by Chris4
Nice, lookin' good. :)
Will save me going to Start > Programs > Accessories etc. etc.
That's the idea behind it. ;)
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 06:39 PM
Profile E-Mail PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: [WIP] Calculator
quote:
Originally posted by Chris4
Will save me going to Start > Programs > Accessories etc. etc.
I prefer WinKey+R, calc, Enter :p
09-29-2006 06:51 PM
Profile PM Web Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
33 / Male / Flag
Joined: Dec 2004
RE: RE: [WIP] Calculator
quote:
Originally posted by WDZ
quote:
Originally posted by Chris4
Will save me going to Start > Programs > Accessories etc. etc.
I prefer WinKey+R, calc, Enter :p

Thanks, I never even new about WinKey+R :P
Twitter: @ChrisLozeau
09-29-2006 06:53 PM
Profile PM Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
RE: [WIP] Calculator
I prefer

[Image: attachment.php?pid=735404]

Yes thats a calculator button on my keyboard....(I did not set anything up, the keyboard just comes with a calculator button :D)

edit: And about the up and coming script, looks really good, I will use the quick calculator some times ;-)

.jpg File Attachment: Picture 001.jpg (17.5 KB)
This file has been downloaded 1713 time(s).

This post was edited on 09-29-2006 at 06:58 PM by prashker.
09-29-2006 06:56 PM
Profile PM Find Quote Report
Pages: (5): « First [ 1 ] 2 3 4 5 » Last »
« Next Oldest Return to Top Next Newest »


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