ICal UID error in applescript

When I try and use the unique uid I get a 4 error when
So this applescript errors:
tell application "iCal"
tell calendar "work"
tell event "5C00DC4E-61A2-4333-9933-CCF56D26B232"
get summary
end tell
end tell
end tell
Of course that UID exist in my iCal
I made a work around, but its slow when there is a lost of events
set UID_List to {} as list
set Search_UID to "5C00DC4E-61A2-4333-9933-CCF56D26B232" -- or any UID you like
tell application "iCal"
tell calendar "work" -- or any calendar of your choice
tell every event
set UID_List to uid
end tell
set event_ID to 0
repeat with i from 1 to (count of UID_List)
if item i of UID_List is Search_UID then
set event_ID to i
end if
end repeat
end tell
end tell
if event_ID is not 0 then
tell application "iCal"
tell calendar "work"
tell event event_ID
get summary
end tell
end tell
end tell
end if
Can apple sort this bug? Or is there another way of IDing and calling an event?

Hi Bevan,
The following works for me. You also don't need to know which event the calendar is in.
set myUID to "5C00DC4E-61A2-4333-9933-CCF56D26B232"
tell application "iCal"
-- The next line returns a list with one item per calendar. Only one item should contain an event reference. The rest should contain 'missing value'.
set myCalsEventList to events of calendars whose uid is myUID
-- Loop through the items in the list
repeat with myEvent in items of myCalsEventList
-- Check this item does not contain 'missing value'. To avoid errors being returned about the event reference, make the item into a list. Perhaps there is a better way to check for 'missing value'?
if (myEvent as list) does not contain missing value then
-- Get info about the event.
get summary of myEvent
end if
end repeat
end tell
Best wishes
John M

Similar Messages

  • ICal failing to run applescripts: The 'Open' button does not change to 'Run', and the script file is opened but not executed on alert.

    iCal failing to run applescripts: The 'Open' button does not change to 'Run', and the script file is opened but not executed.

    Calendar (not called iCal anymore) does not include that capability any longer, apparently.  What you have to do now is go to Automator and create a Calendar Alert action.  You can add a Run AppleScript object to the action and paste in your script there, then when you save it, it will become available as a choice in the alert menu in Calendar.

  • UID error message

    I have the UID error message and cannot get past it.  HELP

        soupy13 help is here! Fill us in on the details and we'll get right to work! Did you recently complete any software updates or changes? Is the error message causing trouble with using certain applications on the device? Is the message always on the device or does it appear intermittently?
    AshleyS_VZW
    Follow us on Twitter @VZWSupport

  • ICal Caldav errors after upgrade to Lion

    Dear all,
    I had a perfect working setup (MacBook Air) with Snow Leopard, iCal accessing my agenda via caldav to zimbra mailserver.
    Upgraded to Lion (10.7.2) and since then iCal does not sync correctly anymore:
    1. events created on my mba do not end up on the server
    2. event invites by other people or events created via the zimbra webinterfaces do not always end up in iCal
    I've deleted and (re)created the account multiple times, erased caching and other directories in between, no change.
    Configured the same account on a colleague's mac book pro also with Lion upgrade, everything working fine....
    Error I get from iCal (Version 5.0.1 (1547.4))
    The request (CalDAVAccountRefreshQueueableOperation) for account "webmail.mydomain.com" failed.
    From syslog:
    Nov 17 12:07:36 My-Name-MacBook-Air iCal[461]: Account refresh failed with error: Error Domain=CoreDAVErrorDomain Code=3 "The operation couldn't be completed. (CoreDAVErrorDomain error 3.)" UserInfo=0x7f99edd356c0 {AccountName=webmail.mydomain.com, CalDAVErrFromRefresh=YES}
    From console log:13/12/11 21:05:27,212 iCal: CoreData: error: (1) I/O error for database at /Users/stevenkrekels/Library/Calendars/Calendar Cache.  SQLite error code:1, 'Expression tree is too large (maximum depth 1000)'
    13/12/11 21:05:27,238 iCal: *** -[CalManagedObjectContext executeFetchRequest:error:]: error: Error Domain=NSCocoaErrorDomain Code=256 "The file “Calendar Cache” couldn’t be opened." UserInfo=0x7fe1b6080f60 {NSFilePath=/Users/stevenkrekels/Library/Calendars/Calendar Cache, NSSQLiteErrorDomain=1, NSUnderlyingException=I/O error for database at /Users/stevenkrekels/Library/Calendars/Calendar Cache.  SQLite error code:1, 'Expression tree is too large (maximum depth 1000)'} {
        NSFilePath = "/Users/stevenkrekels/Library/Calendars/Calendar Cache";
        NSSQLiteErrorDomain = 1;
        NSUnderlyingException = "I/O error for database at /Users/stevenkrekels/Library/Calendars/Calendar Cache.  SQLite error code:1, 'Expression tree is too large (maximum depth 1000)'";

    I forgot to mention that any help would be much appreciated

  • Create new event in iCal that triggers an applescript

    Dear applescripters
    I am trying to write a script that creates an event in applescript that launches an applescript.
    This is the code:
    tell application "iCal"
    tell calendar "Verstuur"
    set theCurrentDate to current date
    set time of theCurrentDate to (time of theCurrentDate) + 60
    set verstuur to make new event at end with properties {start date:theCurrentDate, end date:theCurrentDate + 1 * minutes}
    tell verstuur
    make new open file alarm at end with properties {trigger interval:0, filepath:POSIX path of "file://localhost/Users/jschaafsma/Desktop/Verstuurfilmpje"}
    end tell
    end tell
    end tell
    when iCal tries to trigger the script iCal generates an error that the file Verstuurfilmpje is not found.
    Any ideas what i am doing wrong?
    Thanks
    Jschaafsma

    Well, for one, your file path isn't valid.
    … filepath:POSIX path of "file://localhost/Users/jschaafsma/Desktop/Verstuurfilmpje"}
    First off, POSIX path of takes a Mac-style (i.e. colon-delimited) path or alias and converts it to an POSIX path, so either you need to drop the 'POSIX path of' code, or pass in a Mac-style path.
    Secondly, even if you were to use 'POSIX path of', your path specification is invalid anyway - you haven't passed in a POSIX path you've passed in a file URL, which is different. A POSIX path of that file would look like:
    filepath: "/Users/jschaafsma/Desktop/Verstuurfilmpje"
    So rewrite this line and you should be set.

  • ICal Update error

    When iCal on my laptop tries to update an entry I get:
    ERROR WHILE UPDATING
    Request encountered an unexpected error (domain AYFTPErrorDomain / code 550).
    The .ics is on a private server. 
    Google search shows quite a few problems like this when users are trying to publish but I can publish and subscribe just fine.  In fact, I've unpublished and republished several times. I can also subscribe from my laptop and another one.   I've set the folder on the server to 777 - and also the .ics - which exists and has all entries.  It's only when I add or change an entry and the update tries - then it fails.
    This appears to be a fairly recent problem.  Anyone have any ideas about what's causing this??

    I'm having the same identical error message after installing Lion last night. I have had to resort to the app BusyCal until I can get this sorted out. I might add BusyCal has a much cleaner facade i.e. no fake leather surround ... yuck! It loaded all my current appointments from the iCal and syncs perfectly via the Cloud with my iPod and iPad 1.
    If I secure any insight into this misque I'll post it promptly.

  • Error in applescript to fix dates with GMT shift

    Hello,
    I am attempting to fix a problem with importing OFX files from the bank's website. Therein, dates are stored this way:
    <DTPOSTED>20110106000000[+9.0:JST]
    The time zone indicator causes Numbers to incorrectly compensate dates, resulting in one day earlier than the correct date to be displayed. Removing [+9.0:JST] fixes the problem, but that is tedious to fix many entries. Thus I thought to write an applescript to fix this issue.
    This is the script I wrote:
    tell application "Numbers"
    tell document 1
    set currentSheet to 0
    repeat with i from 1 to the count of sheets
    tell sheet i
    set x to the count of (tables whose selection range is not missing value)
    end tell
    if x is not 0 then
    set the currentSheet to i
    exit repeat
    end if
    end repeat
    tell sheet currentSheet
    set the currentTable to the first table whose selection range is not missing value
    tell the currentTable
    repeat with theCell in every cell in selection range
    set theValue to value of theCell
    set theNewValue to ((theValue) + (time to GMT)) as date
    set value of cell theCell to ((date string of theNewValue) as date)
    end repeat
    end tell
    end tell
    end tell
    end tell
    However this error occurs:
    error "Can’t make "2011.1.09" into type date." number -1700 from "2011.1.09" to date
    It appears there are problems with how Numbers 2009 deals with date formats, but I have not been able to understand how to make this work.
    The English discussions forum seems more active than the Japanese, so I am asking here hoping someone can help. Thank you in advance.

    Hello Hiroto
    (1) Best wishes fro the new year my friend
    (2)
    To get your script running I had to edit it this way :
    For Numbers '09, which has specific defect in getting date value from cell by AppleScript.
    tell application "Numbers"
    tell document 1
    -- omitted (same as the original)
    tell sheet 1 --currentSheet
    -- omitted (same as the original)
    tell table 1 --currentTable
    repeat with theCell in (get every cell of selection range)
    set theCell to theCell's contents
    set value of theCell to (((value of theCell) + (my get_diff2UTC())) as string) -- [2]
    end repeat
    end tell
    end tell
    end tell
    end tell
    [1] Due to Numbers' AppleScript's defect, when getting date value of cell by AppleScript,
    the retrieved date is in local time calculated as follows :
    <retieved date value> = <stored date value> + <time to UTC>
    [2] When setting date value of cell by AppleScript, the stored value is the same as the source value.
    on get_diff2UTC()
    return -(time to GMT)
    end get_diff2UTC
    The handler is due to a Snow Leopard new feature
    When we trigger a command belonging to an other sdef than the one of the application owning the block we get an error.
    Some times this one doesn't hurt, sometimes it does.
    Here, calling time to GMT in the tell Numbers block generate an error which doesn't hurt but I dislike this kind of thing and decided to trigger it from the outside of the block.
    Here is the log report when triggering time to GMT from the tell Numbers block :
    tell application "Numbers"
    get every cell of selection range of table 1 of sheet 1 of document 1
    --> {cell "B2" of table "Tableau 1" of sheet "Feuille 1" of document "Sans titre"}
    time to GMT
    --> error number -10004
    end tell
    tell application "AppleScript Editor"
    time to GMT
    --> 3600
    end tell
    tell application "Numbers"
    get value of cell "B2" of table "Tableau 1" of sheet "Feuille 1" of document "Sans titre"
    --> date "vendredi 14 janvier 2011 14:52:10"
    set value of cell "B2" of table "Tableau 1" of sheet "Feuille 1" of document "Sans titre" to "vendredi 14 janvier 2011 13:52:10"
    end tell
    Now, here is the log report when I use the handler :
    tell application "Numbers"
    get every cell of selection range of table 1 of sheet 1 of document 1
    --> {cell "B2" of table "Tableau 1" of sheet "Feuille 1" of document "Sans titre"}
    end tell
    tell application "AppleScript Editor"
    time to GMT
    --> 3600
    end tell
    tell application "Numbers"
    get value of cell "B2" of table "Tableau 1" of sheet "Feuille 1" of document "Sans titre"
    --> date "vendredi 14 janvier 2011 14:52:10"
    set value of cell "B2" of table "Tableau 1" of sheet "Feuille 1" of document "Sans titre" to "vendredi 14 janvier 2011 13:52:10"
    end tell
    Yvan KOENIG (VALLAURIS, France) vendredi 14 janvier 2011 15:56:45

  • ICal yields "Error during PUT for mailto:valid@email: iMIP request failed"

    Hello,
    I'm trying to bring up an iCal server (using Mac OS X Lion 10.7.3 Server on a Mac Mini). The basic configuration runs fine. But when I tried to enable eMail invitations, I got stuck with those messages in the error log:
    [twistedcaldav.scheduling.imip#error] Could not do server-to-imip request : <twistedcaldav.scheduling.imip.ScheduleViaIMip object at 0x10075e5d0> User timeout caused connection failure.
    [twistedcaldav.scheduling.scheduler.ScheduleResponseQueue#error] Error during PUT for mailto:valid@email: iMIP request failed
    My configuration settings:
    calendar:Scheduling:CalDAV:EmailDomain = ""
    calendar:Scheduling:CalDAV:HTTPDomain = ""
    calendar:Scheduling:CalDAV:AddressPatterns = _empty_array
    calendar:Scheduling:iMIP:Sending:Server = "valid.mail.server"
    calendar:Scheduling:iMIP:Sending:UseSSL = no
    calendar:Scheduling:iMIP:Sending:Username = "valid@email"
    calendar:Scheduling:iMIP:Sending:Address = "valid@email"
    calendar:Scheduling:iMIP:Sending:Password = "safe_password"
    calendar:Scheduling:iMIP:Sending:Port = 25
    calendar:Scheduling:iMIP:Enabled = yes
    calendar:Scheduling:iMIP:MailGatewayPort = 62310
    calendar:Scheduling:iMIP:Receiving:Server = "valid.mail.server"
    calendar:Scheduling:iMIP:Receiving:UseSSL = yes
    calendar:Scheduling:iMIP:Receiving:Username = "valid_email"
    calendar:Scheduling:iMIP:Receiving:PollingSeconds = 30
    calendar:Scheduling:iMIP:Receiving:Type = "imap"
    calendar:Scheduling:iMIP:Receiving:Password = "safe_password"
    calendar:Scheduling:iMIP:Receiving:Port = 993
    calendar:Scheduling:iMIP:AddressPatterns:_array_index:0 = "mailto:.*"
    calendar:Scheduling:iMIP:MailGatewayServer = "valid.mail.server"
    calendar:Scheduling:iSchedule:Enabled = no
    calendar:Scheduling:iSchedule:Servers = "servertoserver.xml"
    calendar:Scheduling:iSchedule:AddressPatterns = _empty_array
    It does not even try to connect to the given smtp server. How do I proceed?

    I dug into the sources, and am now smarter
    the above settings are invalid, because of the gateway (this has to be iCal itself):
    calendar:Scheduling:iMIP:MailGatewayServer = "localhost"
    Now the IMAP server is being asked, but now I have the next problem:
    [mailgateway] 2012-03-27 11:14:37+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadFactory#debug] Scheduling next IMAP4 poll
    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP servergreeting
    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0001 AUTHENTICATE PLAIN
    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: +
    [mailgateway] 2012-03-27 11:15:07+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 1GNhbEwhZHNwZXJ0LmRlAFlpZXE5YW==
    [mailgateway] 2012-03-27 11:15:09+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0001 NO [AUTHENTICATIONFAILED] Authentication failed.
    [mailgateway] 2012-03-27 11:15:09+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] IMAP authenticate failed for valid@email, trying login
    [mailgateway] 2012-03-27 11:15:09+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] SENDING: 0002 LOGIN "valid@email" "valid_password"
    [mailgateway] 2012-03-27 11:15:16+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#debug] RECEIVED: 0002 NO [AUTHENTICATIONFAILED] Authentication failed.
    [mailgateway] 2012-03-27 11:15:16+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadProtocol#error] IMAP login failed for valid@email
    [mailgateway] 2012-03-27 11:15:16+0200 [IMAP4DownloadProtocol,client] [twistedcaldav.mail.IMAP4DownloadFactory#debug] IMAP factory connection lost

  • Ical server error message when accessed remotely

    hello we have a 10.6.7 ical server running mostly smoothly when accessed from the LAN.
    however, when accessed remotely it generates the following error message:
    The server responded with “HTTP/1.1 501 Not Implemented” to operation CalDAVAccountRefreshQueueableOperation.
    the message provides the following 2 responses / buttons: stay offline or go online - trouble is once you click go online, it comes up with the same message again.
    unfortunately, research the error message has so far not produced any promising results, thus any ideas would be much appreciated.

    There are many reports here on this site about this, crossing different carriers and regions of the world. Consequently, the only deduction that can be made is that this is a system-level issue rather than a single user issue. Hence, what each affected user must do is contact their mobile service provider for formal support and possible escalation up to BlackBerry.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • ICal getting error and won't start up

    Process: iCal [138]
    Path: /Applications/iCal.app/Contents/MacOS/iCal
    Identifier: com.apple.iCal
    Version: ??? (???)
    Build Info: iCal-12360000~1
    Code Type: PPC (Native)
    Parent Process: launchd [62]
    Date/Time: 2008-02-27 18:26:50.658 -0600
    OS Version: Mac OS X 10.5.2 (9C31)
    Report Version: 6
    Exception Type: EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000001, 0x000000008fe0105c
    Crashed Thread: 0
    Dyld Error Message:
    Symbol not found: _CalDAVErrVirtualHostKey
    Referenced from: /Applications/iCal.app/Contents/MacOS/iCal
    Expected in: /System/Library/Frameworks/CalendarStore.framework/Versions/A/CalendarStore
    My system config:
    Model: PowerBook5,2, BootROM 4.7.1f1, 1 processor, PowerPC G4 (1.1), 1.25 GHz, 2 GB
    Graphics: kHW_ATIrv350M10Item, ATY,RV350M10, spdisplaysagpdevice, 64 MB
    Memory Module: SODIMM0/J25LOWER, 1 GB, DDR SDRAM, PC2700U-25330
    Memory Module: SODIMM1/J25UPPER, 1 GB, DDR SDRAM, PC2700U-25330
    AirPort: spairportwireless_card_type_airportextreme (0x14E4, 0x4E), Broadcom BCM43xx 1.0 (4.170.25.8)
    Modem: LastDash, UCJ, V.92, 4.0, APPLE VERSION 2.6.7
    Bluetooth: Version 2.0.0f20, 2 service, 1 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    PCI Card: TXN,PCIXXXX-00, cardbus, PC Card
    Parallel ATA Device: MATSHITADVD-R UJ-816
    Parallel ATA Device: Hitachi IC25N080ATMR04-0, 74.53 GB
    USB Device: Bluetooth USB Host Controller, Apple, Inc., full_speed, 500 mA

    Lisa,
    Have you ever moved iCal from the default Application folder?
    How did you install Leopard?
    The version of iCal which you are trying to open may be an older version.
    What information is displayed in iCal Info? Just click on the iCal icon in your Applications folder and select (⌘I), let us know what is listed in General Information.
    Your Dock may be pointing to the wrong version of iCal. If so, drag the iCal icon off of the Dock and replace it from the current iCal in your Applications folder.
    ;~)

  • Cannot drag reminders onto iCal calendar error

    Hi there,
    I am on the latest updates for my Mac and iPhone 4s.
    iCloud syncs perfectly. No complaints there.
    My iCal (iCloud) calendar set up on my Mac are as follows:
    Work
    Personal
    Admin
    Meetings
    To make it easier for me to associate the same as my calendar names on my iCal on my Mac.
    I have created Reminder Calendar using the same iCal Calendar for both name and color.
    However on my iCal on the Mac, when I drag any Reminder to the iCal calendar, there is an error prompt pop up.
    The Server responded with an error
    "https://p03-caldav.icloud.com:443/192932320/principal/ is not a location that supports this request."
    [Go Offline]  [Revert to Server]
    Check the screenshot  image I have uploaded.
    Why is this happening? Is there a way I can set up so it won't have this problem?
    I even tried to change the names on my Reminder list in case it clashes with my iCal Calendars...but still same error appears.

    I get a similar problem, except mine says my iCloud password is incorrect (which isn't true, as everything else still syncs nicely).
    It seems like it only happens when i drag a reminder over into the calender: it's a minor problem, but it is irritating (i use my calendar for loads of different projects that i have running simultaneously, and i like to keep track of how many hours i've spent on each project, by allocating my time to each reminder).

  • ICal Refresh Error.

    On iCal a MacBook receives this error:
    Access to "lou's diary" is not permitted
    The Server responded:
    "HTTP/1.1 403 Forbidden
    To Operation
    CalDAVAccountRefreshQueueableOperation
    This error is received when refreshes her iCal diary

    Exactly the same problem here. Running Mac OS X 10.5.8 to an iCal Server running on Mac OS X 10.5.6.
    The problem happens intermittently on several users Macs during the course of the day.

  • ICal server error "500"

    Hi, iCal was functionig great till yesterday whe an error message pop-up. It is in spanish but I hope someone can help me.

    I had this problem on OSX server 10.6.8 and a couple of users sharing their calendars thru iCal.
    After a Time machine backup restore, the owner names were altered on the /Library/CalendarServer/ and thus the user were not able to write their local machine cache content onto the server.
    The problem was probably triggered by alteration of folder (& content) permissions, so the Admin can see the file contents and identify the user's calendar data for restore.
    It appears that the folder owner has to be specifically "_calendar"; allowing Owner Group Others full Read Write rights was NOT able to circumvent this permissions issue.
    I also reset the user's passwords, turned on / off the ical server, emptied the ~/Library/Calendars/Calendar Cache, as mentioned elsewhere but that did not help.
    Your mileage may vary, and as always, make backups and take precautions before proceeding.

  • ICal /sync errors

    I have recently ( last couple days) encountered sync errors when trying to sync iCal between a lampshade G4 iMac, a flat panel G5 iMac, and my G3 600MHz iBook. All are current re operating system. Interestingly, both bookmarks and address book seem OK, just iCal - i.e. my wife will input data into our 'home' calendar on the kitchen counter, and after syncing, the changes will NOT appear in the same calendar on the other computers. I have done all the fixes described in these posts - no joy. Never had a problem before, and I am now reliant on this stuff working, so please, Apple, if you are there, something you have done ( no new installs on my end other than your Software update stuff) has messed up iCal -please fix it.

    Dear All.
    Have just updated both computers with the latest version of 'Tiger'. 10.4.3.
    "Seems" to have resolved the comms sync problems. Well - to the extent that .Mac & the computers were talking; even if it does say "You have 2525 amendments to your Calender "!! Indeed I now have duplicates in Bookmarks and on the .Mac web site but that I can live with. [ Address Bk seems OK ]. Suggest when U are given the choice of "merging" or selecting .Mac as you source, consider which is most correct.
    To convince myself that it all now works, I entered "Test from Laptop / iMac " etc in Address Bk and iCal and checked to see if it showed up on both computers and .Mac. - Which it did thank goodness. Wonder if we will ever know what that "update to isync" was ? Would be nice to kept informed, having spent hours trying to resolve it. Apple ????

  • Link from iCal toDos to Filemaker /Applescript

    Hi all,
    I managed to program my Filemaker database that I can generate vcals of specific files which iCal can subscribe to. Now I would like to incorporate a link to a script that - when I press the link in iCal - will open the matching file in my Filemaker database.
    When I add birthdays from the addressbook its similar like:
    addressbook://9F6FF48C-9016-11DB-BAE9-000393A9E04A:ABPerson
    But I think it doesn´t work as easy with Filemaker. I have to find a way to get the way to Filemaker/the database/ and then call a filmaker script to find the specific file.
    Any ideas of how to do these first steps maybe with Applescript and how the link in iCal should look like that I can click on it?
    Best regards - Christoph

    I thought about it the following way:
    I make an ID-field in Filemaker which has a number for every filemaker file in the database. This ID will be the first thing that gets transfered into the Note-field of the iCal ToDo.
    Now I need a script that copies this first word (number) - can be either 7 or 3423 - out of the note field of iCal - goes to my filemaker database and make a search for this number in the ID field.
    I have some rudimental scripting that goes to filemaker but have no idea about the searching and navigating and the copying of the number out of the note filed in iCal... any ideas?
    tell application "FileMaker Pro Advanced"
    activate
    tell database "databasename"
    tell table "layoutname"
    tell window 1
    set therequest to create new request
    set data of field "ID" of therequest to ID-number
    find
    end tell
    end tell
    end tell
    end tell
    Any help would be greatly appreciated - I think it should work this way. I can call the script out of iCal by text
    file:///Users/Christoph/Desktop/linkapp.app
    which I can send out of filemaker when I make the todo at the end of the notefield. Then I only have to select it and right-click open URL.
    Have a great 2007 - Christoph

Maybe you are looking for