You are here

C.A.F.E. Mod Beta 2 - Added Language Support

23 posts / 0 new
Last post
ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
C.A.F.E. Mod Beta 2 - Added Language Support

Beta 3b is out now

CAFE Mod Beta 3c is done, but not up yet.

Changes in Beta 3c
- a few small bug fixes, nothing special

ToDo
- create special conditions for handling exe and com files
- make a fancy icon
- fix a bug I found in the Extension Configuration GUI where clicking yes or no on a message box both do nothing
- clean up Extension Configuration code and make it clear and disable fields again once an association is completed
- find a way to refresh the group of monitored windows after deleting one, rather than making the user refresh CAFE to finalize any window deletions
- add in Netherlands translation

List of changed Hotkeys

Shift + Ctrl + Left Click - Associate Main App with extension
Alt + Ctrl + Left Click - Associate Alternative App with extension
Ctrl + Alt + c - Pause
Shift + Win + m - Configure Mouse settings
Shift + Win + Left Click - Add window to monitored window list
Escape + c - exit CAFE

Any suggestions are welcome. Please report any bugs here. If you would like to translate the .lng file to another locale, your help will be greatly appreciated and you will be credited in the final release.

Thanks to Aciago for the Spanish - LA and Spanish - Es translations

Thanks to Have Some Patience for hosting
Link:
C.A.F.E. Mod Beta 3b

Aciago
Aciago's picture
Offline
Last seen: 5 months 3 days ago
Joined: 2007-01-24 14:23
I want to test it...

andresbracho at gmail you know the rest...

------------------
I have no signature again... Cry

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
email sent. let me know if

email sent.

let me know if you find any bugs
_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

Aciago
Aciago's picture
Offline
Last seen: 5 months 3 days ago
Joined: 2007-01-24 14:23
I have been...

traveling and out of Internet access...

I received your file... let me test it...

But I see a new version on this thread, I think is better if I try the newest one... Blum

This file works with the same .ini that the original cafe uses?

------------------
I have no signature again... Cry

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
it should work with the same

it should work with the same ini

The developer formerly known as ZGitRDun8705

Aciago
Aciago's picture
Offline
Last seen: 5 months 3 days ago
Joined: 2007-01-24 14:23
Yes

It works... Am also working in a Spanish locale... to post it here soon... Blum

------------------
I have no signature again... Cry

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
Good to hear. Thanks. For

Good to hear. Thanks. For the locale, any word preceded by $ should not be translated, the word's position in the string can change but it has to stay the same word. ie $extension has to stay $extension. Also, only the strings to the right of the = get changed. I'm sure you already knew this, just wanted to make sure.
_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 1 month ago
Joined: 2006-08-10 16:38
License / Instructions

I noticed that CAFE writes / deletes the instructions and license every time it is run. Can you change the code to stop doing that, since I know many people worry about the amount of reads/writes on their flash drives; also, I think it's unnecessary to have those deleted every time CAFE is closed.
Just delete the last "if" from cafe.ahk
---------------
"Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river." -- Cyril Connolly

"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
Got it. I took that out.

Got it. I took that out. It'll be a while before I upload again, i'm making a lot of changes.
_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
Updated to Beta 2. Now has

Updated to Beta 2. Now has language support, but so far I only have an English .lng file. If anyone is interested in translating, the .lng is in the locale folder. Only change values to the right of the = in each line, and leave any word preceded by a $ as is, and leave all `n in place.

Post back with bugs, comments or requests.
_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

Patrick Patience
Offline
Last seen: 4 years 2 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Sounds cool.

Send all your future updates to my gmail address and I will try to upload them to my site as soon as possible.

I'll try this out now. And I will uploaded this release right now and post a link.

Edit: It's now in my download section;

http://paddy.sunnyoasis.com/downloads/Cafe_Mod_Beta_2.sfx.exe

_______________________________________________
It's kinda scary when my desktop is messier than my room...

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
Thanks Patrick. I have

Thanks Patrick. I have another one, but all it adds is a refresh cafe ability so if the user makes some changes that don't appear right away, a simple click on the Refresh CAFE will enable that. I'm trying to add a gui for the Additional Windows part that was coded into the original but does nothing, unless the user edits the ini directly. and in that case, they have to know the ahk_class name for the window they wish to add. ie Xplorer2 the ahk_class is ahk_class ATL:ExplorerFrame
_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 1 month ago
Joined: 2006-08-10 16:38
ahk_class

How can I find the ahk_class of a window? i.e.: the "Start" menu.
---------------
"Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river." -- Cyril Connolly

"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
I don't know of an easy way

I don't know of an easy way to do it, without downloading and installing AutoHotkey yet. If you get AutoHotkey, use the AutoIt3 Window Spy that is packaged with it, and whichever window is active, it will return info about, ie. window title, and ahk_class, and a bunch of other stuff.

But here is the info for start menu:
Ahk Class: ahk_class DV2ControlHost (need this whole string, starting with ahk_class, not just DV2...)
_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 1 month ago
Joined: 2006-08-10 16:38
Thanks

Alright, thanks, I've got it. Did you try it? It does not work with me. I try opening files that I have on my start menu and no luck. Could it be because they're shortcuts?

Edit: Yep, cafe does not work with shortcuts. It would be nice if it did.
---------------
"Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river." -- Cyril Connolly

"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
It's supposed to work with

It's supposed to work with shortcuts too....dang it lol. I have to fix another thing from the original i guess Sad

Edit: It does work with shortcuts on the desktop or in Explorer. It does not work with start menu for some reason. I have no idea how to fix this Sad

Edit 2: I found the reason for the issue with the start menu. C.A.F.E. monitors for a double-click on a file before taking an action, and all elements in start menu are run on a single click. I have to add a check for the active window, and if the active window is the start menu, make C.A.F.E take action on the first click.

Edit 3: I don't think it can be done. Windows handles the start menu in a special way, so the shortcuts in the menu do not have the .lnk attribute, so CAFE can't tell that it's actually a shortcut.
_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 1 month ago
Joined: 2006-08-10 16:38
Shortcuts

You're right. I forgot I had closed cafe when I tried opening a shortcut. Sorry.

So, you say it I can't open files/folders/shortcuts from the start menu... oh well. But are you still going to monitor files opened with a single click?
---------------
"Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river." -- Cyril Connolly

"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
Most files don't open on

Most files don't open on single click. It does monitor if you click to highlight it, then press Enter to activate it. I'm not sure of an easy way to allow single click instances as well without it registering EVERY click as an attempt to open a file

_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

ede
Offline
Last seen: 16 years 8 months ago
Joined: 2007-04-01 19:25
This...

is absolutely great. You've really outdone yourself.

I'm testing the heck out of it right now, but let me say that I am much more inclined to make a Convey/C.A.F.E. merger now that I've seen how polished this is looking.

Although, this sort of makes Convey obsolete (except for the addons). Blum

I am also working on a startup addon (for those who want something simpler than PStart). Also, I have a simple menu that I planned on adding to Convey.

C.A.F.E. + Convey + Startup + Menu = a pretty nifty little portable application tool.

Just something to think about.

-ede

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
Thanks ede

I have one more thing to implement before my next release. It will be similar to the gui for Apps Configuration, but it will handle additional windows for CAFE to monitor. Currently it only monitors the built in Explorer and the desktop. This idea was coded into the original, but the only way to work it was by editing the ini directly, and the user needed to know the ahk_class of the window they wished to add. I'm trying to add a GUI interface for this where a simple key combination and clicking on the window will get its ahk_class and add it to a list.
_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

gvgerman
gvgerman's picture
Offline
Last seen: 14 years 4 months ago
Joined: 2006-11-04 13:54
This works very well

and shows great promise. Great job!

Live by the Law of the Minimum

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
Thanks. I still have to get

Thanks. I still have to get the GUI for additional managed windows working correctly, then beta 3 will be released.
_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

paulm
Offline
Last seen: 14 years 6 months ago
Joined: 2006-09-16 23:33
here here!!

i've been working on my own touch up of cafe. i'm calling it espresso just for grins. the only minor change i'd ask that you mirror if you haven't already is moving the double click calibration hotkey off of win+m which is the ever useful builtin show desktop hotkey. i've just finished perfecting my oh so minor mod, give me a day or two more of being proud of it and i'll load yours up and join the mob testing it. such a great idea.

Signature automatically removed for containing links

Log in or register to post comments