AppleScript in WebDNA

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49643
interpreted = N
texte = Mac OS 9.x WebDNA 4.5When using [applescript] does applescript assume that the path to a file is local if you don't give it a path?ie:[applescript] property destFldr : temp property theFile : temp.jpg property theName : testtell application GraphicConverter activate open {theFile} save window 1 in (destFldr & theName & .jpg) as JPEG scale window 1 horizontal 0.1 vertical 0.1 save window 1 in (destFldr & theName & x & .jpg) as JPEG close window 1 end tell [/applescript]Gives me an error that the file can not be found. Any help would be great.Thanks Charles ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: AppleScript in WebDNA (Brian Fries 2003)
  2. AppleScript in WebDNA (Charles Kline 2003)
Mac OS 9.x WebDNA 4.5When using [applescript] does applescript assume that the path to a file is local if you don't give it a path?ie:[applescript] property destFldr : temp property theFile : temp.jpg property theName : testtell application GraphicConverter activate open {theFile} save window 1 in (destFldr & theName & .jpg) as JPEG scale window 1 horizontal 0.1 vertical 0.1 save window 1 in (destFldr & theName & x & .jpg) as JPEG close window 1 end tell [/applescript]Gives me an error that the file can not be found. Any help would be great.Thanks Charles ------------------------------------------------------------- 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://webdna.smithmicro.com/ Charles Kline

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:

New public beta available (1997) blank page from template (1997) total number of matches (1999) Google Web Accelerator (2005) emailer truncates last letter! (1997) [WebDNA] WebDNA slow processing (2011) WebCat2.0 [format thousands .0f] no go (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) [sql] problems in WebCat 4.0 (2000) Which [index]? (1997) [WebDNA] strange characters in db (2009) problems with 2 tags shakur (1997) How to Sort Summ data ? (1997) Bug or syntax error on my part? (1997) WebDNA Solutions ... sorry! (1997) talk lists down - email question (2002) WebCatalog and WebMerchant reviewed by InfoWorld (1997) ShowNext for method=POST (1997) Remove me from your list (1999)