![]() ![]() (We always get those two things confused.) Granted, Desktop Search 3.0 is a piece of software you’ll have to download, install, and configure before you can use it. As it turns out, we didn’t use steroids instead, we used Desktop Search 3.0. So then how did we manage to write a script that can determine the date that a digital photo was taken and then add that date to the file name? That’s easy: steroids. You can use the FileSystemObject or WMI to determine the date that the file was created (that is, the date the file was saved to the drive) but there’s no way for you to determine the date that the picture was taken. The bad news? There’s nothing built into the operating system (prior to Windows Vista, that is) that allows a script writer to access this information. (In Windows Vista, right-click, select Properties, then select the Details tab.) That’s the good news. The date a digital photo was taken is retained any time that file is saved to a disk drive to find the date, open Windows Explorer or My Computer, right-click the file, click Properties, click the Summary tab, and then click the Advanced button. Before we do that, however, we also need to issue one quick caveat. Give us a minute or two to come down off our high, and then we’ll explain how this script works. Wow, our head is still spinning and our heart is still pounding from that script! ![]() StrNewName = arrName(0)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |