topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday March 28, 2024, 4:49 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

Author Topic: Restore state of FARR  (Read 5597 times)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Restore state of FARR
« on: January 03, 2008, 09:09 AM »
Hi,
I can not find any option to enable restoring of last state. By that I mean, that f.e. I do several calculations of this kind "fc 5+5" and afterwards I close the window. And when I call FARR back I would like to have completely the same state as it was when I closed it. Is there any option like this?
Thank you ;)
Oldrich Svec
My open-source online piano game: https://github.com/musicope/game

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Restore state of FARR
« Reply #1 on: January 03, 2008, 12:58 PM »
svec, that's how it already should work.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Restore state of FARR
« Reply #2 on: January 03, 2008, 06:18 PM »
it seems to be the same problem that i'm having even though i haven't tried with plugins..

Retain keywords after losing focus

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Restore state of FARR
« Reply #3 on: January 03, 2008, 06:25 PM »
doesnt work with the calculater here at any rate -
I mean when I restart, I get the icons from the previous time it was opened..
(which suits me fine actually :))
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Restore state of FARR
« Reply #4 on: January 03, 2008, 07:01 PM »
oh i misunderstood.
if you bring farr back up and type fc again, you should see your previous history tape and the last value will still be there so that you can use it.

but you mean you want it so that if you bring up farr again, you are already open to the "fc" text and the calculator is showing?

one workaround for now is to create a special hotkey in farr that opens and starts the text saying "fc "

so now whenever you want to use farr calculator you hit shift+break or whatever, and farr will pop up ready to do calculations.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Restore state of FARR
« Reply #5 on: January 04, 2008, 03:56 AM »
I agree with lanux128. That is exactly what I want  :Thmbsup:

one more problem found: When I change regular expression for Fcalc to "^ (.*)$|^ $" (so when I type "space" it starts fcalc) and write some expression and hit enter it switches from space back to its default "fc ". (for now I have solved it by such an expression "^ (.*)$|^ $|^fc (.*)$|^fc$"
My open-source online piano game: https://github.com/musicope/game
« Last Edit: January 04, 2008, 03:59 AM by czechboy »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Restore state of FARR
« Reply #6 on: January 04, 2008, 06:50 AM »
Great idea czechboy!
I like that regex, i'll use it for myself too :)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Restore state of FARR
« Reply #7 on: January 05, 2008, 08:30 PM »
nice work, czechboy! btw, can i use the regex in the override section instead of overwriting the existing one (see pic)?

ws-FCalc-overrride-3.png