• 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: Excel2004, System Events & NSReceiverEvaluationScriptError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Excel2004, System Events & NSReceiverEvaluationScriptError


  • Subject: Re: Excel2004, System Events & NSReceiverEvaluationScriptError
  • From: Bill Cheeseman <email@hidden>
  • Date: Thu, 16 Dec 2004 17:46:26 -0500

on 2004-12-16 5:19 PM, Paul Berkowitz at email@hidden wrote:

> When I clicked "Run" in either AppleScript or Debugger mode, it errored on
> the same line as you did. That indicated to me that the previous line had
> probably not finished. SD is just too fast - or Excel is too slow when SD is
> in the front. The Print dialog is really a system dialog that Excel has to
> fetch. So I just added a 'delay 1' in two spots, before and after the PDF
> button, and everything works.

I had given up increasing the delay after I got to 5 seconds and it still
didn't work. So, on the basis of your experience, I just ran it with a
10-second delay, and it worked.

This old 500 MHz Titanium PowerBook G4 has gotta go. The screen is already
hanging from a single hinge, and I can see part of the case beginning to
split. I sure hope the PowerBook G5's come out soon....

All this shows that the use of the 'delay' technique can be problematic for
scripts that are distributed for use on a variety of machines. You really
have to test on the slowest machine.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes


 _______________________________________________
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: 
 >Re: Excel2004, System Events & NSReceiverEvaluationScriptError (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Excel2004, System Events & NSReceiverEvaluationScriptError
  • Next by Date: Re: Excel2004, System Events & NSReceiverEvaluationScriptError
  • Previous by thread: Re: Excel2004, System Events & NSReceiverEvaluationScriptError
  • Next by thread: Re: Excel2004, System Events & NSReceiverEvaluationScriptError
  • Index(es):
    • Date
    • Thread