Re: AppleScript: Tell application:app location?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17063
interpreted = N
texte = Nathan Hyde wrote:> I would like to run a few fields of a form through a verification > application on our server via applescript. As is stands, I have been unable > to get WebCatalog to recognize where the application is on the drive... Is > there a way to let WC know where the app is? It does not matter if the app > is open or closed or if I open the app in the script or not... The page > contains the following script: > > [applescript] > tell application ScriptableValidator > set theResult to validate [formfield] > return theResult > end tell > [/applescript] > > TIA! > > Nathan Hyde > Internet Services > Casady & Greene > email: nh_is@casadyg.com, nhyde@mail3.casadyg.com > web page: http://www.casadyg.com > MacBundle.com: http://www.macbundle.com > Coming April 16, 1998: > WinBundle.com: http://www.winbundle.comNathan, AppleScript is pretty slow to execute. Why not just run a JavaScript form checker on the fields in question. That will prevent the form from even being submitted until the data in certain fields is acceptable to you.-- Gil Poulsen, Webmaster************************************************************** * AltiM@c * Phone: (732) 469-2567 * * 429 St. Giles Court * FAX: (732) 469-5823 * * Somerset, NJ * e-mail: help@altimac.com * * 08873 * WWW: http://www.altimac.com * ************************************************************** Associated Messages, from the most recent to the oldest:

    
  1. Re: AppleScript: Tell application:app location? (Rob Marquardt 1998)
  2. Re: AppleScript: Tell application:app location? (Eddie Schrieffer 1998)
  3. Re: AppleScript: Tell application:app location? (PCS Technical Support 1998)
  4. AppleScript: Tell application:app location? (Nathan Hyde 1998)
  5. Re: AppleScript: Tell application:app location? (Gil Poulsen 1998)
Nathan Hyde wrote:> I would like to run a few fields of a form through a verification > application on our server via applescript. As is stands, I have been unable > to get WebCatalog to recognize where the application is on the drive... Is > there a way to let WC know where the app is? It does not matter if the app > is open or closed or if I open the app in the script or not... The page > contains the following script: > > [applescript] > tell application ScriptableValidator > set theResult to validate [formfield] > return theResult > end tell > [/applescript] > > TIA! > > Nathan Hyde > Internet Services > Casady & Greene > email: nh_is@casadyg.com, nhyde@mail3.casadyg.com > web page: http://www.casadyg.com > MacBundle.com: http://www.macbundle.com > Coming April 16, 1998: > WinBundle.com: http://www.winbundle.comNathan, AppleScript is pretty slow to execute. Why not just run a JavaScript form checker on the fields in question. That will prevent the form from even being submitted until the data in certain fields is acceptable to you.-- Gil Poulsen, Webmaster************************************************************** * AltiM@c * Phone: (732) 469-2567 * * 429 St. Giles Court * FAX: (732) 469-5823 * * Somerset, NJ * e-mail: help@altimac.com * * 08873 * WWW: http://www.altimac.com * ************************************************************** Gil Poulsen

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:

redirect from the errorsMessages.db entry (1997) WC2f3 (1997) web merchant (2000) WebCat & WebTen (1997) Unauthorized User trouble (1998) New Zealand [OT - was Car Database] (2002) show all problem (1997) SSL Certificates (2004) Searching multiple fields (1997) sort problems....bug or brain fart? (1997) Where is f2? (1997) WebCat and PDF (2000) Webcatalog quitting (1997) autosensing lanague selection (1997) Changing price for a SLU based on options (size, etc.) (1997) Using [showif] within [lineitems] [code fragment] (2000) Problem with pull down menu (1998) Sendmail doesn't (was Queertrons?) (1997) New WebCatalog site! (1997) I don't think my install worked (2003)