Re: AppleScript in WebDNA
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49646
interpreted = N
texte = [applescript] has no knowledge of what local is - you need to fully qualify the file's location.- brianOn Friday, April 18, 2003, at 10:46 AM, Charles Kline wrote:> Mac OS 9.x> WebDNA 4.5>> When 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 : test>> tell 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>-- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com ---------------------------------------------------------------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:
[applescript] has no knowledge of what local is - you need to fully qualify the file's location.- brianOn Friday, April 18, 2003, at 10:46 AM, Charles Kline wrote:> Mac OS 9.x> WebDNA 4.5>> When 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 : test>> tell 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>-- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com ---------------------------------------------------------------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/
Brian Fries
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:
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
Pre-flight public flag (1997)
presetting variables ... (2000)
[WebDNA] a major shift in strategy? (2008)
Sorting Date (2004)
Country & Ship-to address & other fields ? (1997)
Permissions / [Protect] WAS: RE: Using Protection =) (2003)
More news on 5.0 (2003)
Danger of [newcart] (1999)
Search with Special Chars (1997)
Searching Multiple DBs (1997)
WebCat2b15MacPlugin - showing [math] (1997)
webCatalog and Stocks (1998)
Return records from another (1997)
RE: [WebDNA] Intermittent Encryption Issue (2009)
Just a thought (1998)
Re:Problem (1997)
Search/sort in URL Was: GuestBook example (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
CC Payment Processors (2007)