December 3, 200619 yr Newbies I applied a simple Applescript routine (included in the next paragraphs) to read the time code from a opened Quicktime movie and to insert it in a database field. This routine still works fine using Filemaker 6, MacOS 10.4.8 and Quicktime 7.1.3, but when I copy the routine to use it with Filemaker 7 or 8, it does not work. Any suggestions to translate it properly?. tell application "QuickTime Player" activate global this_time set this_time to the current time of movie 1 end tell tell application "Filemaker Pro" activate set cell "G1" to this_time end tell
December 3, 200619 yr I toyed with it, and if you embed this script in a Perform Applescript statement in filemaker: tell application "QuickTime Player" launch set this_time to the current time of movie 1 end tell set cell "G1" to this_time ... it works, there are apparently a conflict in a global declaration, which isn't needed anyway. Instead of the double activate use launch... to make filemaker the frontmost app at all times. But the returned value is an integer which in my case was approximately 300 units per minute??? --sd
Create an account or sign in to comment