Jump to content
Sign in to follow this  
faustf

autoit select file by extension

Recommended Posts

faustf

hi guy is possible selct file bye extensions??

example :

i have folder whit many file , 10 jpg and other bmp , is possible tell: do somthing only at file jpg

Share this post


Link to post
Share on other sites
hannes08

#include <File.au3>
$aJpgfiles = _FileListToArray($sPath , "*.jpg") 
For $i = 1 To $aJpgfiles
    ; Do something for all JPGs in a folder
Next

  • Like 1

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.