What i am trying to do here is find an icon file in a folder of unknown name.
There will always be only one icon file in this folder and the folder will always be at the same location.
The icon file will always be different though, so i want to use a reg expression to locate the file.
This obviously does not work, but you may be able to see what i am trying to do;
Code: Select all
revCopyFile defaultFolder & "/" & ".+icns" & specialFolderPath("Desktop")
Maybe there is an easier function to get files from folders by "type" but i cant seem to find a function for that.