Album : Scripts manipulating an album and its pictures.
Albums : Scripts manipulating a set of albums.
Demo : Scripts often without practical use but useful for understanding the object model and building other scripts.
External : Scripts using external applications or modules
Misc : Miscelaneous scripts.
Picture : Scripts manipulating pictures (or dealing with pictures).
Video : Scripts dealing with video files or sound.
Web : Scripts related to the Internet (Web, mail,…).

Album

AddAudioFile.vbs Scan the current album and add wav audio files that match (in a specified sub-folder) the picture names.
AutoTab.vbs This script analyses the current album and create a keyword tab for every folder a picture is found in.
SortOnCFDate.vbs Sort the current album. The 'Date' and 'Time' Custom Fields are used to sort pictures. Usefull for sorting pictures taken by a digital camera using the true date/time the picture was taken.
SortOnCFDateFr.vbs Tri d'un album : Les champs personnalisés Date et Heure sont utilisés pour le tri.
SortOnKeyword.vbs Sort the current album by keywords (thanks to Chris A Harris)

Albums

linkAlbum.vbs Sample script to load an album from the script associated to a picture to make a continuous slideshow between two albums.
MergeAlbums.vbs Merges two albums. All the picture from one album are copied to the second. Picture comment, keywords and custom fields are preserved.
nbAlbum.vbs Lists the albums that are currently open in MyAlbum.
SearchInAlbums.vbs This VBScript searches for a string in the albums in the current album.
The current album should contain other albums, each of these albums is opened and the specified string is searched in the comments of the pictures the album contains. The comparison is case sensitive.

Demo

99Beer.js The classic "99 Bottles of Beer on the Wall" program in JavaScript for MyAlbum.
ChangeDisk.vbs Shows how to change the access path to the picture (here changing drive C: to D:)
ClearVideo.vbs Clear the Video flag in the picture status.
CvtName.vbs Convert the filenames of the pictures. Set all the names to .jpg (why did I wrote this script ???)
DemoJScript.js Simple JScript script for MyAlbum: Get the current album, list all pictures and select them
DemoVBScript.vbs Simple VBScript script for MyAlbum: Get the current album, list all pictures and select them.
DemoVBScript2.vbs Another simple demo.
DemoVBScript3.vbs Another example.
DemoVBScript4.vbs Another simple demo.
RenameFile.vbs Test for copying and renaming a picture.
SaveAndLoadKw.vbs Save the keywords to a text file. Create a new album. Add the keywords by reading back the generated text file.
ShellObject.vbs How to use the Shell object. Recursively browses the specified drive.
TestDateTime.vbs Playing with date and time.
TestDB.vbs Sample script to show how to read and write data to a external database.
TestDeleteKW.vbs Example on how to delete a keyword or a custom field from an album.
TestHTMLDialog.vbs Test of the HTML Dialog (IE4 must be installed).
TestMargin.vbs Example on how to adjust the margin size (space between the thumbnails)
TestSlideshow.vbs Starting a slideshow with a script.
TestStamp.vbs Test script for "stamping" pictures.
TestWIA.vbs Some tests with the WIA API of Windows ME…

External

PhotoPC.vbs Demo of the PhotoPC MAX extension. Takes 3 photos and adds them to the current album.
PhotoPCGetPictures.vbs Demo of the PhotoPC MAX extension. Downloads all the pictures of the camera and add them to the current album.

Misc

ChangeType.vbs Change the type of the current picture. A dialog box helps selecting the proper type. Thanks to …
CloseMyAlbum.vbs This script is for closing MyAlbum from a slideshow on the last picture. Use this script so MyAlbum exits when the last picture is displayed,
CopyCFields.vbs Advance to the next picture and copy keywords and custom fields from previous picture. Usefull when assigned to a keyboard shortcut.
CountSelPics.vbs Count the selected pictures and displays the result on the status bar.
DuplicatePic.vbs Takes the first picture in the album and duplicates it 20 times in the same album.
FindOrphans.vbs Select the thumbnails that don't link to a picture.
HideShowPic.vbs Hide or Show the current picture.
HideStatusbar.vbs Shows how to hide the MyAlbum status bar and the re-bar.
ListAlbum.js This is a simple album lister in JavaScript. Builds a text file containing the listing of album and displays it when finished.
PictureScript.vbs Example of a picture-level script. When run, it will hide the picture comment displayed in full-screen mode.
StartSlideshow.vbs Start a slideshow from a script.
Send a message directly to the MyAlbum main window to start a slideshow of the selected pictures.
Use the other constants for the other slideshow types.
TestRelPath.vbs Lists for each picture its original path and relative path.

Picture

AnnotatePic.vbs Create an annotated picture: This script takes the current picture and generates a new one with:
- a green border: small on the top, left and right, large at the bottom
- the comment of the picture is printed on the large bottom border
- its name is derived from the original picture with "_cmt" appended.
CropPic.vbs Crop the selected picture to the specified rectangle.
IncreaseColors.vbs Takes the selected pictures from the album (B&W or low-color pictures) and save them in new full-color BMP files.
InfoBox.vbs Displays a message box containing the title and full comment of the selected picture. Once in place, this script can be activated either manually by a function key assigned in Tools/Customize menu, or automatically via the Play field in Picture Information (F7)
Thanks to Edward Bean.
Paste2Th.vbs Replace the thumbnail of the current picture with the content of the Windows clipboard.
PrintAlbum.vbs Get the current album, print all pictures. Print one tab at a time. (thanks to Chris A Harris)
RecordSound.vbs Record a wav sound file with the same name as the current picture.
RotatePic.vbs This script will rotate the selected pictures 90° clockwise. These pictures must be JPEG pictures. You must install the jpegtran program first. Please make a backup of your pictures first as they will be replaced,
SaveThumbnails.vbs Create thumbnail files that look like the thumbnails in MyAlbum.
This script will process all the selected pictures and will create a 3D looking thumbmnail file with a reduced picture in it a caption below.
SetKeyword.vbs Assign a keyword to the selected pictures.
SetTypeHTML.vbs Set the current picture to the 'HTML' type. By setting the picture type to HTML, you instruct MyAlbum to use Microsoft Internet Explorer to view the file. With the proper plugins installed you will then be able to view Adobe Acrobat (pdf) files, Macromedia Shockwave Flash (swf) animations and many other files without leaving MyAlbum!
TestCreatePic.vbs Test creating a picture.
This demo takes the current picture and generates a new one with:
- a green border: small on the top, left and right, large at the bottom
- the comment of the picture is printed on the large bottom border
- its name.

Video

BuildVideoTh.vbs This script is used to replace the default thumbnail used for the video files with a screenshot taken from the video itself. Assign it first to a keyboard shortcut, during the video press the shortcut to capture the frame and use it as thumbnail image,
PlaySound.vbs Test the PlaySound command.
SaveFPXRSound.vbs This script will analyze the selected pictures. If an embedded sound (FPXR extension in JPEG file) is found, the sound is save in a file have the same name as the picture (with a .wav extension). Usefull for digital cameras that allow sound recording.

Web

AutoTOC.vbs This script builds a HTML table of content for the current album and place it at the beginning of the album.
HTML_Frames_page_generator with pic sound.vbs A HTML genrator that builds a two-frame page with picture info ind drop-down lists under each thumbnail (version with sound). Thanks to Phil Morneault.
HTML_Frames_page_generator.vbs A HTML genrator that builds a two-frame page with picture info ind drop-down lists under each thumbnail. Thanks to Phil Morneault.
HTML-Slideshow.vbs This script generates a slideshow from the current album. Input fields are time delay in seconds and picture size in Pix. (900 is fine for 1024x768). Thanks to Karel Sebela
MailPic.vbs Send the selected picture by email. This script uses the mapi setting to send the selected pictures of the current album by email.
SimpleHTMLGenerator.vbs This is a simple HTML generator written in VBScript. It uses the current album or a user specified album to build a basic HTML file. As the HTML file can be very memory consumming, the number of pictures processed is limited to 20. The pictures are displayed half size.