topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Monday December 9, 2024, 8:16 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: Character Table - closed  (Read 74071 times)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Character Table - closed
« on: February 05, 2008, 11:40 AM »
This topic has been discontinued.
See:
https://www.donation...ex.php?topic=17153.0
My open-source online piano game: https://github.com/musicope/game
« Last Edit: February 23, 2009, 09:50 AM by czb »

Ampa

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 592
  • I am cute ;)
    • View Profile
    • MonkeyDash - 2 Player strategy boardgame
    • Donate to Member
Re: Character Table
« Reply #1 on: February 05, 2008, 12:21 PM »
Just installed and seems very nice.

A couple of thoughts...

1) - includes - and ±, where + only contains ± any reason why? Perhaps it isn't a minus but a dash? How about em-dash and en-dash?
2) If I type 'a' how about listing all the possible 'a' variants vertically, and allowing quick select and copy by hitting the associated number (as per usual FARR opperation)?
3) . should perhaps also contain bullet points, centered dot, circle?
4) Why does the status line say Google Translate?

Great work, thanks :)

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • View Profile
    • Donate to Member
Re: Character Table
« Reply #2 on: February 05, 2008, 12:43 PM »
∫ĝ !! It works! í,ì,ï,î,ĩ,ī,ĭ,į,ı,ǐ,ij,∞,∫,η,ι!
 :)

Ampa's suggestions are good. #2 especially would prevent mouse use and make it quicker.
Nice plugin(s) czechboy!!!

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Character Table
« Reply #3 on: February 05, 2008, 01:09 PM »
hi
as to 1) I have taken Sparkle as my source
as to 2) There is problem with unicode (I have bypassed it by RTF), but I have already writen to mouser if he can add some link ability to rtf.. so let us see and hope ;)
as to 3) could you please post exactly the characters in mention, so I can add them
as to 4) I will correct it ;)
My open-source online piano game: https://github.com/musicope/game

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Character Table
« Reply #4 on: February 05, 2008, 01:36 PM »
as for interactivity -- i think a good idea would be for farr to call the plugin when user types alt+SOMETHING in memo view.
so farr can pass along:
Alt+1 or alt+2 or alt+3 etc

and add a new funciton to plugin api so plugin can receive this.  so that will be one new way that users can interact with a plugin that uses the memo view.

Ampa

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 592
  • I am cute ;)
    • View Profile
    • MonkeyDash - 2 Player strategy boardgame
    • Donate to Member
Re: Character Table
« Reply #5 on: February 05, 2008, 01:41 PM »
From CharMap...

Middle Dot · Alt+0183 U+00B7
Bullet • Alt+0149 U+2022
White Circle ○ U+25CB


czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Character Table
« Reply #6 on: February 06, 2008, 02:40 AM »
mouser: well, I think that something similar we can already do (ofcourse without that ALT) by propriate regex. What I would like to see more is real clickable link. Or better HTML ;)
concerning HTML this could be helpful:
http://www.c-sharpco...M/HyperlinkExec.aspx
My open-source online piano game: https://github.com/musicope/game

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Character Table
« Reply #7 on: February 06, 2008, 04:21 AM »
mouser!!
give that man a plugin medal  8)
Tom

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Character Table
« Reply #8 on: February 06, 2008, 04:49 AM »
So new version ;)
type "char ac"
where "a" means row and "c" means 3rd letter (I could not use numbers since there are more than 10 letters in one row). After pressing "c" the letter is copied to the clipboard (I hade to use ActiveX clipboard since mouser's PasteClipboardToLastActiveWindow is not unicode :( ) and the FARR window is closed. then you just press ctrl+v where you want it ;)
My open-source online piano game: https://github.com/musicope/game

Ampa

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 592
  • I am cute ;)
    • View Profile
    • MonkeyDash - 2 Player strategy boardgame
    • Donate to Member
Re: Character Table
« Reply #9 on: February 06, 2008, 08:57 AM »
Just tested the new version, and… I think it is great!

Thanks for the update.

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • View Profile
    • Donate to Member
Re: Character Table
« Reply #10 on: February 06, 2008, 12:41 PM »
Ahaha! Very good idea czechboy !
One little glitch in my case... The whole process of selecting a character etc. works well, but activating farr after using the plugin doesn't work as expected : farr briefly appears and disappears, and to have farr remain there after pressing the usual hotkey (ctrl+space in my case + I have the "highlight search edit text" enabled in the Hotkey configuration window), I have to quickly press back space to eliminate the previous "char" entry ("char ac", for example).
« Last Edit: February 06, 2008, 12:43 PM by Armando »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Character Table
« Reply #11 on: February 06, 2008, 12:47 PM »
I think i better put html display in FARR window up near the top of my todo list (which is getting pretty long -- as soon as i can i will schedule a few days of work on it but i just have to finish working on another real job first).

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Character Table
« Reply #12 on: February 07, 2008, 02:34 AM »
Ahaha! Very good idea czechboy !
One little glitch in my case... The whole process of selecting a character etc. works well, but activating farr after using the plugin doesn't work as expected : farr briefly appears and disappears, and to have farr remain there after pressing the usual hotkey (ctrl+space in my case + I have the "highlight search edit text" enabled in the Hotkey configuration window), I have to quickly press back space to eliminate the previous "char" entry ("char ac", for example).

Ok. Here you have new version. It restrains you to type twice the same regex. So it should solve your problem ;)
My open-source online piano game: https://github.com/musicope/game

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • View Profile
    • Donate to Member
Re: Character Table
« Reply #13 on: February 07, 2008, 11:23 AM »
Thanks czechboy, it works well now.  :up:

Is it normal that some characters don't show?

Screenshot - 2008-02-07 , 12_16_54.jpg

Ampa

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 592
  • I am cute ;)
    • View Profile
    • MonkeyDash - 2 Player strategy boardgame
    • Donate to Member
Re: Character Table
« Reply #14 on: February 07, 2008, 05:28 PM »
Armando: Yes I have the funny quares too. I think this is the Unicode issue - FARR doesn't fully support Unicode... yet. I am sure Mouser is going to stay up late and fix it though ;)

Czechboy: thanks for the update. I notice that the alias has changed from "char" to "cc". Why "cc" I wonder - surely "ct" for character table? Doesn't really matter I guess :)

A couple of other character ideas... × (multiplication symbol) appears under * but not as a variant of x. Perhaps it should?

Also useful would be...

« Left Double Angle Quotation Mark Alt+0171 U+00AB
» Right Double Angle Quotation Mark Alt+0187 U+00BB

and a tick (check in american) and cross, though I don't think many fonts have these :( and I'm not sure where to categorize them?

✓ u2713
✔ u2714
☑ u2611

✗ u2717
✘ u2718
☒ u2612

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Character Table
« Reply #15 on: February 07, 2008, 06:56 PM »
FARR doesn't support unicode at all, and it'll take more or less a complete rewrite to support it :(
- carpe noctem

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • View Profile
    • Donate to Member
Re: Character Table
« Reply #16 on: February 08, 2008, 12:02 AM »
sssshhhhhttt!  Don't say that :P
Aren't there ways around it ?
A complete rewrite "just" for unicode ???

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Character Table
« Reply #17 on: February 08, 2008, 02:38 AM »
Well javascript + RTF1 supports unicode (luckily), so what you see is unicode ;) And if HTML will be supported in good manner, it will also support unicode... so there is solution for unicode in FARR;) Without unicode you would not see half of the characters... :Thmbsup: I guess that those rectangles are japanese, or chinese etc characters... It is similar with google translate where you can not see chinese etc.. (at least on my computer it is so). Even when I try to translate to japanese on translate.google.com it displays question marks instead of words).

So should I erase those rectangles? Nobody will miss them?

as to the regex. I am sorry it was my private regex (since I like fast easy regex, where they can be without any meaning). So that is the reason for "cc" but if you do not like it I can post former regex ;)

as to adding new chars. Just post what and where I should input it and I will do it.

Ampa: you were right. for example courier new does not seam to support the ticks.
✓ u2713
✔ u2714
☑ u2611

✗ u2717
✘ u2718
☒ u2612
My open-source online piano game: https://github.com/musicope/game
« Last Edit: February 08, 2008, 03:21 AM by czechboy »

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Character Table
« Reply #18 on: February 08, 2008, 06:23 AM »
sssshhhhhttt!  Don't say that :P
Aren't there ways around it ?
A complete rewrite "just" for unicode ???
FARR internally uses "narrow" or "ANSI" strings, all over the place. Theoreticaly, parts of FARR could store UTF-8 encoded strings in those, and use that for it's scoring rules etc. But then there would need to be vairous "conversion points" where the strings get converted between UTF-8 and UTF-16 (the windows "wide" or UNICODE format).

One example would be the file-browsing capabilities of FARR, another would be actually displaying the returned strings. And that's another problem, mouser uses a custom control for the dropdown list, which uses the Delphi/BCB NarrowString data type - and iirc, it didn't look like the control had WideString support.

So lots of changes would be necessary indeed.

I guess this character table script uses a RichEdit control for displaying the characters? Then there shouldn't be much trouble with that :)
- carpe noctem

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Character Table
« Reply #19 on: February 08, 2008, 10:09 AM »
So I post a new version. It uses Arial Unicode MS (it is bundled with MS Office, or you can find it here http://rs344.rapidsh...7811754/ARIALUNI.TTF, but keep in mind that you must have MS Office to use it legally), or you can also use Code2000 http://www.code2000....et/code2000_page.htm
My open-source online piano game: https://github.com/musicope/game

Ampa

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 592
  • I am cute ;)
    • View Profile
    • MonkeyDash - 2 Player strategy boardgame
    • Donate to Member
Re: Character Table
« Reply #20 on: February 08, 2008, 10:52 AM »
Hey! That looks good to me :)

Thanks for the continual updates!

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Character Table
« Reply #21 on: February 08, 2008, 05:30 PM »
czechboy: a word of advice since i see you're making cool plugins with frequent updates.

Don't post new versions throughout the whole thread, you can edit your own posts, thus, the best method is to keep updating the first post and directing people to download from there. This'll allow you to not enter version hell, because people in the future might be constantly reporting trouble you already solved in an more recent version but they just downloaded the one at the top of the thread.

Do you see what i mean?

[edit] another (and possibly way better) option would be for you to get some webspace (mouser hint, hint!!) and then you'd only have to post the link here ;) [/edit]
« Last Edit: February 08, 2008, 05:32 PM by jgpaiva »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Character Table
« Reply #22 on: February 08, 2008, 06:12 PM »
better yet, let me give you some web space for your plugins, AND make .dcupdate files for them so people can grab updates automatically.

Armando

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,727
    • View Profile
    • Donate to Member
Re: Character Table
« Reply #23 on: February 08, 2008, 11:49 PM »
f0dder : thanks for all the explanations! Really appreciated.

So I post a new version. It uses Arial Unicode MS (it is bundled with MS Office, or you can find it here http://rs344.rapidsh...7811754/ARIALUNI.TTF, but keep in mind that you must have MS Office to use it legally), or you can also use Code2000 http://www.code2000....et/code2000_page.htm

Nice job!!!  it works perfectly here. no more "funny squares"... :)  :Thmbsup:

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Character Table
« Reply #24 on: February 09, 2008, 03:41 AM »
Ok, I have read all you have to do to make dcupdate work and maintain.. and well... is not it time consuming? Is somebody willing to make script which would do all following steps automaticly?

1) Edit your .dcupdate file to specify the new version number (remember this file gets packed with your release zip)
2) Make a new release zip and upload it.
3) Edit your versioninfo.xml to specify the new version number and date of release and upload it to your website.

As I see it, I would start program, specify which folder is ready (choose from the list) for update and check if the ftp settings etc is correct (those settings can be stored within the program), check the new version number (and if I want different, I could correct it) and then I would just hit enter and it would do everything automaticly.. isnt that a great idea? :) Unfortunately I dont think I can do this via javascript (zipping, uploading etc...)

EDIT: As I read about AutoHotKey, it is nearly ideal program for this purpose.. ;)
My open-source online piano game: https://github.com/musicope/game
« Last Edit: February 09, 2008, 04:03 AM by czechboy »