Re: iWeb scripting, add a photo album via AS
Re: iWeb scripting, add a photo album via AS
- Subject: Re: iWeb scripting, add a photo album via AS
- From: Mister euGene <email@hidden>
- Date: Mon, 3 Apr 2006 17:54:18 +0200
Hi list,
I found the answer, here the code for those who wondering :
tell application "iWeb"
first document add photo album with images { { |path|:"path/to/an/
image", desc:"a description" } [, { etc } ] }
end tell
Hope this help,
Nicolas
Le 7 mars 06 à 10:20, Mister euGene a écrit :
Hi everybody,
I'm trying to add a photo album in iWeb via a simple script, below :
set a_list to {"HD:Users:..:path_to_img.jpg", "Desc_Img"}
tell application "iWeb"
add photo album with images a_list
end tell
Not working at all. iWeb launch but nothing append (and AS give me
no advice nor error messages). What's wrong ?
I'm using iWeb 1.0.1, Mac OS X 10.4.5, and AppleScript 1.10.3
Thanks for your Help in advance,
Nicolas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden