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:

OT: Poll Please (2002) Bad Cookie / Internet Option / Internet Explorer (2004) webdelivery.html and webna (1997) Summarizing results. Is there a shortcut? (1999) About (2001) NewCart+Search with one click ? (1997) Not really WebCat (1997) SKU (1997) Queertrons? (1997) Sorting by date (1997) [WebDNA] USPS shipping calculator (2012) two unique banners on one page (1997) corrupted jpgs (2003) [Fwd: F3 database munching] (1997) webdelivery.html and webna (1997) Big Databases (1997) Can this be done? (2003) Emailer setup (1997) WebCatalog Mac 2.1b3 (1997) Request for page test (2003)