• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Workaround for tab into body of new message in Mail (tiger)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Workaround for tab into body of new message in Mail (tiger) (From: Tor Langballe <email@hidden>)

  • Prev by Date: Workaround for tab into body of new message in Mail (tiger)
  • Next by Date: Replace slash by underscroe in file name
  • Previous by thread: Workaround for tab into body of new message in Mail (tiger)
  • Next by thread: Folder Sizes
  • Index(es):
    • Date
    • Thread