• 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
creating events with locations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

creating events with locations


  • Subject: creating events with locations
  • From: george tempel <email@hidden>
  • Date: Mon, 15 Mar 2004 10:56:30 -0500

Hi all---new to the list, but I've searched the archives and couldn't find an answer to this question:

I'm having trouble with an AppleScript that creates a new event that has a location. I suppose the problem is that "location" is also an AppleScript keyword.

Here's a fragment of my script:

set theItem to (make new event at end of events of theCalendar with properties {summary:theSummary, description:callerPhone, end date:callStart, start date:callStart, url:theURL, location:callTag})

theCalendar, theSummary, callerPhone, callStart, theURL, and callTag are all properly assigned values from earlier in the script, and a 'display dialog' inserted before the above statement shows those values to be good. I've even tried removing the location and doing

set location of theItem to callTag

and

tell theItem
set location to callTag
end tell

and neither work.

Any help would be appreciated.

george (ty) tempel
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: creating events with locations
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: "Save changes to script" when it terminates?
  • Next by Date: Re: applescript-users digest, Vol 3 #2526 - 19 msgs
  • Previous by thread: Re: How to detect a file has resource fork, or not?
  • Next by thread: Re: creating events with locations
  • Index(es):
    • Date
    • Thread