topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday December 11, 2024, 1:08 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: FARR Plugin: FCalc v1.12 (Mar 25, 2015)  (Read 123651 times)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #25 on: June 11, 2007, 04:44 AM »
But wouldn't it be easier to just call up the normal windows calculator and do the calculation stuff there?
one of the hallmarks of a great launchers is to be able to do in-line calculations.. ;) actually, see here for the request i made..

mackal

  • Member
  • Joined in 2007
  • **
  • Posts: 25
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #26 on: August 23, 2007, 10:54 AM »
This is a cool plugin, but could seriously use a pair of functions, say deg() and rad(), for converting between degrees and radians.  The trig functions assume that the arguments are in radians, whereas most quick calculations with FARR are bound to involve degrees (unless you're a mathie or doing math homework  ;) ).  So then we could type in "fc sin(rad(90))", for example.  Or perhaps the trig functions could be adapted to take degrees instead...

jdmarch

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 186
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #27 on: October 03, 2007, 04:28 PM »
Converter functions would be nice dec->bin dec->hex etc.

I second the emotion!

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #28 on: February 01, 2008, 05:43 AM »
I have 3 usability suggestions for fcalc:

1 - Add 2 forms of "copy result to clipboard". Something like: when you press enter, it copies the result; when you press shift+enter, it copies the whole expression.

2 - Please please please remove the "scroll past history" on end/home press, it's soooo anoying. (or at least add it as an option :) )

3 - Add an option to change the text that gets on the editbox when you press enter. This is useful for those that don't use the default regular expression (mine is a regex that recognizes mathematical expressions, thus I'd like it to clear the input box on enter press).

While #1 and #3 would just be great to have, i think #2 is a critical fix, as this one annoys me almost every time i use fcalc :(

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #29 on: February 01, 2008, 06:18 AM »
regarding #2, you are saying that home+end should go to front and end of the edit line is that right?

it's not just a farr issue, its for any plugin that uses the richtext/memo display mode to display a file or info, so any decision we make applies to all of them.  i could use ctrl+home and ctrl+end to go to begining and end of the memo though, and use home and end to go to begining and end of the search box if people prefer.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #30 on: February 01, 2008, 06:24 AM »
Yes, exactly mouser!

I really like your solution, and think it's the standard way to do it.

Maybe we should ger other's opinions on this, if this affects all plugins, but i think your solution is just perfect.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #31 on: February 04, 2008, 03:16 PM »
Ok.. I just tested with the google translate plugin and think you really really should make that end/home change :)

csludwig

  • Participant
  • Joined in 2008
  • *
  • Posts: 4
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #32 on: March 24, 2008, 05:37 PM »
I'm new to this tool, as well as this forum. Whenever I click on the fcalc link under add-ons I get a 404....can anyone tell me where teh page went?

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #33 on: March 24, 2008, 06:02 PM »
Hi csludwig!
Possibly during the recent DC downtime something was left behind on the server migration, this isn't normal.

I'm sure mouser will fix it in no time.

PS: looks like all of mouser's addons are 404'ed ;)

d4ni

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 129
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #34 on: April 03, 2008, 02:04 PM »
Is there a way to enter the number Pi? Since Sin and Cos are available it would make perfect sense to include Pi as well, right :)?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #35 on: April 03, 2008, 02:43 PM »
you can set constants which will be remembered, so just set pi yourself :)

d4ni

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 129
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #36 on: April 03, 2008, 05:37 PM »
Ah that's right. Still I think it wouldn't really hurt to just include it :) But you are right, I kinda forgot about this.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #37 on: April 03, 2008, 08:01 PM »
can i also make FCalc understand the percentage sign?

ws-fcalc-perc-1.png

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #38 on: April 03, 2008, 08:07 PM »
afraid not.

herojoker

  • Participant
  • Joined in 2008
  • *
  • Posts: 124
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #39 on: April 04, 2008, 05:45 AM »
I think % should be the mod operator for integers.
The percentage sign you mentioned is just a short version of *100.
« Last Edit: April 04, 2008, 06:19 AM by herojoker »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #40 on: April 04, 2008, 06:02 AM »
ps.
Fcalc is c++ (C++ Builder) and uses the open source muparser engine to do its math calculations.  Anyone feeling adventurous who wants to add some functions and features to muparser, send them to me and i'll rebuild fcalc with them.

d4ni

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 129
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #41 on: April 04, 2008, 07:40 AM »
The modulo operation represented by % would definitely be nice. Unfortunately I don't have C++ knowledge :)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #42 on: April 04, 2008, 07:43 AM »
The percentage sign you mentioned is just a short version of *100.
actually percent means "per hundred" so the percentage sign is a short version of /100 or 0.01 :)

e.g. 56 x 14.5% => 56*(14.5/100)

herojoker

  • Participant
  • Joined in 2008
  • *
  • Posts: 124
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #43 on: April 04, 2008, 08:02 AM »
Ooops! Of course you're right lanux128.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #44 on: April 04, 2008, 08:24 AM »
well in programming languages, % is most often used for the mod operator as herojoker suggested initially.

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #45 on: April 05, 2008, 03:35 PM »
I am using v2.00.145 and fc alias is not working?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #46 on: April 05, 2008, 03:36 PM »
the plugins are not installed by default.. select "check for updates" from tray menu and go to the tab of new stuff you can install.

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #47 on: April 05, 2008, 03:50 PM »
got it thanks

csludwig

  • Participant
  • Joined in 2008
  • *
  • Posts: 4
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #48 on: April 11, 2008, 10:15 AM »
I'm still getting 503s - can't get the plug in (sent a request about 2 weeks ago)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #49 on: April 11, 2008, 10:24 AM »
If the DcUpdater tool doesnt work for you for whatever reason, or you prefer not to use it, direct download of fcalc plugin:
https://www.donation...dons/FCalc/FCalc.zip

You can get direct download locations from DcUpdater by turning on View -> Show Advanced Controls option from the DcUpdater menu.