Re: Problems with [Applescript]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11090
interpreted = N
texte = >[AppleScript]if (current date - date 1997-04-24 19:06:34)>3600 then >return [INCLUDE redanrostat2.form][/AppleScript]There is an AppleScript syntax error here. This needs to be:[AppleScript]if (current date - date 1997-04-24 19:06:34)>3600 then return [INCLUDE redanrostat2.form] end if [/AppleScript]Also, if there are any quotes inside redanrostat2.form, they can mess up AppleScriptGrant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #453 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Problems with [Applescript] (Kenneth Grome 1997)
  2. Re: Problems with [Applescript] (John Hill 1997)
  3. Re: Problems with [Applescript] (Christer Olsson 1997)
  4. Re: Problems with [Applescript] (Grant Hulbert 1997)
  5. Problems with [Applescript] (Christer Olsson 1997)
>[AppleScript]if (current date - date 1997-04-24 19:06:34)>3600 then >return [INCLUDE redanrostat2.form][/AppleScript]There is an AppleScript syntax error here. This needs to be:[AppleScript]if (current date - date 1997-04-24 19:06:34)>3600 then return [INCLUDE redanrostat2.form] end if [/AppleScript]Also, if there are any quotes inside redanrostat2.form, they can mess up AppleScriptGrant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #453 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Replace with Producteditor.tpl (2000) searchable list archive (1997) Createfolder / writefile problem (2004) [SearchString] problem with [search] context (1997) Dubble Sku's in a Database (1999) Not really WebCat (1997) Separate SSL Server (1997) Re1000001: Setting up shop (1997) GuestBook example (1997) Stats (2004) WebCat for mass emailings (1997) More on [purchase] (1998) Append..... doesn't (2000) webcatalog [date] bug (1999) Nested tags count question (1997) Need some feedback, please. (2003) [WebDNA] WebDNA Email Auth Functioning? (2014) Contexts and Ampersands (1997) Configuring E-mail (1997) Re:no [search] with NT (1997)