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:33:19 -0800
On 3/22/02 6:18 PM, I wrote:
>
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:
>
>
>
> set pCurrentIdentityName to name of the +class CIdn;
>
>
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.
>
Very sorry. I see you've just this minute written me back to say that 'using
terms from' takes too long in execution.
You'll either have to keep on typing 'property' every time you edit and
compile a script (maybe use "Replace All" in Smile or SD?), or use the
normal application names like everyone else does, and let the user find
'application "Microsoft Entourage"' on first run IF they have changed the
name of the app, which hardly anyone does nowadays. You could build in a
more user friendly dialog for "Where is?" in the event that the app is not
found by name. I'm sure you know all that already.
It would be interesting if Chris Nebel could explain why <<property>>
compiles to <<class> and why it used to, but no longer, works if you try to
compile <<class>> fro an application property. Probably, this is another
"bug" that's been "fixed". If so, it would be nice if it could be fixed even
more so that <<property>> compiles to <<property>>. Or if it's a new bug,
perhaps it could be fixed in due course.
--
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.