NUTD 4.5.1 scripting crashing it like mad
NUTD 4.5.1 scripting crashing it like mad
- Subject: NUTD 4.5.1 scripting crashing it like mad
- From: "John C. Welch" <email@hidden>
- Date: Tue, 30 Dec 2003 11:46:18 -0600
Is there some problem with scripting Now Up-To-Date OS X when it's connected
to a server?
It seems that if you run a script on it too fast...(like wihtout 3-5 second
delays between EVERY step, it dies.
This kills it deader than dead:
tell application "Now Up-to-Date - OS X"
set theCategoryList to {}
set theEventList to {}
set theDocument to document 1
tell theDocument
set theCategories to count every category
repeat with x from 1 to theCategories
set theCategory to category x of theDocument
set the end of theCategoryList to the name of theCategory
tell theCategory
set theEvents to count every event
repeat with y from 1 to theEvents
set theEvent to event y of theCategory
if remindbefore of theEvent is greater than 0 then
set theEventName to name of theEvent
set the end of theEventList to
{eventName:theEventName}
end if
end repeat
end tell
end repeat
end tell
end tell
It9s not like NUTD9s dictionary is a thing of freakin9 joy to work with as
is, but this is insane.
john
--
"With over 50 cars already on sale here, the Japanese auto industry isn't
likely to carve out a big slice of the U.S. market for itself."
commentary in Business Week magazine, 1968
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.