Hello, I have the following task of creating a page with 1000 thumbnails linked to larger files. I want to automate the task and the automation part is an unfamiliar territory for me.
I have two txt files containing 1000 thumbnail and original image filenames that look like this: original.txt: Photo_19001_2010-11-18_13.45.59_orig.jpg Photo_19002_2010-11-18_21.07.04_orig.jpg Photo_19003_2010-11-19_10.48.19_orig.jpg Photo_19004_2010-11-19_14.05.01_orig.jpg Photo_19005_2010-11-19_14.05.05_orig.jpg ... preview.txt: Photo_19001_2010-11-18_13.45.59_prev.jpg Photo_19002_2010-11-18_21.07.04_prev.jpg Photo_19003_2010-11-19_10.48.19_prev.jpg Photo_19004_2010-11-19_14.05.01_prev.jpg Photo_19005_2010-11-19_14.05.05_prev.jpg ... I have a HTML template: <a href="urlOriginal"><img src="urlPreview"></a> I want to replace the urlOriginal and urlPreview with the proper info from the txt files. Repeat 999 times. I understand this is not possible with BBEdit. AppleScript to the rescue? Where do I start? -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
