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, 9:33 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: NANY 2009 Final Release: CZB package  (Read 37571 times)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
NANY 2009 Final Release: CZB package
« on: December 04, 2008, 11:10 AM »
NANY 2009 Entry Information

Application Name CZB package
Version 0.6
Short Description Package containing all my FARR plugins released in the last year plus plugin management system and JScalc
Supported OSes Limited by FARR
Web Page not yet
Download Link CZB pack: http://czb.dcmembers...ZB_pack/CZB_pack.zip
Download Link FSubScript: http://czb.dcmembers...cript/FSubScript.zip
System Requirements
  • Same as FARR
Version History
  • No
Author Link to Author's Profile page


Description
This package contains all FARR plugins which I have ever released. So those will be my last year work :) . Moreover I have added JScalc plugin, which is quite useful calculator and plugin management system, where you can de/activate plugins, control their settings and see their html/txt files. To make the plugins work you must download latest fsubscript plugin. I recommend to download the one from this page as it has some minor changes.

Features
All in one package. Easy maintaining. Global updating etc...
new Completely rewriten Fsubscript plugin. Try it out. See help icon in fssc, jscalc etc. API help comming soon


Planned Features
Who knows? :)

Screenshots
Well it will be hard.. But at least screenshot of plugin management system:
plugin.jpg

Usage
Installation
It is an ordinary FARR plugin, which uses Fsubscript plugin system.

Using the Application
To get into plugin management system type "fssc", to start JScalc type "5+2" or "5*2" or just "jscalc" :)

Uninstallation
Delete it :)

Known Issues
My open-source online piano game: https://github.com/musicope/game
« Last Edit: January 01, 2009, 05:02 AM by czb »

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: NANY 2009: CZB package
« Reply #1 on: December 04, 2008, 11:16 AM »

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: NANY 2009: CZB package
« Reply #2 on: December 04, 2008, 08:25 PM »
Testing it all i can say is: WOW.

Really really really cool.  The activate/deactivate stuff is extremely cool -- and this works for ALL fsubscript stuff not just czb pack so you've really added a lot to that!

And the new html settings system works great -- Supercool.

A couple of things:
1) can another line be added to each item in the fssc list which shows author info and web page link?  Maybe also a line with sample usage?  or these can all be combined into the description field.
2) when an fsubscript script is disabled, it probably shouldnt show up in the aplugins list
3) i think the settings stuff and the script listing/disabling should be part of the official fscript release when it goes final -- no point in not having this amazing functionality.
4) i think in aplugins list, there should be some indication of which items are fsubscript scripts vs. standalone plugins.
5) double clicking an fsubscript script in the aplugins list should bring up fssc i think.

I would also like to start bundling f(sub)script into the farr releases -- there is absolutely no reason anyone should have to live without this.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: NANY 2009: CZB package
« Reply #3 on: December 04, 2008, 08:26 PM »
Nice work!

Thanks for the settings example :)

So far most things I have tested seem to work.

On a side note, I get something about: plugin CZB_FSubScript_extension_pack has failed on init

This is followed by something like 'undefined' is null or not an object and something about TypeError

Sorry about the vaguess of the error messages -- I'm translating from a non-English language.

This seems to happen on FARR start up and at various other points (e.g. when I bring up the Plugin Manager dialog box and when I dismiss that).
« Last Edit: December 04, 2008, 08:32 PM by ewemoa »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: NANY 2009: CZB package
« Reply #4 on: December 04, 2008, 09:03 PM »
BTW, czb, would you consider either removing:

        var fldf = new Enumerator(currentDirectory.Files);
        for (; !fldf.atEnd(); fldf.moveNext()) {
          var rgxp = new RegExp("^fsubscript.*\\.js");
          if(fldf.item().Name.search(rgxp) != -1){
            fln = currentDirectory + "\\" + fldf.item().Name;
            eval(getTextFile(fln));
          }
        }

from fscript.js' onInit() and restoring the previous code, or add a dollar sign $ to the end of the regular expression?

I prefer the former, but at least the latter may make it behave a little nicer in the mean time :)
« Last Edit: December 04, 2008, 09:36 PM by ewemoa »

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: NANY 2009: CZB package
« Reply #5 on: December 04, 2008, 09:18 PM »
yes the $ is important or it starts loading my .js.bak backup files!

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: NANY 2009: CZB package
« Reply #6 on: December 05, 2008, 09:07 AM »
Hi,
great you like it. To the comments:
A couple of things:
1) can another line be added to each item in the fssc list which shows author info and web page link?  Maybe also a line with sample usage?  or these can all be combined into the description field.
2) when an fsubscript script is disabled, it probably shouldnt show up in the aplugins list
3) i think the settings stuff and the script listing/disabling should be part of the official fscript release when it goes final -- no point in not having this amazing functionality.
4) i think in aplugins list, there should be some indication of which items are fsubscript scripts vs. standalone plugins.
5) double clicking an fsubscript script in the aplugins list should bring up fssc i think.

I would also like to start bundling f(sub)script into the farr releases -- there is absolutely no reason anyone should have to live without this.
1) Yes surely it can. What I would suggest you or anyone else to do is to make some fancy html template which I can implement ;)
2) Good point. I will work it out but I will have to do a very slight modification of fscript.js which would check if plugin contains at least some means of communication with FARR. If not it will no display it. And because deactivation of plugin means renaming (deleting a creating) init, search functions into init_bak etc it will behave as if there is no plugin :)
3) Yes.. I think so. But still I would like to keep it as plugin so I do not have to put it directly into fscript.js. Just the plugin will be bundled with fscript.js as mixer and other fsubscripts
4) ok this is also for discussion with ewemoa
5) Well rather it should point to fsubscript plugin settings if there is any. And if there is no settings then it should point to fssc. If ewemoa is not against I can rewrite it :Thmbsup:

On a side note, I get something about: plugin CZB_FSubScript_extension_pack has failed on init

Thanks for pointing out. Could you pls disable try catch statement and tell me more what you get from MSE? There might be some important bug so I would like to correct that

BTW, czb, would you consider either removing...

Yes removing it is a good idea ;) I will do that. Actualy I already did on github
My open-source online piano game: https://github.com/musicope/game

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: NANY 2009: CZB package
« Reply #7 on: December 06, 2008, 05:16 AM »
On a side note, I get something about: plugin CZB_FSubScript_extension_pack has failed on init

Thanks for pointing out. Could you pls disable try catch statement and tell me more what you get from MSE? There might be some important bug so I would like to correct that

What I learned from investigation (not in-depth, sorry, too tired for that) is that if you delete a plugin (e.g. delete its folder) and FARR's user variable system has a record about that plugin being deactivated, this may cause errors on next start up (and various other points).  It is easy to test. 

Here is one way:

Deactivate Mixer
Quit FARR
Delete Mixer (or move it out from under the Plugins folder hierarchy)
Start FARR

This reproduces the error on my system.  Hopefully you can see it too :)

Too tired to reply to rest -- may be I can try again after I am rested.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: NANY 2009: CZB package
« Reply #8 on: December 06, 2008, 05:54 AM »
Oh I know.. that is because you do not use my fscript.js  8)
I have there a small correction.. take a look here:
http://github.com/cz...0b1d081153986ca150bc
My open-source online piano game: https://github.com/musicope/game

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: NANY 2009: CZB package
« Reply #9 on: December 07, 2008, 05:02 AM »
It looks to me like:

http://github.com/cz...0b1d081153986ca150bc

refers to a difference in fscript.js:

-      if (!pi.setStrValue) { continue; }
+      if (!pi || !pi.setStrValue) { continue; }

I think what I tested w/ had that change.  I tested w/ an installation of FARR that I have set up especially for http://github.com/czb/fsubscript/.

To make sure, I performed the steps in my previous post and I saw the same results.

On a side note, I'd like to discuss the activate/deactivate mechanism of plugins a bit -- I took a look at some of the code for deactivation and I think I see that it may not get along so well with a couple of my plugins (Mixer and Keyser both of which do background processing).

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: NANY 2009: CZB package
« Reply #10 on: December 30, 2008, 06:16 AM »
I have uploaded new version of CZB_pack and FSubScript. FsubScript plugin contains many changes, so try it out. Especially I would like to ask Ewemoa to try it out.
Czb_pack contains now all my plugins.
My open-source online piano game: https://github.com/musicope/game

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: NANY 2009: CZB package
« Reply #11 on: December 30, 2008, 07:11 AM »
I've been trying it out a bit and so far have not encountered any problems.

What I've tried includes:

  • Deactivation + Reload via fssc
  • Activation + Reload via fssc
  • FSubScript help via the fssc help icon

Really nice work  :Thmbsup:


P.S. I tried w/ the latest alpha version of FARR that I was able to retrieve -- I haven't tested w/ any other version.
« Last Edit: December 30, 2008, 07:16 AM by ewemoa »

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: NANY 2009: CZB package
« Reply #12 on: December 31, 2008, 05:35 AM »
Outstanding!!!!

Note: fsubscript is looking so amazing, i'd like to start bundling it into farr releases.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: NANY 2009: CZB package
« Reply #13 on: December 31, 2008, 06:25 AM »
I would wait until FsubScript API help is ready. I need somebody to test out all new features. Mainly following:
http://czb.dcmembers...m/help/FARR#Settings
http://czb.dcmembers...m/help/FARR#settings
http://czb.dcmembers...om/help/FARR#execute
execute command can be used in place of pcommand because it is easier to do
pcommand execute plugins["JScalc"].myfunc(param1, param2);
then to handle pcommand in setstrvalue by yourself ;)
http://czb.dcmembers...help/FARR#setUserVar => with object as value
http://czb.dcmembers...elp/FARR#loadUserVar
but also:
http://czb.dcmembers...m/help/FARR#objToStr
http://czb.dcmembers...m/help/FARR#strToObj

One more remark:
try catch statements are deactivated in fsubscript. When we clean up fsubscript I will activate them again ;)
My open-source online piano game: https://github.com/musicope/game
« Last Edit: December 31, 2008, 06:32 AM by czb »

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: NANY 2009 Final Release: CZB package
« Reply #14 on: January 04, 2009, 01:20 PM »
Added new version with:

Sound
http://czb.dcmembers.com/help/FARR#Sound

copyUnicodeClip
http://czb.dcmembers...FARR#copyUnicodeClip

and some bug fixes.

My open-source online piano game: https://github.com/musicope/game

wjmurphy

  • Participant
  • Joined in 2009
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
Re: NANY 2009 Final Release: CZB package
« Reply #15 on: January 13, 2009, 01:32 PM »
Please forgive my negative here, but -

don't you suppose that you could manage SOMETHING at the TOP of this thread that might convey some useful info about exactly WHAT your bleeping app is supposed to DO?  Odds are high that I took my first programming class before you were BORN, but the "CZB" and "all FARR plugins which I have ever released" are not connecting with ANY synapses in MY brain.  This means that I have to RESEARCH your buzzwords just to have an inkling of what you're offering, and that's (IMHO) an avoidable potential waste of more of my time.  Some sort of hint as to the general topic would allow one to determine if they WANTED to side-track on further research.

Clearly this is helpful to many out there, but - if you'll pardon my iggernunce - I ain't in that little UG (just yet).

Thanks anyway

jm

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: NANY 2009 Final Release: CZB package
« Reply #16 on: January 14, 2009, 03:18 AM »
wjmurphy: I will add more info as soon as I finish all my school exams ;)
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: NANY 2009 Final Release: CZB package
« Reply #17 on: January 14, 2009, 03:25 AM »
bottom line: if you dont use Find and Run Robot program, and you dont know about czb's amazing plugins, then this isn't for you.  if you do, it's wonderful :)

d4ni

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 129
    • View Profile
    • Donate to Member
Re: NANY 2009 Final Release: CZB package
« Reply #18 on: January 19, 2009, 05:36 PM »
JSCalc is very nice, good job :Thmbsup: Is there any way to change the regex from ^jscalc to something else - preferably shorter? It does not show up in Farr's Plugin Manager so I cannot change the regex, neither can I change it by using fssc > jscalc settings.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: NANY 2009 Final Release: CZB package
« Reply #19 on: January 19, 2009, 10:49 PM »
d4ni:
I shall add that option to fssc. Until then, either you should edit manually fsubscript.js file or turn on the special trigger option and then when ever you type +/- etc jscalc will be automaticly triggered. You can specify triggering characters in settings as well ;)

Read the help file for more info ;) The help can be opened either by clicking small help icon on bottom right of jscalc panel or in fssc menu
My open-source online piano game: https://github.com/musicope/game
« Last Edit: January 19, 2009, 10:51 PM by czb »

d4ni

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 129
    • View Profile
    • Donate to Member
Re: NANY 2009 Final Release: CZB package
« Reply #20 on: January 20, 2009, 06:45 AM »
Thanks, I edited the fsubscript.js manually.

By the way, the Help file fails to launch from the fssc menu. It tries to open: farr://htmlviewurl%20C:\Programs\FindAndRunRobot\Plugins\JScalc\..\help.html/#JScalc

I'm thinking the space (%20) shouldn't be in there :)

Works fine from within JSCalc.


czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: NANY 2009 Final Release: CZB package
« Reply #21 on: January 20, 2009, 10:38 AM »
Thanks for pointing out. I will fix that too ;)
My open-source online piano game: https://github.com/musicope/game

sosimple

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 25
    • View Profile
    • Donate to Member
Re: NANY 2009 Final Release: CZB package
« Reply #22 on: April 07, 2009, 07:20 AM »
For a while now, dc-updater (DCU) has been complaining (get version failed) about the individual CZB plug-ins for FARR.

After some searching why this is happening, I found a thread that explains why:
Eight FARR Plugins Are Failing on DCUpdater: https://www.donation...ndex.php?topic=17494

A post in that thread referred me here.
That's because they've all been moved into one nice convenient package.

CZB Package

I have resisted updating to CZB package, mostly because I don't know how to do it ... I have only used DCU to add/update plug-ins, and I have never done any manual plug-in install or update or removal for FARR.

So, I think I have identified the correct procedure, but I would like to know if it is correct before I continue.

1) Exit FARR and DCU if running.
2) Locate the Plugins folder in the FARR install folder:
  %ProgramFiles%\FindAndRunRobot\Plugins
3) Delete or Rename or Move the following sub-folders:
  Character_Table\
  Console\
  Definr\
  Dicts_Thesaurus\
  Gcal_quicadd\
  Google_Translate\
  Timer\
  (Perhaps also TodoTXT\ ??)
  (Perhaps also others ??)
4) Download CZB pack: http://czb.dcmembers...ZB_pack/CZB_pack.zip
  and unzip it to: %ProgramFiles%\FindAndRunRobot\Plugins
5) Download FSubScript: http://czb.dcmembers...cript/FSubScript.zip
  and unzip it to: %ProgramFiles%\FindAndRunRobot\Plugins
6) Done ... restart FARR

Does anything else need to be installed for FSubScript to work ?

Did I miss anything ??

I don't see entries in (DCU) for installing/updating "CZB package" or "FSubScript".
Will DCU show them after I manually install/run them, or will they be added later ?

Thanks,

Kevin

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: NANY 2009 Final Release: CZB package
« Reply #23 on: April 08, 2009, 07:56 AM »
yes. that should be the procedure. Concerning the DC updater I think mouser is rewriting the dcupdater and therefore he did not update the plugin database.
My open-source online piano game: https://github.com/musicope/game