I store photo files in folders on my computer before i add them into iphoto.
I want to add the contents of a selected to folder to iphoto and name the new album as the folder name
I have created an automator flow where I do the following
(Select folder initially to work)
- Get selected finder items -- This is grabbing the folder
- Set Value of Variable -- this is grabbing the full path name and setting a variable with the name
- Get Folder contents -- this gets all the photos contained.
- Import Files into iphoto -- This adds the photos into iphoto and creates a new album using the variable name.
The issue i have is the variable name sets the full path of the files, /Users/Johnny/Photos/Dayout
Is the a script that can take just the name of the initial folder "Dayout"
Thanks in advance to anyone who can help
Cheers
John