Re: AppleScript Error

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39347
interpreted = N
texte = Thanks, it works fine.DavidOn 10/13/01 9:53 AM, Christer Olsson wrote:>> I did, same result. >> >> David >> >>> From: Brian Fries >>> Reply-To: (WebCatalog Talk) >>> Date: Fri, 12 Oct 2001 11:06:41 >>> To: (WebCatalog Talk) >>> Subject: Re: AppleScript Error >>> >>> Try removing the on run and end run lines. >>> >>> - Brian >>> >>> >>> At 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 >>>> *********************************** > > Don't use properties, and don't use curly braces around Apple variables. > > > tell application FileMaker Pro > set fdb to test.db > try > activate > open fdb > end try > try > do script Import > end try > end tell > -- > > ************************************************************* > Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 > Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 > Sweden http://www.ljusaideer.se > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: AppleScript error (Dave Hurley 2003)
  2. Re: AppleScript error (Dave Hurley 2003)
  3. Re: AppleScript error (Tim Robinson 2003)
  4. Fwd: AppleScript error (Dave Hurley 2003)
  5. Re: AppleScript Error (David Doda 2001)
  6. Re: AppleScript Error (Christer Olsson 2001)
  7. Re: AppleScript Error (Brian Fries 2001)
  8. Re: AppleScript Error (David Doda 2001)
  9. Re: AppleScript Error (Brian Fries 2001)
  10. AppleScript Error (David Doda 2001)
  11. Re: Applescript error (Bob Mosebar 1998)
  12. Re: Applescript error (bob 1998)
  13. Re: Applescript error (PCS Technical Support 1998)
  14. Re: Applescript error (Bob Mosebar 1998)
  15. Re: Applescript error (Bob Mosebar 1998)
  16. Re: Applescript error (Rob Marquardt 1998)
  17. Re: Applescript error (PCS Technical Support 1998)
  18. Applescript error (Bob Mosebar 1998)
Thanks, it works fine.DavidOn 10/13/01 9:53 AM, Christer Olsson wrote:>> I did, same result. >> >> David >> >>> From: Brian Fries >>> Reply-To: (WebCatalog Talk) >>> Date: Fri, 12 Oct 2001 11:06:41 >>> To: (WebCatalog Talk) >>> Subject: Re: AppleScript Error >>> >>> Try removing the on run and end run lines. >>> >>> - Brian >>> >>> >>> At 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 >>>> *********************************** > > Don't use properties, and don't use curly braces around Apple variables. > > > tell application FileMaker Pro > set fdb to test.db > try > activate > open fdb > end try > try > do script Import > end try > end tell > -- > > ************************************************************* > Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 > Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 > Sweden http://www.ljusaideer.se > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ David Doda

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

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...

Related Readings:

Help with nested search (1998) Logging purchases (1997) Template Encryption (1998) PIXO support (1997) View order not right (1997) Looking up two prices in database? (1997) Nested tags count question (1997) still having shipCost.db Problem (1997) html email again... (2001) [WebDNA] bulk e-mail (2011) Shipping calculations (1997) japanese characters (1997) Re2: AAgghh!! Help, please. SSL strikes again. (1997) OT: Poll Please (2002) Change to 5.0 per website licensing (2003) Upgrading old WebCat Database Files (1997) Trigger alternatives please ... (2004) Field Totals (2004) Searching multiple Databases (1997) RE: ShowNext Command (1997)