• 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: GUI Scripting in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI Scripting in Mail


  • Subject: Re: GUI Scripting in Mail
  • From: Luther Fuller <email@hidden>
  • Date: Wed, 16 Jan 2013 13:05:15 -0600

Thanks for the comments. I changed the offending line ...

set value of text field 1 of window 1 to "tempFile.pdf" --***** ERROR HERE IN MT LION ********

to

set value of text field 1 of sheet 1 of window 1 to "tempFile.pdf" 

I no longer get the error, but I don't think the text is being written to the text field 1.

I'm now having problems getting the file to save correctly to:
home/Library/Caches/TemporaryItems/

and there seems to be a problem with Mail responding to
writing this path to NSNavLastRootDirectory in Mail's preference file.


 _______________________________________________
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

References: 
 >GUI Scripting in Mail (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: GUI Scripting in Mail
  • Next by Date: Re: GUI Scripting in Mail
  • Previous by thread: Re: GUI Scripting in Mail
  • Next by thread: Re: GUI Scripting in Mail
  • Index(es):
    • Date
    • Thread