FasdUAS 1.101.10 k l =7 Standalone iPhoto to iWeb with Comments Exporter v 0.1  n Standalone iPhoto to iWeb with Comments Exporter v 0.1 l  (" Copyright (c) 2008 Alan Galloway. D Copyright (c) 2008 Alan Galloway.  l l  LICENSE LICENSE l l ys Standalone iPhoto to iWeb Image and Comment Exporter v 0.1 by Alan Galloway is licensed under a Creative Commons  Standalone iPhoto to iWeb Image and Comment Exporter v 0.1 by Alan Galloway is licensed under a Creative Commons  l   Attribution-Share Alike 3.0 United States License, the terms of which are at http://creativecommons.org/licenses/by-sa/3.0/us/.  !! Attribution-Share Alike 3.0 United States License, the terms of which are at http://creativecommons.org/licenses/by-sa/3.0/us/. "# "l$% $| A further condition of permission to copy (including copying into RAM) or distribute is acceptance of the disclaimer below.%&& A further condition of permission to copy (including copying into RAM) or distribute is acceptance of the disclaimer below.#'( 'l()* )l+, + DISCLAIMER,-- DISCLAIMER*./ .l/01 0l23 2nh While this script worked at least once to export comments instead of image names from iPhoto 6 to iWeb,344 While this script worked at least once to export comments instead of image names from iPhoto 6 to iWeb,156 5l78 7TN on Mac OX X 10.5.2, it may not work for your system--and may even cause harm.899 on Mac OX X 10.5.2, it may not work for your system--and may even cause harm.6:; :l;<= <l>? >ZT Using this program may void the warranties of other products. Use at your own risk!?@@ Using this program may void the warranties of other products. Use at your own risk!=AB AlBCD ClEF EJD This program is distributed AS IS, WITH ALL FAULTS and NO WARRANTY.FGG This program is distributed AS IS, WITH ALL FAULTS and NO WARRANTY.DHI HlIJK JlLM LSM This program is distributed without the implied warranty of MERCHANTABILITY.MNN This program is distributed without the implied warranty of MERCHANTABILITY.KOP OlPQR QlST Sd^ This program is distributed without the implied warranty of FITNESS FOR A PARTICULAR PURPOSE.TUU This program is distributed without the implied warranty of FITNESS FOR A PARTICULAR PURPOSE.RVW VlWXY XlZ[ Zoi Do not use this software to fly an aircraft, run a nuclear facility, or operate an interstellar vehicle![\\ Do not use this software to fly an aircraft, run a nuclear facility, or operate an interstellar vehicle!Y]^ ]l^_` _lab asm ** You accept these terms by using this program. If you don't accept these terms, don't use this program! **bcc ** You accept these terms by using this program. If you don't accept these terms, don't use this program! **`de dlefg flhi h DOCUMENTATIONijj DOCUMENTATIONgkl kllmn mlop oRL Run this script from the Script Editor while iPhoto is running. The scriptpqq Run this script from the Script Editor while iPhoto is running. The scriptnrs rltu tNH was written in an attempt to have iPhoto export the Comments field fromuvv was written in an attempt to have iPhoto export the Comments field fromswx wlyz yOI iPhoto, rather than the image name (usually something like IMG_1234.jpg)z{{ iPhoto, rather than the image name (usually something like IMG_1234.jpg)x|} |l~ ~  } l e_ The script exports the selected images (from whatever albums), or if there are none, then the  The script exports the selected images (from whatever albums), or if there are none, then the  l TN selected album (if multiple albums are selected, each album is done seriatum) selected album (if multiple albums are selected, each album is done seriatum) l l  RELEASE NOTES RELEASE NOTES l l ^X The identifier of the album isn't passed to iWeb, as trying to pass it caused problems. The identifier of the album isn't passed to iWeb, as trying to pass it caused problems. l B< This means that iWeb may treat a re-export as a new album. x This means that iWeb may treat a re-export as a new album.  l l l Q k l O k l s 1  selc o 0selected_items l % -- display dialog "Testing..."> -- display dialog "Testing..." Z F > o 0selected_items J = n 1  pcls n 4  cobj m o 0selected_items m  ipmr k" l"" *$ display dialog "Selected images..."H display dialog "Selected images..." r"& J"$ o 0image_attributes Y'g k5b l55 ! display dialog photo_index6 display dialog photo_index Z5b =5= n5; 19;  pcls n59 469  cobj o78 0 photo_index o56 0selected_items m;<  ipmr k@^ r@H n@F 1DF  pcom n@D 4AD  cobj oBC 0 photo_index o@A 0selected_items o 0 comment_text rIQ nIO 1MO  ipth nIM 4JM  cobj oKL 0 photo_index oIJ 0selected_items o 0 image_path lRR  display dialog image_path4 display dialog image_path rR^ bR\ oRS 0image_attributes JS[ KSY  0path  oTU 0 image_path  0desc  oVW 0 comment_text o 0image_attributes 0 photo_index m*+ I+0~ } ~.corecnte********  o+,| |0selected_items}   rhu nhq 1mq{ { pnam nhm 1imz z calb mhiiPhoalisL Macintosh HDH+Q  iPhoto.appTp24 Applications58Q $Macintosh HD:Applications:iPhoto.app iPhoto.app Macintosh HDApplications/iPhoto.app/ oy y0 album_name rv Ivxw x.corecnte******** nv{ 1w{v v calb mvwiPhoalisL Macintosh HDH+Q  iPhoto.appTp24 Applications58Q $Macintosh HD:Applications:iPhoto.app iPhoto.app Macintosh HDApplications/iPhoto.app/w ou u0 album_count lt !t   display dialog album_name!""4 display dialog album_name#$ #ls%&s %! display dialog album_count&''6 display dialog album_count$() (lr*+r **$ display dialog "Talking to iWeb..."+,,H display dialog "Talking to iWeb...")-q -O./ .k0012 1Ipon p.miscactvnullnullon23m 3O45 4Ilk6 l.iWbcaPA:nullobj k6j78 j aPA2 7oi i0 album_name8h9g h aPA1 9of f0image_attributesg 54e: e docu :mddm /m;;iwebalisD Macintosh HDH+Q iWeb.appT ApplicationsCQ "Macintosh HD:Applications:iWeb.appiWeb.app Macintosh HDApplications/iWeb.app/q<= <F>? >>@A @oc c0selected_items AJbb ?=BC BnDE D1a a pcls EnFG F4`H ` cobj Hm__ Go^ ^0selected_items Cm] ] ipal=I\ IkJJKL Kl[MN[ M,& display dialog "Selected album(s)..."NOOL display dialog "Selected album(s)..."LPZ PYQYRSX QkTTUV UlWWXW W! display dialog album_indexXYY6 display dialog album_indexVZV ZZ[\UT [=]^ ]n_` _1S S pcls `nab a4Rc R cobj coQ Q0 album_index boP P0selected_items ^mO O ipal \k~ddef elNghN g# display dialog "Album found"hii: display dialog "Album found"fjk jrlm lnno n4Mp M cobj poL L0 album_index ooK K0selected_items moJ J 0 the_albumkqr qrst snuv u1I I pnam voH H 0 the_album toG G0 album_namerwx wryz yIF{E F.corecnte******** {n|} |2D D ipmr }oC C 0 the_albumE zoB B0 album_countx~ ~lAA   display dialog album_name4 display dialog album_name l@@ ! display dialog album_count6 display dialog album_count? Z~> = o= =0 album_count m<< I ; ;.sysodlogaskrTEXT m  0No images in this album.: : btns J9 mOK987 8 dflt m667> k~ l55 +% display dialog "Generating album..."J display dialog "Generating album..." r# J!44 o3 30image_attributes Y$W21 k0R r0: n08 1680 0 pcom n06 436/ / ipmr o45. .0 photo_index o03- - 0 the_album o, ,0 comment_text r;E n;C 1AC+ + ipth n;A 4>A* * ipmr o?@) )0 photo_index o;>( ( 0 the_album o' '0 image_path& rFR bFP oFG% %0image_attributes JGO$ KGM# #0path oHI" "0 image_path! !0desc oJK 0 comment_text $ o 0image_attributes& 20 photo_index m'( o(+ 0 album_count1 lXX *$ display dialog "Talking to iWeb..."H display dialog "Talking to iWeb..." OX~ k^} I^c .miscactvnullnull Od} Im| .iWbcaPA:nullobj   aPA2 oqt 0 album_name  aPA1 owx 0image_attributes 4dj  docu mhi   mX[iwebalisD Macintosh HDH+Q iWeb.appT ApplicationsCQ "Macintosh HD:Applications:iWeb.appiWeb.app Macintosh HDApplications/iWeb.app/?UTV Y0 album_index Rm   SI  .corecnte******** o 0selected_items XZ\ k l +% display dialog "Nothing selected..."J display dialog "Nothing selected..." I .sysodlogaskrTEXT mrPlease select albums or images in iPhoto, then try again.  btns J mOK  dflt m R .ascrerr ******** m miPhoalisL Macintosh HDH+Q  iPhoto.appTp24 Applications58Q $Macintosh HD:Applications:iPhoto.app iPhoto.app Macintosh HDApplications/iPhoto.app/ l l l R .ascrerr ******** l l .aevtoappnull**** .aevtoappnull**** k 0 photo_index 0 album_index&;  selc 0selected_items  cobj  pcls  ipmr  bool 0image_attributes .corecnte********  pcom 0 comment_text  ipth 0 image_path 0path 0desc  calb  pnam 0 album_name 0 album_count .miscactvnullnull  docu  aPA2  aPA1 .iWbcaPA:nullobj  ipal 0 the_album  btns  dflt .sysodlogaskrTEXT*,EQOjv k/,&jvEO?kj kh/,#/,EO/,EOkv%EYh[OYOa,a,E`Oa,j E`Oa!*j O*ak/*a_a UUYjv k/,a&kj kh/,a/E`O_a,E`O_-j E`O_jaaakvak YajvEO2k_kh_/,EO_/,EOkv%E[OYOa!*j O*ak/*a_a UUYh[OYIYa!aa"kvak O)ja#UOPWX$%hascr ޭ