Cafe - Handle files extensions association on the fly

Submit portable freeware that you find here. It helps if you include information like description, extraction instruction, Unicode support, whether it writes to the registry, and so on.
Message
Author
XPect
Posts: 36
Joined: Tue Feb 07, 2006 4:38 am
Location: France

#16 Post by XPect »

Well CAFE is developped using AutoHotkey so you need to get the info windows program from this application (or the one from AutoIt, it's the same).
The purpose of this program is to "spy" the active windows and to give informations on it like the class of the windows. That's what you need to add in the config file of CAFE.
I can't give you the class for ACDSee while I don't use it but some examples:
  • FreeCommander: TfcForm so you need to put "ahk_class TfcForm" without the " in the config file
    UltraExplorer: TTntFormUltraExplorer.UnicodeClass so add "ahk_class TTntFormUltraExplorer.UnicodeClass"
    FastStone: FastStoneImageViewerMainForm so add "ahk_class FastStoneImageViewerMainForm"
You need to separate each class with ,
ex:

Code: Select all

[configuration]
fenetresadditionnelles=ahk_class TfcForm, ahk_class TTntFormUltraExplorer.UnicodeClass
Hope this help

Regards

Edit: Note that Windows Explorer in handled by default

brewabel
Posts: 18
Joined: Tue Apr 24, 2007 6:18 am

#17 Post by brewabel »

tm wrote:Thanks for all the tips.

But, what do you add if you are using Windows explorer, or even for a traditionalist (I hope that's a word) like me who is using ACDSee32 as an alternative explorer.
Should be able to use the following for ACDSee32:

English:
additionalwindows=ahk_class ACDBrowser

French:
fenetresadditionnelles=ahk_class ACDBrowser

Le Yann
Posts: 7
Joined: Sat Jun 02, 2007 11:01 am
Contact:

#18 Post by Le Yann »

for ACDSee32, you should stick with :

Code: Select all

fenetresadditionnelles=ahk_class ACDBrowser
as i didn't translate variables names.

I've also got some good news concerning the AVG false positive : it was triggered by the precedent version of AutoHotKey, that was used during compilation.
I since updated AHK, and a new version of C.A.F.E. is available which shouldn't trigger this false positive anymore.

User avatar
spacemonkey
Posts: 42
Joined: Wed Jun 06, 2007 11:09 pm

#19 Post by spacemonkey »

Wheres the LGN file gone to?... :?

Le Yann
Posts: 7
Joined: Sat Jun 02, 2007 11:01 am
Contact:

#20 Post by Le Yann »

Wheres the LGN file gone to?... Confused
Oups, my bad. I forgot to put them in the zip. It should be fixed now.

User avatar
spacemonkey
Posts: 42
Joined: Wed Jun 06, 2007 11:09 pm

#21 Post by spacemonkey »

Yep all sorted now. Thanks

stone1343
Posts: 2
Joined: Thu Jul 05, 2007 7:42 am

Re: Cafe - Handle files extensions association on the fly

#22 Post by stone1343 »

XPect wrote:At last, Cafe can be stopped via command line : cafe.exe /stop
this is useful when you exit a launcher.
I've tried the /stop parameter, with PStart and in a regular command window, and it doesn't seem to do anything, it's equivalent to no parameter at all.

Le Yann
Posts: 7
Joined: Sat Jun 02, 2007 11:01 am
Contact:

#23 Post by Le Yann »

it's /exit not /stop ;)
hope this help

stone1343
Posts: 2
Joined: Thu Jul 05, 2007 7:42 am

That makes sense, and it's something I should have tried

#24 Post by stone1343 »

Oops, but thanks!

Post Reply