Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript's 'with transaction' statement broken? (Or just misunderstood?)



Bill Cheeseman wrote:

Wondering if anyone has any recent experience of using AppleScript's
'with transaction' blocks?

Years ago, I wrote a detailed explanation of how 'with transaction' worked
in the few Classic Mac OS applications that implemented it -- and how it was
supposed to work. [...] You can still find my article on the AppleScript
Sourcebook at its new venue at MacScripter.net.

Useful. BTW, you wrote there:

"FileMaker Pro 8 comes with documentation (apparently unchanged since FileMaker Pro 7) stating that it supports transactions. However, I can't make transactions work in FileMaker Pro 8. It executes commands that are placed in a With Transaction block, but I believe it is simply ignoring the With Transaction statement as other applications do."

I've replied to some other posts on AS-implementors:

http://lists.apple.com/archives/Applescript-implementors/2006/Nov/ msg00022.html

Basically it looks like AS's 'with transaction' block is either broken or deliberately disconnected in Tiger (and probably earlier OS X versions as well), which may or may not be the reason FMP 8 doesn't appear to support transactions. Did you try it with explicit «event miscbegi» and «event miscendt» events to see if it listened to those?

Many thanks,

has
--
http://freespace.virgin.net/hamish.sanderson/
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.