• 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: localized string and 10.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: localized string and 10.6


  • Subject: Re: localized string and 10.6
  • From: Shane Stanley <email@hidden>
  • Date: Sat, 22 Jan 2011 08:53:24 +1100
  • Thread-topic: localized string and 10.6

On 22/1/11 4:29 AM, "KOENIG Yvan" <email@hidden> wrote:

> May we be sure that this kind of error has no odd effects ?

The documentation suggests not, apart from the extra delay.
>
> I'm puzzled because, if most of the time I may move calls to OSAXen out of
> tell blocks,
> I really don't know how to do that for localized string whose target's
> resource is defined by the tell block.

Try this:

get localized string "Are you sure you want to close this window?" in bundle
application "Safari"

It works in AppleScript Editor and in a saved app, although curiously it
doesn't work in Script Debugger.


--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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

  • Follow-Ups:
    • Re: localized string and 10.6
      • From: Axel Luttgens <email@hidden>
References: 
 >localized string and 10.6 (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Finder event question - scripting bridge, appscript [Solved]
  • Next by Date: Problem updating disk icon position.
  • Previous by thread: localized string and 10.6
  • Next by thread: Re: localized string and 10.6
  • Index(es):
    • Date
    • Thread