• 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
current date --> error number -10004
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

current date --> error number -10004


  • Subject: current date --> error number -10004
  • From: email@hidden
  • Date: Mon, 01 Aug 2011 14:49:57 -0600

Is there a way around this -10004 error? or is it okay to just leave this as is? Looks like it gives the error and then performs the request anyway. Or am I missing something? Running 10.7:

From Applescript Editor:
try
tell application "iCal"
activate
view calendar at the current date
switch view to day view
end tell
end try

Event Log History:

tell application "iCal"
activate
current date
--> error number -10004
end tell
tell current application
current date
--> date "Monday, August 1, 2011 11:02:31 AM"
end tell
tell application "iCal"
view calendar at date "Monday, August 1, 2011 11:02:31 AM"
switch view to day view
end tell

Todd
 _______________________________________________
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: current date --> error number -10004
      • From: Michelle Steiner <email@hidden>
    • Re: current date --> error number -10004
      • From: KOENIG Yvan <email@hidden>
    • Re: current date --> error number -10004
      • From: KOENIG Yvan <email@hidden>
  • Prev by Date: Re: open alias discrepancy in OS X Lion?
  • Next by Date: Re: current date --> error number -10004
  • Previous by thread: Re: open alias discrepancy in OS X Lion?
  • Next by thread: Re: current date --> error number -10004
  • Index(es):
    • Date
    • Thread