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 JavaScriptform checker on the fields in question. That will prevent the form from evenbeing 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:
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 JavaScriptform checker on the fields in question. That will prevent the form from evenbeing 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:
Need help with emailer- 2 issues (1997)
indexing dates (1998)
FAX orders (1996)
Variable Sizes, Widths and Colors (2000)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
Did you hear about this? (1997)
WebCat b13 CGI -shownext- (1997)
method of payment (1997)
[FoundItems] solved - thanks (1997)
Multiple instances of database (2003)
Multiple catalog databases and showcart (1997)
Summing fields (1997)
Re:no template caching (1997)
IPADDRESS mystery (2003)
Setting up shop (1997)
Number searching/formats (1998)
Re2: Calculating multiple shipping... (1997)
emailer (1997)
f2 download problems (1997)
[isfile] ? (1997)