Re: More Applescript

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10999
interpreted = N
texte = >It seems like every Applescript statement that is false returns error >rather than the return value: > >AppleScript] >if 2‚2 >return Not possible >end if >[/AppleScript] > >This returns just the word error, instead of Not possible.I may have been experiencing a similar problem when I was playing around with the AppleScript links in the Admin files that were supposed to start and quit and restart the Emailer app ... so I just gave up on using those links.AppleScript could be very powerful in a WebCat template, but only if it works properly. I'm not ready to post links on my site that use AppleScript because I don't know enough about AppleScript to figure out the reason why the syntax in a script written in Script Editor works fine, but the same script fails when I put it into a WebCat template.I get the feeling that AppleScript support in WebCat2 is not quite ready for prime time ...Sincerely, Ken Grome ..... ken@iav.com Associated Messages, from the most recent to the oldest:

    
  1. Re: More Applescript (Kenneth Grome 1997)
  2. More Applescript (Christer Olsson 1997)
>It seems like every Applescript statement that is false returns error >rather than the return value: > >AppleScript] >if 2‚2 >return Not possible >end if >[/AppleScript] > >This returns just the word error, instead of Not possible.I may have been experiencing a similar problem when I was playing around with the AppleScript links in the Admin files that were supposed to start and quit and restart the Emailer app ... so I just gave up on using those links.AppleScript could be very powerful in a WebCat template, but only if it works properly. I'm not ready to post links on my site that use AppleScript because I don't know enough about AppleScript to figure out the reason why the syntax in a script written in Script Editor works fine, but the same script fails when I put it into a WebCat template.I get the feeling that AppleScript support in WebCat2 is not quite ready for prime time ...Sincerely, Ken Grome ..... ken@iav.com Kenneth Grome

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:

bug in [SendMail] (1997) RE: IIS4b2 and WebCatalog b19 (1997) Math with Time (1997) Parsing args without ? (2003) ACGI processing for .html (1997) Passing WebCat data to SSL server (1997) How true is this? (1999) Re:quit command on NT (1997) Email troubles (2005) WebDNA on Windows questions (2007) [ShowIf] and empty fields (1997) Creating a webcounter - for another site (2000) WC2b15 File Corruption (1997) RE: E-mailer error codes (1997) [WebDNA] tcp connect is slow...any ways to speed it up? (2008) Conditional searching & displaying (1997) Replace Statement (1997) [WebDNA] Java File Upload Applet (2008) If Empty ? (1997) Bug Report, maybe (1997)