Order of the Butterfly
Posts: 481 from 2004/3/28
From: Hungary
Khm, so I think that you are right, and the problem is with my types. I deleted all of them, then created only the following file in sys:prefs/ambient/filetypes/lha:
Code:
AMTD
1
Name LHa Archive
Type application/lha
Action
Name Open with Voodoo-X
Event DoubleClick
Command AMIGADOS RUN >NIL: $pathvoodoox %sp
End
Action
Name List archive contents with lha
Event Menu
Command AMIGADOS DELETE T:LHA.out QUIET >NIL:
Command AMIGADOS lha l %sp >T:lha.out
Command AMIGADOS RUN >NIL: $pathmore T:LHA.out >NIL:
End
Action
Name Extract to Ram with lha
Event Menu
Command AMIGADOS RUN >NIL: lha x %sp ram:
Command INTERNAL LoadURI ram:
End
Action
Name Extract to... with lha
Event Menu
Command AMIGADOS RUN >NIL: lha x %sp %D
Command INTERNAL LoadURI %D
Flag cd destination
End
Action
Name Move to Archives
Event Menu
Command AMIGADOS RUN >NIL: move %sp $patharchives FORCE
End
End
The recognition.db is in sys:prefs/ambient/filetypes, and I have modified only the global actions part (added Archive, Open with and Filex).
These are my settings, and it doesn't work. Ambient doesn't recognize lha files, they are only "Datatype" types.
I have the latest 08.05.2006 build.
[ Edited by GK_LKA on 2006/5/11 12:22 ]
[ GK / LKA Team ]