Aussie John Posted July 7, 2008 Posted July 7, 2008 I would like to create a text file from a global field. Ultimately i want to turn it into a .ics file and open it in iCal. This is an example of the field need to copy. Its important to keep the returns. BEGIN:VCALENDAR VERSION:2.0 METHOD:PUBLISH BEGIN:VEVENT DTSTART;VALUE=DATE:20080610 DTEND;VALUE=DATE:20080613 SUMMARY:Josh Allen (Annual): 3 days UID:242 END:VEVENT END:VCALENDAR thanks
Søren Dyhr Posted July 7, 2008 Posted July 7, 2008 Take a look here: http://www.fmforums.com/forum/showpost.php?post/296004/ --sd
Aussie John Posted July 8, 2008 Author Posted July 8, 2008 (edited) thats excellent - thanks Søren. Just one follow up question. Im trying to pick up the data from fields in a portal record. Is that possible via applescript. The script is activated by clicking on a button in the portal row. eg tell application "FileMaker Pro Advanced" to set filename to cellValue of cell "booked Leave::start" of current record thanks Edited July 8, 2008 by Guest
Søren Dyhr Posted July 8, 2008 Posted July 8, 2008 Why not make a GTRR before the Applescripting is done? Otherwise do you need to get the right of the inner clauses ... since the portalized is stuffed inside clauses ... like this: {"1", {"Mr."}, {"Elvin"}, {"Blues"}, {"Chicago"}} ...where the "1" is in the main record, and the fields in extra clause is each of the fields in the portal row. How should your applescript BTW know which portaline you're in? No the simplest way to obtain the correct focus, must be hybriding the scripting a bit, singling out the correct set of data with native scripting, and then fire the AS later. --sd
Recommended Posts
This topic is 5983 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now