Page Number: Page 1 of 1
Actual Results
- geowar
- Forum: Macintosh Forum
- Topic: AppleScript which loads image in iPhoto from folder
- Subject: AppleScript which loads image in iPhoto from folder
- Replies: 1
- Views: 1913
Posted: November 20th, 2008, 9:25 am
Instead of hardcoding a fixed delay time that could be too short or too long use a repeat while (importing) loop:
repeat while (importing)
delay 0.5 -- wait 1/2 second and try again
end repeat
This will loop until iPhoto is done importing and then continue.
repeat while (importing)
delay 0.5 -- wait 1/2 second and try again
end repeat
This will loop until iPhoto is done importing and then continue.

