Re: Your help is always great. can i ask you some more?
Re: Your help is always great. can i ask you some more?
- Subject: Re: Your help is always great. can i ask you some more?
- From: Michelle Steiner <email@hidden>
- Date: Fri, 30 Nov 2007 10:59:42 -0700
On Nov 30, 2007, at 6:43 AM, Bob Cuilla wrote:
Perhaps I asked the wrong question. Here's the deal.
For some reason, I dont always have a "message viewer 1". So I
create a new one. But that new viewer isn't always "message viewer
1" I thought I could reference the viewer by its ID but apparently
not.
So when I create a new message viewer, what is its number? When I
say "tell message viewer X" how do I know what to replace x with?
I'm confused; there is a message viewer 1 on my system. For example,
this works:
tell application "Mail"
set x to make new message viewer
set y to message viewer 1
sort column of y
end tell
But you don't need to replace x with anything; you can can refer to
the window by its ID, which is x. The following script yields the
same results as the one above:
tell application "Mail"
set x to make new message viewer
sort column of x
end tell
That said, "properties of x" (or "properties of y" in the first
example) does not work; apparently "properties" is broken for message
viewer. I just submitted a bug report.
-- Michelle
--
Your right to free speech does not incur an obligation for anyone to
listen.
_______________________________________________
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