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

Re: Mail GUI script error


  • Subject: Re: Mail GUI script error
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 19 Feb 2013 16:17:34 -0600

Thanks all for your responses.

On Feb 19, 2013, at 3:11 PM, Brian Christmas wrote:

> Just a wild guess, but you might need a delay before the line, or something like this...

Actually, there is a "delay 1" just before the offending line.

On Feb 19, 2013, at 3:18 PM, Bill Cheeseman wrote:

> This suggests that the script is not giving System Events time enough to launch. System Events is not necessarily running all the time, especially at system startup.

I will look into this, but I'm doubtful that this is the problem. Those three little dots ". . ." in my script is where I removed a bunch of code to avoid confusion, so I think System Events is already launched.

Some added notes …

I can avoid the error by manually opening "sheet 1" of "sheet 1" of "window 1", then canceling everything. This seems to indicate that it's a problem with Mail.

I just tried to reproduce the problem by restarting Mt Lion, but the script worked correctly.
In order to reproduce the error I had to restart into Lion, then restart into Mt Lion.
This seems to indicate that the problem is caused by an evil troll hiding behind a rock.

I hate problems like this. @#$!



 _______________________________________________
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


  • Follow-Ups:
    • Re: Mail GUI script error
      • From: Brian Christmas <email@hidden>
References: 
 >Mail GUI script error (From: Luther Fuller <email@hidden>)
 >Re: Mail GUI script error (From: Brian Christmas <email@hidden>)

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