Re: localized string and 10.6
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