Re: OSX Applescripts -- Anyone? please?
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55586
interpreted = N
texte = I think you can call an applescript from the shell. That might be an easy quick fix. From the shell the script can appear to have the proper privileges.I do think ImageMagick is the better way to go. I use it to make thumbnails of uploaded photos and it works fast. In fact pages where multiple thumbnails are created on the fly load instantly on a test (no load) Linux server.BillTerry Wilson wrote:> To:
(WebDNA Talk)> Date: Sat, 10 Jan 2004 09:33:50 -0500> From: Terry Wilson > Subject: Re: OSX Applescripts -- Anyone? please?> > If anyone is following this thread, Ron and I discussed this yesterday > offline and the upshot is that OSX handles Applescript in a way that > WebDNA can't manage. I've decided to use [shell] with Imagemagick > instead, and save the [applescript] for OS9 servers.> > Terry> >> Hi Terry,>> >> We use AppleScript to add/remove users to the Rumpus FTP server >> database. On>> OS X you have have to use "osascript" to call the applescript.>> >> We built a shell script like this:>> >> #!/bin/sh>> /usr/bin/osascript /Library/WebServer/Documents/website/applescript_kick>> >> "/usr/bin/osascript" is the full path to your osascript.>> "/Library/WebServer/Documents/planet/applescript_kick" is the path to the>> apple script.>> >> The applescript for this step is quite simple:>> >> -- Start applescript -->> -------------------------------------------------------------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:
I think you can call an applescript from the shell. That might be an easy quick fix. From the shell the script can appear to have the proper privileges.I do think ImageMagick is the better way to go. I use it to make thumbnails of uploaded photos and it works fast. In fact pages where multiple thumbnails are created on the fly load instantly on a test (no load) Linux server.BillTerry Wilson wrote:> To: (WebDNA Talk)> Date: Sat, 10 Jan 2004 09:33:50 -0500> From: Terry Wilson > Subject: Re: OSX Applescripts -- Anyone? please?> > If anyone is following this thread, Ron and I discussed this yesterday > offline and the upshot is that OSX handles Applescript in a way that > WebDNA can't manage. I've decided to use [shell] with Imagemagick > instead, and save the [applescript] for OS9 servers.> > Terry> >> Hi Terry,>> >> We use AppleScript to add/remove users to the Rumpus FTP server >> database. On>> OS X you have have to use "osascript" to call the applescript.>> >> We built a shell script like this:>> >> #!/bin/sh>> /usr/bin/osascript /Library/WebServer/Documents/website/applescript_kick>> >> "/usr/bin/osascript" is the full path to your osascript.>> "/Library/WebServer/Documents/planet/applescript_kick" is the path to the>> apple script.>> >> The applescript for this step is quite simple:>> >> -- Start applescript -->> -------------------------------------------------------------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/
William DeVaul
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:
WebCat b13 CGI -shownext- (1997)
WebCat2b13 Command Reference Doc error (1997)
pop up menu's (1998)
URL for Discussion Archive (1997)
Possible Bug 4.51 (2004)
Beta version-Mac? (was Emailer update for Mac?) (1998)
Running 2 two WebCatalog.acgi's (1996)
RE: Displaying Location (1997)
Calculating multiple shipping... (1997)
Is setting a basic lineitem in the cart really magic? (2000)
WebCat2b15MacPlugin - showing [math] (1997)
[SHOWIF] (1997)
Applying discounts as more items are added... (1997)
I have observed and I am gone. (1998)
Search returns all, not 20 (1997)
[WebDNA] I got v7 running on 64-bit Ubuntu 11.04 ... (2012)
Stumpted Again (1997)
There's a bug in the math context ... (1997)
Banners (1997)
Using WebMerchant Only? (1998)