• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript's 'with transaction' statement broken? (Or just misunderstood?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: AppleScript's 'with transaction' statement broken? (Or just misunderstood?)
  • From: Bill Cheeseman <email@hidden>
  • Date: Mon, 20 Nov 2006 18:13:19 -0500
  • Thread-topic: AppleScript's 'with transaction' statement broken? (Or just misunderstood?)

on 2006-11-20 8:48 AM, has at email@hidden 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. All from a scripter's point of view. The few Classic apps
that implemented it all did so differently, most of them incorrectly to one
degree or another. You can still find my article on the AppleScript
Sourcebook at its new venue at MacScripter.net.

I haven't tried to implement it in Mac OS X, and I don't know of any
applications that do. In Cocoa, see the docs for +[NSAppleEventDescriptor
appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:]
and -[NSAppleEventDescriptor
initWithEventClass:eventID:targetDescriptor:returnID:transactionID:].

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes


 _______________________________________________
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/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >AppleScript's 'with transaction' statement broken? (Or just misunderstood?) (From: has <email@hidden>)

  • Prev by Date: Re: osacompile & Run-Only Scripts
  • Next by Date: need help in Apple script
  • Previous by thread: Re: AppleScript's 'with transaction' statement broken? (Or just misunderstood?)
  • Next by thread: Re: AppleScript's 'with transaction' statement broken? (Or just misunderstood?)
  • Index(es):
    • Date
    • Thread