Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Automatically upload published-to-folder iWeb sites' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Automatically upload published-to-folder iWeb sites
Authored by: DJMac317 on Aug 21, '06 09:10:05AM

This hint works pretty well, until you have multiple iWeb sites in the same file. For instance, I have one that is for my software, one that is for my family pics and one for my podcasts. After this script adds the one site to the folder, the upload begins and doesn't wait for the others to finish being published.

What I did is take the deletion of items from the Finder part of the script and added an applescript action to the end of the workflow in Automator that then deletes the files after the upload has completed.

The other part of not waiting for all the sites to be added to the folder before the upload, I solved that by just upping the pause workflow action to 400 seconds, giving iWeb enough time to publish all the sites.

Also instead of making the script shown in this hint the folder action, I was able to save the workflow as a folder action and connect it directly to the folder within Automator.

Great hint, saving a lot of time, thanks.



[ Reply to This | # ]