>>[AppleScript]>>property fdb : test.db>>on run> tell application FileMaker Pro> try> activate> open {fdb}> end try> try> do script Import> end try> end tell>end run> >[/AppleScript]>>
>It Should be Done!>>>>***********************************>>I get the following error:>>***********************************>This is a Test of an Embedded Applescript.>>Expected ÒonÓ but found ÒendÓ.>>It Should be Done!>***********************************>>Which I don't understand. Any help would be appreciated.>I am running WCAT 3.04, OS9.1 on a G3 Mac.>>Thanks,>David Doda-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com =>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list >>[AppleScript]>>property fdb : test.db>>on run> tell application FileMaker Pro> try> activate> open {fdb}> end try> try> do script Import> end try> end tell>end run> >[/AppleScript]>> >It Should be Done!>>>>***********************************>>I get the following error:>>***********************************>This is a Test of an Embedded Applescript.>>Expected ÒonÓ but found ÒendÓ.>>It Should be Done!>***********************************>>Which I don't understand. Any help would be appreciated.>I am running WCAT 3.04, OS9.1 on a G3 Mac.>>Thanks,>David Doda-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com =>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list DOWNLOAD WEBDNA NOW! The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Try removing the on run and end run lines.- BrianAt 9:54 AM 10/12/2001, David Doda wrote:>Hi,>>I am trying to add a record to an FMPro db using the Applescript given below>embedded in a .tpl page:>>***********************************>property fdb : test.db>on run> tell application FileMaker Pro> try> activate> open {fdb}> end try> try> do script Import> end try> end tell>end run>***********************************>>As an Stand alone Applescript it works fine, goes to test.db and does the>'Import' FMPro script which reads the new test.txt file and adds the record.>>My problem is that when I copy this Applescript into a .tpl page inside a>[Applescript]....[\Applescript] as such:>>>***********************************>>>>>
Top Articles:
Talk List
Related Readings:
problem with NT beta (1997)
How nuch ram??? (1997)
Can't find templaes (1997)
Search results templates (1996)
Web Logs (1998)
ShowNext truncating passed variable?? (1997)
Add all products to cart at once? (1997)
Math Function (1997)
Results table formatting (2003)
Snake Bites (1997)
Moving Files (2000)
WebCommerce: Folder organization ? (1997)
Search Philosophy (2001)
Claris HomePage messes up the code (1997)
Highlighting words found in a keyword search (2003)
Still ignoring the 3.x bugs? (2000)
request for string functions (1998)
hideif glitch (2003)
Search multiple fields (1997)
Using Encrypt/Decrypt (2003)