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:

[purchase] (1999) [SearchString] problem with [search] context (1997) Pricing (1998) memory conflict with 3.0.8 (2001) Retrieve deleted files (2001) Windows 2000 Server & Webcatalog 3.x (2000) Error Log.db --however (1997) canEmail? (1998) RE: Clearing orders and database help! (1997) [isfile] ? (1997) WebMerchant/MacAuthorize (1998) [WebDNA] XML Help (2009) Encyption mail was Suggestions for Topics ... (1998) YA 4.5.1 problem (2004) Re:Running 2 two WebCatalog.acgi's (1996) WebCat2 - Getting to the browser's username/password data (1997) WebCat Error Log problem (2.0.1, acgi, Mac) (1997) PSC recommends what date format yr 2000??? (1997) Location of Browser Info.txt file (1997) WebCat2 - Getting to the browser's username/password data (1997)