• 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
How to mail an script created event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to mail an script created event


  • Subject: How to mail an script created event
  • From: Ivan Chen <email@hidden>
  • Date: Sat, 19 Feb 2011 22:32:35 +0800

Hi,
Guys

I am Ivan, new to AppleScript, got two questions :)

Question 1:
I created a script to add a event in the iCal like

set theEvent to make new event with ...

And I want to mail this created event to some other persons as attachment in Mail.
I notice there is a "Mail Event" menu item in iCal actually do this, is there a way I could accomplish this task in AppleScript?

I notice the message content of Mail has an attachment element but need a file name as parameter, how could I convert the created event to a file ?!


Question 2:
Is that possible to add a button or some other GUI stuff to iCal, with AppleScript?



Any help appreciated.



Thanks
Ivan Chen
 _______________________________________________
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

  • Prev by Date: getting address book data into FM pro
  • Next by Date: Re: Reference ?
  • Previous by thread: Re: getting address book data into FM pro
  • Next by thread: mdls & .app?
  • Index(es):
    • Date
    • Thread