applescript transactions
applescript transactions
- Subject: applescript transactions
- From: Jesse Grosjean <email@hidden>
- Date: Thu, 15 Jan 2004 10:00:03 -0500
The default cocoa applescript behavior seems to be that each new apple
event is processed in the applications run loop along with other things
like redrawing the screen. For my application this has the result of
slowing things down since if you add 1000 objects the interface will be
updated 1000 times.
I'm wondering if there is a way to force all incoming applescript
events to be processed at once, without giving the run loop a chance to
update the interface?
I see some mention of applescript transactions... is this what they do?
My application doesn't support database like transactions (where data
is only committed to disk at end of transaction), but I would like the
ability to freeze out the applications run loop until a sequence of
apple events have been processed.
What is the recommended way to do this sort of thing from a cocoa based
application?
Thanks,
Jesse
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.