Find Jobs
Hire Freelancers

AppleScript

$25-30 USD

Dibatalkan
Dibuat hampir 16 tahun yang lalu

$25-30 USD

Dibayar ketika dikirim
I require someone to write a basic apple script which will read in text from the body of an email and create an iCal appointment. The format of the email is shown below...? The information to be extracted and created in iCal is customer name, appointment time and address. I have provided some sample code which can create an appointment, I just need someone to expand on the script and use the mail fields | Hi Joe Blogs We are pleased to let you know we have booked a job for you. Job ID 26214 When: Monday 04/08/2008 11:30am Name: Ms Janet Doyle Address: Unit 8 / 2 Sample Street Sydney, NSW 2000 Phone: 02 9319 3000 Work:? Mobile: 0409 034 000 Access Notes:? Job Description: Running very slow. Laptop. WinXP.? Notes: | ## Deliverables SAMPLE CODE: (This code is a start, but you will need to have it work for any new email that comes through, hence, there will be some form of string manipulation involved, possibly using Regex to extract the appointment time, description and location) **using terms from** application "Mail" **on** perform mail action with messages theMessages for rule theRule **tell** application "Mail" **repeat** **with** everyMessage **in** theMessages **set** MessageSubject **to** subject **of** everyMessage **as** string **set** MessageBody **to** content **of** everyMessage **as** string **set** returnChar **to** (ASCII character 13) **try** **set** theRuleName **to** name **of** theRule **set** thisAppend **to** (returnChar & MessageBody & returnChar) **tell** application "iCal" **tell** calendar "Work" **set** theDate **to** date ("Tuesday 06/05/2008 1:30pm") theDate make new event at **end** with properties {description:"Event Description", summary:"Event Name", location:"Event Location", start date:theDate, end date:theDate + 60 * minutes} **end** **tell** **end** **tell** **end** **try** **end** **repeat** **end** **tell** **end** perform mail action with messages **end** **using terms from**
ID Proyek: 3108241

Tentang proyek

1 proposal
Proyek remot
Aktif 16 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
1 freelancer menawar dengan rata-rata $26 USD untuk pekerjaan ini
Avatar Pengguna
See private message.
$25,50 USD dalam 14 hari
5,0 (3 ulasan)
1,9
1,9

Tentang klien

Bendera AUSTRALIA
Australia
5,0
38
Anggota sejak Jan 20, 2006

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.