Hello,
I bought some fonts recently and when I extract it i see that the fonts are inside folders and there are possibly hundreds of folders.
I would to know how to go through each folder and open each one up
i know i can use ChangeDirectory to open into a directory but i dont know how to get the list of the directories.
I need to go through each folder in a path and install fonts
Moderators: Dorian (MJT support), JRL
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Why do you want to open up each folder?
What are you trying to do?
Just need a list of all fonts in all directories? In what format?
Need to copy/Move from Dir A to Dir B?
Need to make decisions base on filename, filedate, filesize, etc.
Can help you better if you describe more fully what you are trying to do.
What are you trying to do?
Just need a list of all fonts in all directories? In what format?
Need to copy/Move from Dir A to Dir B?
Need to make decisions base on filename, filedate, filesize, etc.
Can help you better if you describe more fully what you are trying to do.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
Well the font pack has 100s of fonts and each font is installed
in their own directory and directories name matches the font name. These folders are all contained inside a rar file.
I could extract the folders and could open each directory, see each font and right click it and install it but it would take to long. So basically i want to be able to install the fonts automatically
without me opening each folder.
Ben
in their own directory and directories name matches the font name. These folders are all contained inside a rar file.
I could extract the folders and could open each directory, see each font and right click it and install it but it would take to long. So basically i want to be able to install the fonts automatically
without me opening each folder.
Ben
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Have Macro Scheduler unzip the archive and then for each folder use GetFileList to get a list of files in each folder. Iterate through each file list and for each file do ExecuteFile to install the font.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?