Re: Entourage "current identity" raw code not working
Re: Entourage "current identity" raw code not working
- Subject: Re: Entourage "current identity" raw code not working
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 22 Mar 2002 18:18:02 -0800
On 3/22/02 6:02 PM, "JollyRoger" <email@hidden> wrote:
>
Can someone familiar with Entourage tell me what I need to do to get this
>
working:
>
>
-- begin script
>
set pCallerName to "Microsoft Entourage"
>
>
-- this fails when run with error "Can't get name of current identity."
>
tell application pCallerName
>
set pCurrentIdentityName to name of the +class CIdn;
>
end tell
>
>
-- this works as expected
>
tell application "Microsoft Entourage"
>
set pCurrentIdentityName to name of the current identity
>
end tell
>
-- end script
Yes. We've been through this once already.
set pCurrentIdentityName to name of the <<property Cidn>>
That works, like the last such application property did. Then you write back
to say it forces you to retype "property" every time you edit the script,
since compiling it changes "property" to "class" and class doesn't work.
Then you ask if there's any way around that, and I send you a method with
'using terms from' which I say I think will work OK even in OS's preceding
its introduction, and I suggest that you try it. Then you don't try it, and
write back to me that you're too busy to try it.
Is it really more effort to try it than to keep writing the list with the
same question every week?
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.