How can we get files list from a folder?
Hello All,
My plugin has to display the list of .ai files in the UI from C:\Program Files\Adobe\Adobe Illustrator CS4\Plug-ins\Illustrator Filters\MyPlugin folder.
Like, if we place "MyFile.ai" in "MyPlugin" folder, then UI has to display the MyFile (file name) in a combo box.
I want to get the files list from "MyPLugin" folder.
//get AI plugins folder
ai::FilePath pluginsFolder;
sAIFolders->FindFolder(kAIPluginsFolderType,
false, pluginsFolder);
//MyPlugin folder
ai::UnicodeString MyPluginFolder(pluginsFolder.GetFullPath( ));
MyPluginFolder.append( ai::UnicodeString ("\\Illustrator Effects\\Myplugin\\") );
Here I can get the my plugin folder complete path in "MyPluginFolder".
Now, from this folder I want to get the files list what I have placed?
What are the APIs available in AI to get the files list from a folder?
