How to Change iPhoto Last Import Event Name via AppleScript
How to Change iPhoto Last Import Event Name via AppleScript
- Subject: How to Change iPhoto Last Import Event Name via AppleScript
- From: Dalmazio Brisinda <email@hidden>
- Date: Tue, 3 Mar 2009 00:34:38 -0700
Hello all,
I've been trying to figure out a way to change the event name of the last imported event using GUI scripting in iPhoto, but can't quite seem to get it. The only way that this seems possible manually is by clicking on the event name in the main event group view, typing the new name and pressing return. Or alternatively, clicking on the event name, then clicking on the event name text field in the "information" view in the lower left and performing the edit. But I can't get the editable text field to activate through AppleScript so that I can set the value of the text field in either case.
Any ideas?
I'm using iPhoto 7.1.5.
Any help most appreciated.
Best, Dalmazio
tell application "iPhoto" activate select album "Last Import" end tell
tell application "System Events" tell process "iPhoto"
-- insert brilliant AppleScript here...
end tell end tell
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden