Re: Workaround for tab into body of new message in Mail (tiger)
Re: Workaround for tab into body of new message in Mail (tiger)
- Subject: Re: Workaround for tab into body of new message in Mail (tiger)
- From: kai <email@hidden>
- Date: Thu, 23 Mar 2006 11:56:34 +0000
On 23 Mar 2006, at 09:48, Tor Langballe wrote:
Looks like ANY new email window I create in Mail using AppleScript
doesn't allow me to tab down into the main body from the Subject
field (or shift-tab up from the main body either).
I've reported this to apple, and they already know about it (Bug
ID# 4175432).
I think it's gotten worse as well with subsequent Tiger releases,
used to only be if I added an attachment.
Does anybody know of a workaround for this?
Try something like this, Tor:
----------------
tell application "Mail"
activate
make new outgoing message with properties {visible:true}
end tell
tell application "System Events" to set value of attribute ¬
"AXFocused" of text area 1 of scroll area -1 of ¬
window 1 of process "Mail" to true
----------------
To select the subject field, perhaps something similar:
----------------
tell application "System Events" to set value of attribute ¬
"AXFocused" of text field 1 of window 1 of process "Mail" to true
----------------
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden