• 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: Applescript, Calendar and Filemaker Pro
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript, Calendar and Filemaker Pro


  • Subject: Re: Applescript, Calendar and Filemaker Pro
  • From: Peter Baxter <email@hidden>
  • Date: Tue, 23 Jul 2013 22:21:51 +1000

I'v had a fiddle with Filemaker Pro and applescript.  I often write applescripts to run from within Filemaker, but you seem to want to call Filemaker database from Applescript, so I had a go at it.

The following script imports a Calendar into Filemaker.  It gets all the available dates. You may be able to use this to achieve what you want by replacing the repeat with a choice.

tell application "Calendar"
	set calendarEvent to the summary of every event in calendar "Ararat Fire Brigade"
	set calendarDate to the start date of every event in calendar "Ararat Fire Brigade"

	repeat with i from 1 to the number of items in calendarDate
		set thisDate to item i of calendarDate as text
		set thisItem to item i of calendarEvent as text
		tell application "FileMaker Pro Advanced"
			set new_record to create new record
			go to new_record
			tell new_record
				set field "Date" to thisDate
				set field "Event" to thisItem
			end tell
		end tell
	end repeat
end tell


On 22/07/2013, at 9:00 PM, Robert Cuilla <email@hidden> wrote:

> Good morning to everyone
>
> I am working on a Filemaker Pro 12 solution and need to access my Calendar.  I need to specify a date and a particular calendar and return the events there in.  Having a bit of trouble with this and wonder in anyone can point me in the right direction
>
> Thank You in advance
>
> Bob
>
> Orlando, FL
>
>
>
> _______________________________________________
> 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


 _______________________________________________
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: 
 >Applescript, Calendar and Filemaker Pro (From: Robert Cuilla <email@hidden>)

  • Prev by Date: Re: Applescript, Calendar and Filemaker Pro
  • Next by Date: Smile opens at least 11 other applications
  • Previous by thread: Re: Applescript, Calendar and Filemaker Pro
  • Next by thread: Re(2): Applescript, Calendar and Filemaker Pro
  • Index(es):
    • Date
    • Thread