• 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: The variable speak hour is not defined
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The variable speak hour is not defined


  • Subject: Re: The variable speak hour is not defined
  • From: Christopher Stone <email@hidden>
  • Date: Mon, 25 Mar 2013 21:18:22 -0500

On Mar 25, 2013, at 23:53, Porter Slice <email@hidden> wrote:
This doesn't make any sense, this script has worked in the past, but I get the following error "The variable speak hour is not defined" any ideas?
______________________________________________________________________

Hey Porter,

How would you debug that?

Your initial default value for time is: '6 30'.

If speakhour is undefined then you must have a problem with your long if-then-else block.

Looking a little further you find that thehour is "6 ".

Pretty simple to debug.  Easier still with Script Debugger.

--
Best Regards,
Chris

 _______________________________________________
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: 
 >The variable speak hour is not defined (From: Porter Slice <email@hidden>)

  • Prev by Date: Re: The variable speak hour is not defined
  • Next by Date: Re: Ping Script
  • Previous by thread: Re: The variable speak hour is not defined
  • Next by thread: Won't run
  • Index(es):
    • Date
    • Thread