It is currently Sun Nov 23, 2014 2:13 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 79 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 4:34 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4069
Thanks lautrepay. Did you use some of my code to extract? :mrgreen:

_________________
Added 179 Applications: Portable and an AutoIt Developer
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 4:36 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4069
I just did a comparison with all the previous extensions against the LibreOffice extensions and found .doc to be present in Notepad2, so I've removed this from the Notepad2 entry and here are the unique results.

LibreOffice Extensions (unique):
Code:
123=LibreOffice.exe
602=LibreOffice.exe
csv=LibreOffice.exe
dbf=LibreOffice.exe
dif=LibreOffice.exe
doc=LibreOffice.exe
docm=LibreOffice.exe
docx=LibreOffice.exe
dot=LibreOffice.exe
dotm=LibreOffice.exe
dotx=LibreOffice.exe
fodg=LibreOffice.exe
fodp=LibreOffice.exe
fods=LibreOffice.exe
fodt=LibreOffice.exe
hwp=LibreOffice.exe
jfif=LibreOffice.exe
jif=LibreOffice.exe
jpe=LibreOffice.exe
lwp=LibreOffice.exe
met=LibreOffice.exe
mml=LibreOffice.exe
odb=LibreOffice.exe
odf=LibreOffice.exe
odg=LibreOffice.exe
odm=LibreOffice.exe
odp=LibreOffice.exe
ods=LibreOffice.exe
odt=LibreOffice.exe
otg=LibreOffice.exe
oth=LibreOffice.exe
otp=LibreOffice.exe
ots=LibreOffice.exe
ott=LibreOffice.exe
pct=LibreOffice.exe
pdb=LibreOffice.exe
pot=LibreOffice.exe
potm=LibreOffice.exe
potx=LibreOffice.exe
pps=LibreOffice.exe
ppsx=LibreOffice.exe
ppt=LibreOffice.exe
pptm=LibreOffice.exe
pptx=LibreOffice.exe
psw=LibreOffice.exe
pxl=LibreOffice.exe
rtf=LibreOffice.exe
sda=LibreOffice.exe
sdc=LibreOffice.exe
sdd=LibreOffice.exe
sdw=LibreOffice.exe
sgf=LibreOffice.exe
sgl=LibreOffice.exe
sgv=LibreOffice.exe
slk=LibreOffice.exe
smf=LibreOffice.exe
stc=LibreOffice.exe
std=LibreOffice.exe
sti=LibreOffice.exe
stw=LibreOffice.exe
svm=LibreOffice.exe
sxc=LibreOffice.exe
sxd=LibreOffice.exe
sxg=LibreOffice.exe
sxi=LibreOffice.exe
sxm=LibreOffice.exe
sxw=LibreOffice.exe
uof=LibreOffice.exe
uop=LibreOffice.exe
uos=LibreOffice.exe
uot=LibreOffice.exe
vor=LibreOffice.exe
wb2=LibreOffice.exe
wk1=LibreOffice.exe
wks=LibreOffice.exe
wpd=LibreOffice.exe
wpg=LibreOffice.exe
wps=LibreOffice.exe
xlc=LibreOffice.exe
xlk=LibreOffice.exe
xlm=LibreOffice.exe
xls=LibreOffice.exe
xlsb=LibreOffice.exe
xlsm=LibreOffice.exe
xlsx=LibreOffice.exe
xlt=LibreOffice.exe
xltm=LibreOffice.exe
xltx=LibreOffice.exe
xlw=LibreOffice.exe

_________________
Added 179 Applications: Portable and an AutoIt Developer
SoftwareSpot - Portable Apps


Last edited by guinness on Thu Feb 09, 2012 7:28 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 4:47 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4069
KeePass Extensions:
Code:
kdb=KeePass.exe

_________________
Added 179 Applications: Portable and an AutoIt Developer
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 4:49 am 
Offline

Joined: Sat Mar 26, 2011 2:31 am
Posts: 670
guinness wrote:
Thanks lautrepay. Did you use some of my code to extract? :mrgreen:

Oh, no, my knowledge isn't enough to use your code. I used GetWindowText and TextFileOperations.
But I'll try, I need some time to study it.


Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 4:53 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4069
lautrepay wrote:
guinness wrote:
Thanks lautrepay. Did you use some of my code to extract? :mrgreen:

Oh, no, my knowledge isn't enough to use your code. I used GetWindowText and TextFileOperations.
But I'll try, I need some time to study it.
No problem, so long as the results are the same that's all that matter. To be honest I didn't put comments in the code because I didn't want to waste time on the AutoIt code, for those who know AutoIt should understand (it's level 1 coding!)

_________________
Added 179 Applications: Portable and an AutoIt Developer
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 5:25 am 
Offline

Joined: Sat Mar 26, 2011 2:31 am
Posts: 670
guinness wrote:
No problem, so long as the results are the same that's all that matter. To be honest I didn't put comments in the code because I didn't want to waste time on the AutoIt code, for those who know AutoIt should understand (it's level 1 coding!)

My actual level is 0.1. As joby_toss said, "I'd like to think it's because I'm too busy, but it might be because I'm too lazy" :mrgreen:

XMPlay (Audio Player)

Without plugins

Audio formats
Code:
mo3=XMPlay.exe
it=XMPlay.exe
xm=XMPlay.exe
s3m=XMPlay.exe
mtm=XMPlay.exe
mod=XMPlay.exe
umx=XMPlay.exe
ogg=XMPlay.exe
mp3=XMPlay.exe
mp2=XMPlay.exe
mp1=XMPlay.exe
wav=XMPlay.exe
wma=XMPlay.exe
cda=XMPlay.exe

Playlist formats
Code:
pls=XMPlay.exe
m3u=XMPlay.exe
asx=XMPlay.exe
wax=XMPlay.exe


With plugins

Audio formats
Code:
ogg=XMPlay.exe
mp3=XMPlay.exe
mp2=XMPlay.exe
mp1=XMPlay.exe
wma=XMPlay.exe
wav=XMPlay.exe
cda=XMPlay.exe
mo3=XMPlay.exe
it=XMPlay.exe
xm=XMPlay.exe
s3m=XMPlay.exe
mtm=XMPlay.exe
mod=XMPlay.exe
umx=XMPlay.exe
ac3=XMPlay.exe
aac=XMPlay.exe
mp4=XMPlay.exe
m4a=XMPlay.exe
m4b=XMPlay.exe
flac=XMPlay.exe
oga=XMPlay.exe
midi=XMPlay.exe
mid=XMPlay.exe
rmi=XMPlay.exe
kar=XMPlay.exe
mus=XMPlay.exe
xmi=XMPlay.exe
mpc=XMPlay.exe
mp+=XMPlay.exe
mpp=XMPlay.exe
wv=XMPlay.exe
wma=XMPlay.exe
mdz=XMPlay.exe
s3z=XMPlay.exe
xmz=XMPlay.exe
itz=XMPlay.exe


Archivers formats:
Code:
rar=XMPlay.exe
zip=XMPlay.exe
7z=XMPlay.exe


Last edited by lautrepay on Thu Feb 09, 2012 9:10 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 5:29 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4069
lautrepay wrote:
My actual level is 0.1. As joby_toss said, "I'd like to think it's because I'm too busy, but it might be because I'm too lazy" :mrgreen:
Well you certainly aren't doing a good job of being lazy if you're helping me. Thanks for XMPlay supported extensions.

_________________
Added 179 Applications: Portable and an AutoIt Developer
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 5:32 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4069
If you're using AutoIt Portable then you can use SciTE instead of Notepad2.

AutoIt Extensions:
Code:
au3=AutoItPortable\AutoIt.exe

_________________
Added 179 Applications: Portable and an AutoIt Developer
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 6:13 am 
Offline

Joined: Sat Mar 26, 2011 2:31 am
Posts: 670
XnView (basically images files with a few other extensions to filter, e.g. .exe, .pdf, etc.)
Code:
3fr=XnView.exe
abr=XnView.exe
ai=XnView.exe
ani=XnView.exe
apx=XnView.exe
avi=XnView.exe
avw=XnView.exe
bay=XnView.exe
blp=XnView.exe
bmf=XnView.exe
bmp=XnView.exe
bmp=XnView.exe
cal=XnView.exe
cam=XnView.exe
cgm=XnView.exe
cin=XnView.exe
clo=XnView.exe
clp=XnView.exe
cmt=XnView.exe
cr2=XnView.exe
crw=XnView.exe
cs1=XnView.exe
cur=XnView.exe
dcm=XnView.exe
dcr=XnView.exe
dcx=XnView.exe
dds=XnView.exe
dib=XnView.exe
dis=XnView.exe
dng=XnView.exe
dpx=XnView.exe
dwg=XnView.exe
dxf=XnView.exe
ei=XnView.exe
emf=XnView.exe
emz=XnView.exe
epi=XnView.exe
eps=XnView.exe
erf=XnView.exe
eri=XnView.exe
exe=XnView.exe
fff=XnView.exe
fif=XnView.exe
fli=XnView.exe
fpx=XnView.exe
fx3=XnView.exe
fxs=XnView.exe
g3n=XnView.exe
gbr=XnView.exe
gif=XnView.exe
hdr=XnView.exe
hp=XnView.exe
icl=XnView.exe
icns=XnView.exe
ico=XnView.exe
ico=XnView.exe
icon=XnView.exe
iff=XnView.exe
img=XnView.exe
img=XnView.exe
img=XnView.exe
ipl=XnView.exe
ipl=XnView.exe
itg=XnView.exe
iwc=XnView.exe
j6i=XnView.exe
jb2=XnView.exe
jbf=XnView.exe
jbg=XnView.exe
jbr=XnView.exe
jif=XnView.exe
jls=XnView.exe
jng=XnView.exe
jp2=XnView.exe
jp2=XnView.exe
jpc=XnView.exe
jpc=XnView.exe
jpg=XnView.exe
jpg=XnView.exe
jpm=XnView.exe
jxr=XnView.exe
k25=XnView.exe
kdc=XnView.exe
kdc=XnView.exe
kqp=XnView.exe
kro=XnView.exe
lbm=XnView.exe
ldf=XnView.exe
lff=XnView.exe
lsm=XnView.exe
lwf=XnView.exe
max=XnView.exe
mbm=XnView.exe
mef=XnView.exe
mic=XnView.exe
mif=XnView.exe
mix=XnView.exe
mng=XnView.exe
mng=XnView.exe
mos=XnView.exe
mov=XnView.exe
mpg=XnView.exe
mpo=XnView.exe
mrc=XnView.exe
mrw=XnView.exe
msk=XnView.exe
mtv=XnView.exe
nef=XnView.exe
nrw=XnView.exe
oil=XnView.exe
ols=XnView.exe
orf=XnView.exe
p2=XnView.exe
p7=XnView.exe
pat=XnView.exe
pax=XnView.exe
pbm=XnView.exe
pcd=XnView.exe
pcx=XnView.exe
pdb=XnView.exe
pdf=XnView.exe
pdx=XnView.exe
pef=XnView.exe
pfi=XnView.exe
pfm=XnView.exe
pfr=XnView.exe
pgm=XnView.exe
pic=XnView.exe
pix=XnView.exe
pld=XnView.exe
pmp=XnView.exe
png=XnView.exe
pnm=XnView.exe
ppm=XnView.exe
prc=XnView.exe
ps=XnView.exe
ps=XnView.exe
psd=XnView.exe
psp=XnView.exe
pspbrush=XnView.exe
pspmask=XnView.exe
pwc=XnView.exe
pwp=XnView.exe
pxb=XnView.exe
pxs=XnView.exe
qrt=XnView.exe
qtif=XnView.exe
raf=XnView.exe
ras=XnView.exe
raw=XnView.exe
rawraw=XnView.exe
rdc=XnView.exe
rgb=XnView.exe
rla=XnView.exe
rle=XnView.exe
rsb=XnView.exe
rsrc=XnView.exe
rw2=XnView.exe
rwl=XnView.exe
rwz=XnView.exe
sct=XnView.exe
seq=XnView.exe
sff=XnView.exe
sfw=XnView.exe
sid=XnView.exe
sj1=XnView.exe
sr2=XnView.exe
srf=XnView.exe
srf=XnView.exe
srw=XnView.exe
svg=XnView.exe
syn=XnView.exe
tdim=XnView.exe
tex=XnView.exe
tga=XnView.exe
tif=XnView.exe
tim=XnView.exe
tm2=XnView.exe
tub=XnView.exe
txc=XnView.exe
vpb=XnView.exe
vst=XnView.exe
vtf=XnView.exe
wbmp=XnView.exe
wdp=XnView.exe
webp=XnView.exe
wic=XnView.exe
wlm=XnView.exe
wmf=XnView.exe
wmz=XnView.exe
wsq=XnView.exe
x3f=XnView.exe
xbm=XnView.exe
xcf=XnView.exe
xpm=XnView.exe
xwd=XnView.exe
ypc=XnView.exe
yuv=XnView.exe


Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 7:18 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4069
Some of these are already included in Notepad2, but for those who don't code it html then it's more useful to associate Opera with html/htm extensions.

Opera Extensions:
Code:
htm=Opera.exe
html=Opera.exe
mht=Opera.exe
mhtml=Opera.exe
oex=Opera.exe
svg=Opera.exe
wgt=Opera.exe
xht=Opera.exe
xhtm=Opera.exe
xhtml=Opera.exe
xml=Opera.exe

_________________
Added 179 Applications: Portable and an AutoIt Developer
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 7:25 am 
Offline
User avatar

Joined: Sat Feb 09, 2008 9:57 am
Posts: 2305
Location: Romania
Quick question: what is LibraOffice?

_________________
The Venus Project - Imagine Our world with No Laws, No Crime, No Wars, No Prisons


Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 7:27 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4069
Whoops! Should be LibreOffice. Fixed.

_________________
Added 179 Applications: Portable and an AutoIt Developer
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 7:48 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4069
The iso filetype is present in 7-Zip and img is in IrfanView, so just be aware.

ImgBurn Extensions:
Code:
ccd=ImgBurn.exe
bin=ImgBurn.exe
cdi=ImgBurn.exe
cue=ImgBurn.exe
gi=ImgBurn.exe
img=ImgBurn.exe
iso=ImgBurn.exe
mds=ImgBurn.exe
nrg=ImgBurn.exe
pdi=ImgBurn.exe

_________________
Added 179 Applications: Portable and an AutoIt Developer
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 8:08 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4069
I will give it couple of days (in case more are submitted) and then I'll take lautrepay's additions (plus others) and compare to their respective counterparts to see what are the differences and similarities i.e. VLC can play but XMPlay can't etc. This should then give me an overall idea of what are the popular extensions in that particular category.

The idea is to create a generic list that the user can then modify to their own tastes by simply changing the application as it's been shown today that some prefer VLC or XMPlay or even IrfanView to play audio/video. So by having a list where we know the extensions should work across the board, is going to get people interested in using eXpresso/CAFE/CAFEMod without the daunting task of working out what file extensions to use, well I hope anyway! :D

The current count I have for my personal additions is totalling at 451 unique file extensions.

_________________
Added 179 Applications: Portable and an AutoIt Developer
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: CAFE custom configs
PostPosted: Thu Feb 09, 2012 2:46 pm 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 4069
I was interested in the miscellaneous extensions that I hadn't found yet, so I created the function below to find all the files on the Portable drive, extract the extension and from there check if they were in the eXpresso INI file. I found an additional 274 extensions but not all were common.

The output is saved to a file called Config.txt in the same location as the script and looks something like this >> (because having lang= didn't tell much about the extension, so visually the full path gave me a better idea of whether or not it was useful.)
Quote:
lang=F:\Apps\CDex\Bin\CDex\lang\english.cdex.lang

Code:
#include <Constants.au3>
#include <WinAPIEx.au3> ; By Yashied >> http://www.autoitscript.com/forum/topic/98712-winapiex-udf/

_Main()

Func _Main()
   ; eXpresso/CAFE/CAFEMod ini file.
   Local $sFilePath = "F:\Apps\eXpresso\Data\eXpresso.ini", $sReturn = "", $sUnique = "", $aSplit
   Local $aSearch = _FileSearch("F:\") ; Portable drive.

   For $i = 1 To $aSearch[0]
      $sExtension = StringLower(StringTrimLeft(_WinAPI_PathFindExtension($aSearch[$i]), 1))
      If Not StringInStr($sUnique, $sExtension & "?") Then
         $sUnique &= $sExtension & "?"
         $sReturn &= $sExtension & "|" & $aSearch[$i] & "?"
      EndIf
   Next

   $aSearch = StringSplit(StringTrimRight($sReturn, 1), "?")
   $sReturn = ""
   For $i = 1 To $aSearch[0]
      $aSplit = StringSplit($aSearch[$i], "|")
      If IniRead($sFilePath, "associations", $aSplit[1], "") = "" Then
         $sReturn &= $aSplit[1] & "=" & $aSplit[2] & @CRLF
         ConsoleWrite($aSplit[1] & "=" & $aSplit[2] & @CRLF)
      EndIf
   Next
   Return _SetFile($sReturn, @ScriptDir & "\Config.txt", 1)
EndFunc   ;==>_Main

Func _FileSearch($sFilePath, $sFilter = "*.*")
   Local $aError[2] = [1, $sFilePath], $iPID, $sOutput = ""

   If _WinAPI_PathIsDirectory($sFilePath) = 0 Then
      Return $aError
   EndIf

   $sFilePath = _WinAPI_PathAddBackslash($sFilePath)
   $iPID = Run(@ComSpec & ' /C DIR "' & $sFilePath & $sFilter & '" /B /A-D /S', $sFilePath, @SW_HIDE, $STDOUT_CHILD)
   While 1
      $sOutput &= StdoutRead($iPID)
      If @error Then
         ExitLoop
      EndIf
   WEnd
   Return StringSplit(StringTrimRight(StringStripCR($sOutput), StringLen(@LF)), @LF)
EndFunc   ;==>_FileSearch

Func _SetFile($sString, $sFile, $iOverwrite = 0)
   Local $hFileOpen
   $hFileOpen = FileOpen($sFile, $iOverwrite + 1)
   FileWrite($hFileOpen, $sString)
   FileClose($hFileOpen)
   If @error Then
      Return SetError(1, 0, $sString)
   EndIf
   Return $sString
EndFunc   ;==>_SetFile

_________________
Added 179 Applications: Portable and an AutoIt Developer
SoftwareSpot - Portable Apps


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 79 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group